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

fail to creat a model #48

Open
Huixin-daaa opened this issue Oct 7, 2021 · 1 comment
Open

fail to creat a model #48

Huixin-daaa opened this issue Oct 7, 2021 · 1 comment

Comments

@Huixin-daaa
Copy link

When I try to create a model, I get the following:

TypeError: '>=' not supported between instances of 'list' and 'int'
Traceback:

File "f:\Env\B-SOID\lib\site-packages\streamlit\script_runner.py", line 354, in _run_script
exec(code, module.dict)
File "C:\Users\hhuan100\B-SOID\bsoid_app.py", line 62, in
learning_protocol.main()
File "C:\Users\hhuan100\B-SOID\bsoid_app\machine_learner.py", line 86, in main
self.randomforest()
File "C:\Users\hhuan100\B-SOID\bsoid_app\machine_learner.py", line 35, in randomforest
x = self.sampled_features[self.assignments >= 0, :]

How should I deal with it? Thank you!

@zhenyuan992
Copy link

i have the same issue. @YttriLab @runninghsus

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

2 participants