Giter Club home page Giter Club logo

Comments (2)

nitsky avatar nitsky commented on May 17, 2024 3

@rustrust I agree, we need to do a better job explaining this in the docs.

Tangram determines the task (either regression, binary classification, or multiclass classification) based on the type of the target column. If the target column is a Number column, the task will be regression. If the target column is an Enum column with two variants, the task will be binary classification. If the target column is an Enum column with more than two variants, the task will be multiclass classification.

Then, tangram trains a grid of linear and gradient boosted decision tree models for the selected task. The definition of the default grid for each task is in this file: https://github.com/tangramxyz/tangram/blob/main/crates/core/grid.rs.

Alternatively, you can specify your own grid in a JSON configuration file passed to tangram train with the --config flag. You can see an example in the docs at https://www.tangram.xyz/docs/guides/train_with_custom_configuration. The best documentation for the schema of the configuration file is the serde type definitions in the source: https://github.com/tangramxyz/tangram/blob/main/crates/core/config.rs.

Let me know if this answers your question or if you want more information.

I will leave this issue open until we update the docs with better information on this.

from modelfox.

isabella avatar isabella commented on May 17, 2024

@rustrust I've added an internals section to the docs that explains the hyperparameter grid, the model and task types, and the feature engineering. Let us know if there is anything else that we can clarify in the docs!

from modelfox.

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.