Git Product home page Git Product logo

Comments (2)

javier-cazana avatar javier-cazana commented on May 18, 2024

Hey @Aceticia thank you!

ok, let's see:

  1. If I create a dataframe that contains the same columns as real data and put in dummy examples that contain all possible combinations of categorical features it should work fine.

Not sure I follow...could you perhaps insert some pseudo code or an illustration of what you want to do? Let's see...if you real data has two columns, you would create a dataframe with the two columns, and then each column will have...what? combination of the categorical features IN THE TWO COLUMNS?

  1. For the second step of standardizing continuous features, I'm thinking I can just write some dummy values before calling fit and overwriting the StandardScaler object with one that was already fit to all of my data.

to be honest, you could even contribute to the library and add the option of passing a custom "Standarizer". If not I can do it in the next release 🙂. I am still a bit confused with this: "I can just write some dummy values before calling fit [...]"

In any case, in case it helps, we now have custom dataloaders: https://github.com/jrzaurin/pytorch-widedeep/blob/master/pytorch_widedeep/dataloaders.py

You could add any that you like in that module. Overall, let me see if I understand. You want to Preprocess data on the fly? i.e. like running the TabPreprocessor per minibatch?

Let me know and see how can I help

Also, apart from commenting here (so is visible for more users), please, join the slack channel if you wanted :) : https://join.slack.com/t/pytorch-widedeep/shared_invite/zt-soss7stf-iXpVuLeKZz8lGTnxxtHtTw

from pytorch-widedeep.

jrzaurin avatar jrzaurin commented on May 18, 2024

Closing this due to lack of response/activity

from pytorch-widedeep.

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.