GithubHelp home page GithubHelp logo

Comments (3)

goldentom42 avatar goldentom42 commented on June 24, 2024 2

Hi ifserge, Stacknet does not currently support different dataset for individual model.
What you could do is :

  • feed Stacknet with different datasets and different parameter config,
  • get the level 1 output for each of these configurations
  • aggregate all level1 outputs in one file (for train and test data)
  • run a final Stacknet config with the level 1 aggregate
    Hope this helps

from stacknet.

kaz-Anova avatar kaz-Anova commented on June 24, 2024 1

Thank you for the assist @goldentom42

Actually now there is a way to do it through python.

You should have a look at the python generic model .

If look inside lib/python , for example PythonGenericRegressor0.py in line 148 and line 168 you can add your own pre-processing of data. You could do a sub-selection or anything you want.

If you choose this method , bear in mind:

  1. You are limited to only python algorithms you have available in your system.
  2. Your data is loaded as sparse data. If you want to chance them to numpy you need to do X.toarray()
  3. you need to apply the same preprocessing in both train and test (e.g. lines 148,168)

Hope that helps.

from stacknet.

goldentom42 avatar goldentom42 commented on June 24, 2024 1

@kaz-Anova, My bad I totally forgot about this great feature...
Congrats for your nice LB position in Zillow's competition!

from stacknet.

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.