nyuad-cai / covid19complications Goto Github PK
View Code? Open in Web Editor NEWClinical prediction system of complications among COVID-19 patients
License: Other
Clinical prediction system of complications among COVID-19 patients
License: Other
Traceback (most recent call last):
File "/home/zw/.pycharm_helpers/pydev/pydevd.py", line 1483, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "/home/zw/.pycharm_helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/home/zw/data/COVID19Complications/code/run.py", line 31, in
models_all, trainsets, classifers = get_models(complications, framework_train, train_columns )
File "/home/zw/data/COVID19Complications/code/train.py", line 165, in get_models
models_all[i] = calibrate(ms[i],vals[i],training_i,train_columns,i)
File "/home/zw/data/COVID19Complications/code/train.py", line 224, in calibrate
clf_calibrated = CalibratedClassifierCV(j, method = "isotonic", cv="prefit").fit(X_val, y_val)
File "/usr/local/anaconda3/envs/zw/lib/python3.6/site-packages/sklearn/calibration.py", line 258, in fit
check_is_fitted(self.base_estimator)
File "/usr/local/anaconda3/envs/zw/lib/python3.6/site-packages/sklearn/utils/validation.py", line 63, in inner_f
return f(*args, **kwargs)
File "/usr/local/anaconda3/envs/zw/lib/python3.6/site-packages/sklearn/utils/validation.py", line 1098, in check_is_fitted
raise NotFittedError(msg % {'name': type(estimator).name})
sklearn.exceptions.NotFittedError: This LGBMClassifier instance is not fitted yet. Call 'fit' with appropriate arguments before using this estimator.
I encountered this bug above; I don't know what something was wrong. Please do me a favour!
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.