Code Monkey home page Code Monkey logo

Comments (5)

TalkativeGuy avatar TalkativeGuy commented on June 12, 2024 1

Hello! I would like to mention that it would be nice to include this parameter for MCE just as you did for FAMD since it uses encodes categorical features aswell. It will have to be rewritten a little since as I see it uses pd.get_dummies instead of OneHotEncoder. I wish I could fork and rewrite it by myself, but I don't have so much time at the moment :(

from prince.

MaxHalford avatar MaxHalford commented on June 12, 2024

Hey! So you would essentially like to control the handle_unknown parameter of the OneHotEncoder? The parameters I see there are {‘error’, ‘ignore’, ‘infrequent_if_exist’}, but not substitute.

from prince.

A-acuto avatar A-acuto commented on June 12, 2024

Yes, it would make it easier when dealing with continuous streaming of data with high dimensionality (so new values for certain variables are coming infrequently, so they raise errors and exit the computations).
I hope this is clear
Thanks

from prince.

MaxHalford avatar MaxHalford commented on June 12, 2024

Ok I've added a handle_unknown parameter to FAMD, that will be fed to OneHotEncoder. It's available in version 0.10.4 :)

from prince.

MaxHalford avatar MaxHalford commented on June 12, 2024

Hey @TalkativeGuy. Actually, for MCA, it's valid to pass columns and column values which were not seen before. Do you have an example/usecase in mind?

from prince.

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.