Giter Site home page Giter Site logo

Comments (5)

jovan-stojanovic avatar jovan-stojanovic commented on June 17, 2024

Interesting idea!

I do see that there is an increasing dichotomy in skrub between relying on dataframes or arrays, so this is an important discussion.

This is due to the fact that we are somewhere in between projects like pandas and scikit-learn. That is, pipeline-wise, I usually see skrub as having dataframes as input (e.g. from pandas) and returns arrays (for scikit-learn) for machine learning. This is what is done by the TableVectorizer.

I would use then, and this is how it's currently done in the examples, Joiners as a step before TableVectorizer, which returns numerical arrays for scikit-learn models. In this case, no need for dataframes as output.

from skrub.

GaelVaroquaux avatar GaelVaroquaux commented on June 17, 2024

from skrub.

Vincent-Maladiere avatar Vincent-Maladiere commented on June 17, 2024

@jovan-stojanovic I see many use cases (including examples in the AggJoiner) where running TableVectorizer first is a must.

@GaelVaroquaux, I agree with you on the consistency with scikit-learn. I still think set_output is confusing for newcomers who won't catch it in the doc and an awful design pattern from user perspective, IMHO.

Let's close this issue, then.

from skrub.

GaelVaroquaux avatar GaelVaroquaux commented on June 17, 2024

from skrub.

Vincent-Maladiere avatar Vincent-Maladiere commented on June 17, 2024

Thanks for the precision. I hadn't all these elements in mind.

I have a huge bias toward the user side and will always promote stuff that eases the life of the regular data scientists. Ultimately, we do this for them. "User first and maintainers adapt" in some ways.

from skrub.

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.