Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HMM fails #23

Open
AI-rrr opened this issue Oct 27, 2020 · 0 comments
Open

HMM fails #23

AI-rrr opened this issue Oct 27, 2020 · 0 comments

Comments

@AI-rrr
Copy link

AI-rrr commented Oct 27, 2020

B85JZ8UX_F00000024 [1].tif_65(181, 101).txt
no-Alex configuration, with the following error:

Fitting HMM with E setting
number of components 1
weights: [1.]
means: [0.74599574]
sigs: [0.19705138]
Transition matrix:
[[1.]]
State means:
[0.74599574]
State sigmas:
[0.19704884]
Traceback (most recent call last):
File "/DeepFRET-GUI/src/main/python/main.py", line 176, in
exit_code = ctxt.run()
File "/DeepFRET-GUI/src/main/python/main.py", line 150, in run
return self.app.exec
()
File "\DeepFRET-GUI\src\main\python\widgets\trace_window.py", line 334, in fitCheckedTracesHiddenMarkovModel
self.windows["TransitionDensityWindow"].refreshPlot()
File "\DeepFRET-GUI\src\main\python\widgets\transition_density_window.py", line 343, in refreshPlot
self.setClusteredTransitions()
File "\DeepFRET-GUI\src\main\python\widgets\transition_density_window.py", line 159, in setClusteredTransitions
m.fit(half[["e_before", "e_after"]])
File "\DeepFRET-GUI\venv2\lib\site-packages\sklearn\cluster_kmeans.py", line 1033, in fit
accept_large_sparse=False)
File "\DeepFRET-GUI\venv2\lib\site-packages\sklearn\base.py", line 420, in _validate_data
X = check_array(X, **check_params)
File "\DeepFRET-GUI\venv2\lib\site-packages\sklearn\utils\validation.py", line 72, in inner_f
return f(**kwargs)
File "\DeepFRET-GUI\venv2\lib\site-packages\sklearn\utils\validation.py", line 653, in check_array
context))
ValueError: Found array with 0 sample(s) (shape=(0, 2)) while a minimum of 1 is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant