DS101: Various distribution type and class of problems

When you choose “binomial” and “multinomial” distribution, those will only work with CLASSIFICATION problems. All other distributions are for REGRESSION problems.

Here is generic table of common distribution types:

Distribution Type
Binomial Classification
Multinomial Classification
Bernoulli Regression
Gaussian Regression
Poisson Regression
Gamma Regression
Tweedie Regression
Laplace Regression
Quantile Regression
Huber Regression

So if your response column is numeric and you will do binomial or multinomial, you will get an error as reported above. Your response column must be enum if you will select binomial and multinomial distribution. You can change an numeric column to ENUM first and then run the algorithm to build a classification model.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s