Comments (5)
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.
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.
@isabella thanks for your quick reply. What Linear Model is it? Do you mean Linear Regression?
from modelfox.
Linear regression trained via Stochastic Gradient Descent. The default batch size is 128.
from modelfox.
@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)
- Add CLI Command to auto-generate config file HOT 2
- Playground Chart min value is deceptive, use 0 instead
- Long column names overflow training stats table
- Repo overview View to compare all models contained in the repo
- Ctrl-c to cancel training from python
- Early Stopping Options default to present
- Coerce boolean values appropriately to enum values for prediction in language libraries/ cli
- Improve error message for CLI incorrect path to train/test file
- Forgetting the threshold in logPrediction causes bad request
- Allow data frame as input to predict function in python
- Explain what a baseline classifier is on the metrics page.
- Training error when column to predict has more than 100 variants HOT 2
- Thread 'main' panicked at 'called `Option::unwrap()` on a `None` value' HOT 5
- Failed to get `modelfox` as a dependency of package HOT 1
- URL in repo description is broken HOT 2
- Debian package is not installable HOT 1
- Running `modelfox app` gives "error: No such file or directory (os error 2)" HOT 1
- Bag of words - what is the delimiter? HOT 3
- [Ruby] Does not work for M1 Mac OSX
- datasets are not downloadable anymore
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modelfox.