Comments (4)
Hi,
Yes of course you can :) Just call Categorical_encoder(strategy="entity_embedding").fit_transform(df_train, y_train)
. Then you can do dimensionality reduction (t-SNE, PCA, ...) and plot !
Here is the associated doc : http://mlbox.readthedocs.io/en/latest/features.html#categorical-features
from mlbox.
Hi Axel, sorry, I wasn't clear with my question. What about once the model has been trained? Is the best way to do this by getting out the best model params and inserting into categorical_encoder? Or is there a method call that can be used to get the embedding? I'm guessing the first option.
from mlbox.
Ok now I understand your question. No at the moment it is not possible to get the pipeline fitted after calling fit_predict()
. But I will add this feature if you want ! It is a good idea !
Nevertheless, you can insert the best parameters into the pipeline NA_encoder()
+ Categorical_encoder()
and fit again (make sure the configuration to impute missing values is exactly the same so that the pipeline will be reloaded from the disk !!)
Thank you for this issue
from mlbox.
Thanks, I get how a but better how it is working now. Great package BTW.
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.