Comments (7)
@amueller : Thank you ! Do you handle the case where you have to predict the proba for an unknown class (that occurs when your target contains only one sample from a given class, otherwise it's ok if you stratify...) ?
from mlbox.
Also, I thought that cross_val_score used to crash (or still crashes ?) if a given class contains less samples than n_splits. Please tell me if I am wrong...
from mlbox.
from mlbox.
Ok ! I will have a try then. Thank you ! Also please feel free to open an issue for any suggestions ;)
from mlbox.
I will modify it for drift_estimator.py, but for stacking_classifier.py I really need to handle the case where the target contains only one sample from a given class. I can't afford to delete this sample and then call cross_val_predict(method="predict_proba")
due to shape compatibility issues...
from mlbox.
If I understand your problem correctly, this will be fixed in scikit-learn/scikit-learn#9585. Feel free to wait for that ;)
from mlbox.
Sorry I meant scikit-learn/scikit-learn#9532
from mlbox.
Related Issues (20)
- Get TypeError: object of type 'NoneType' has no len() when read files HOT 6
- Temporal leaks HOT 2
- You have no test dataset HOT 2
- matplotlib issue? HOT 1
- Error : 'Illegal instruction (core dumped)'
- Is it possible to do Time Series Forecasting using MLBox?
- Pipeline cannot be fitted
- Error during installation of MLBox HOT 2
- how to use GPU in training
- pip dependency error
- Centos install bug
- python setup.py install HOT 1
- TypeError: object of type 'NoneType' has no len() on house prediction dataset
- Save using joblib
- ModuleNotFoundError: No module named 'mlbox.preprocessing'
- Project dependencies may have API risk issues
- Import error while using MLBox inside google collab
- ModuleNotFoundError: No module named 'mlbox'
- Installation Error HOT 1
- can trained ML box model be saved in .pkl or .dill format
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 mlbox.