Comments (1)
Error is:
INFO:root:Run optimise: DONE
/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/sklearn/model_selection/_validation.py:530: FutureWarning: From version 0.22, errors during fit will result in a cross validation score of NaN by default. Use error_score='raise' if you want an exception raised or error_score=np.nan to adopt the behavior from version 0.22.
FutureWarning)
Traceback (most recent call last):
File "/home/travis/virtualenv/python3.6.7/bin/sccaf", line 120, in <module>
n_jobs=args.cores)
File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/SCCAF/__init__.py", line 265, in SCCAF_assessment
return self_projection(*args, **kwargs)
File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/SCCAF/__init__.py", line 352, in self_projection
cvs = cross_val_score(clf, X_train, np.array(y_train), cv=cv, scoring='accuracy', n_jobs=n_jobs)
File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/sklearn/model_selection/_validation.py", line 391, in cross_val_score
error_score=error_score)
File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/sklearn/model_selection/_validation.py", line 232, in cross_validate
for train, test in cv.split(X, y, groups))
File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/joblib/parallel.py", line 1003, in __call__
if self.dispatch_one_batch(iterator):
File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/joblib/parallel.py", line 834, in dispatch_one_batch
self._dispatch(tasks)
File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/joblib/parallel.py", line 753, in _dispatch
job = self._backend.apply_async(batch, callback=cb)
File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/joblib/_parallel_backends.py", line 201, in apply_async
result = ImmediateResult(func)
File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/joblib/_parallel_backends.py", line 582, in __init__
self.results = batch()
File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/joblib/parallel.py", line 256, in __call__
for func, args, kwargs in self.items]
File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/joblib/parallel.py", line 256, in <listcomp>
for func, args, kwargs in self.items]
File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/sklearn/model_selection/_validation.py", line 516, in _fit_and_score
estimator.fit(X_train, y_train, **fit_params)
File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/sklearn/linear_model/logistic.py", line 1549, in fit
sample_weight=sample_weight)
File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/sklearn/svm/base.py", line 879, in _fit_liblinear
" class: %r" % classes_[0])
ValueError: This solver needs samples of at least 2 classes in the data, but the data contains only one class: '0'
from sccaf.
Related Issues (20)
- plot_roc and gray heatmap are producing large number of matplotlib figures open warning
- Require psutil as a dependency to gracefully kill processes when OOM
- SCCAF cli should exit with an error when no UMAP or tSNE embeddings are available
- galaxy typos
- SCCAF for scATAC-seq
- Run SCCAF "total error" in Galaxy
- Errors when using low_res parameter to constrain optimization HOT 1
- Error when running with plot=TRUE
- how to use original Dimension Reduction information from Seurat. HOT 4
- ValueError: At least one label specified must be in y_true HOT 4
- Using the commands in 'Parallel run of assessments' could raise 'FileNotFoundError'
- Citation
- error: write h5 file fail HOT 1
- IndexError when performing SCCAF cluster analysis
- problem with SCCAF installation using conda
- How to collect and plot the accuracies of all SCCAF rounds
- NameError: name 'default_26' is not defined HOT 1
- Outdated scanpy dependency HOT 1
- Scanpy==1.4.6 dependency while working with SCCAF
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sccaf.