Giter VIP home page Giter VIP logo

Comments (4)

AxeldeRomblay avatar AxeldeRomblay commented on May 11, 2024

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.

JoshuaC3 avatar JoshuaC3 commented on May 11, 2024

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.

AxeldeRomblay avatar AxeldeRomblay commented on May 11, 2024

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.

JoshuaC3 avatar JoshuaC3 commented on May 11, 2024

Thanks, I get how a but better how it is working now. Great package BTW.

from mlbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.