sinclairlab / frailty Goto Github PK
View Code? Open in Web Editor NEWFrailty analysis including FRIGHT age and AFRAID clock
Frailty analysis including FRIGHT age and AFRAID clock
TypeError Traceback (most recent call last)
in
----> 1 frightControl = frightAge.predict(controlData[frightVariables])
2 frightMr = frightAge.predict(mrData[frightVariables])
~/opt/anaconda3/envs/test_py/lib/python3.6/site-packages/sklearn/ensemble/forest.py in predict(self, X)
679
680 # Assign chunk of trees to jobs
--> 681 n_jobs, _, _ = _partition_estimators(self.n_estimators, self.n_jobs)
682
683 # avoid storing the output of every estimator by summing them here
~/opt/anaconda3/envs/test_py/lib/python3.6/site-packages/sklearn/ensemble/base.py in _partition_estimators(n_estimators, n_jobs)
151 """Private function used to partition estimators between jobs."""
152 # Compute the number of jobs
--> 153 n_jobs = min(_get_n_jobs(n_jobs), n_estimators)
154
155 # Partition estimators between jobs
~/opt/anaconda3/envs/test_py/lib/python3.6/site-packages/sklearn/utils/init.py in _get_n_jobs(n_jobs)
462 ValueError: Parameter n_jobs == 0 has no meaning.
463 """
--> 464 if n_jobs < 0:
465 return max(cpu_count() + 1 + n_jobs, 1)
466 elif n_jobs == 0:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
I hope you can take the time to answer
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.