Giter Site home page Giter Site logo

Comments (5)

isabella avatar isabella commented on May 4, 2024 1

hi @lnicola. Yes classification models are definitely supported. The most likely explanation you are getting a regreession model is that your target column is numeric. If you would like Tangram to train a classification model given a numeric target column, you can pass a config file to training. e.g. tangram train --config config.json ...

{
	"dataset": {
		"columns": [
			{
				"name": <your target column>,
				"type": "enum",
				"variants": [
					<variant 1>,
					<variant 2>,
					<variant 3>
                                        ...
				]
			}
                ]
        }
}

from modelfox.

isabella avatar isabella commented on May 4, 2024

Hi @m-kru. We should add the information about which models are trained in tangram train --help!

The current default hyperparameter grid is as follows:

Linear Models

learning_rate: [0.1, 0.01]
l2_regularization: [1.0, 0.1]
max_epochs: 1000

Gradient Boosted Decision Trees:

learning_rate: [0.1, 0.01]
l2_regularization: [1.0, 0.1]
max_leaf_nodes: 512
max_depth: 50
max_rounds: 1000

Does that answer your question?

from modelfox.

m-kru avatar m-kru commented on May 4, 2024

@isabella thanks for your quick reply. What Linear Model is it? Do you mean Linear Regression?

from modelfox.

isabella avatar isabella commented on May 4, 2024

Linear regression trained via Stochastic Gradient Descent. The default batch size is 128.

from modelfox.

lnicola avatar lnicola commented on May 4, 2024

@isabella are classification (i.e. non-regression) trees supported? I tried to train a model, but the statistics include the RMSE, which doesn't really make sense for classification.

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.