datatable.models.Ftrl.model_type¶
model_type
model_type
A type of the model Ftrl
should build:
"binomial"
for binomial classification;"multinomial"
for multinomial classification;"regression"
for numeric regression;"auto"
for automatic model type detection based on the target columnstype
.
This option is read-only for a trained model.
Parameters¶
return
str
Current model_type
value.
new_model_type
"binomial"
| "multinomial"
| "regression"
| "auto"
New model_type
value.
except
ValueError
The exception is raised when
trying to change this option for a model that has already been trained;
new_model_type
value is not one of the following:"binomial"
,"multinomial"
,"regression"
or"auto"
.
See also¶
.model_type_trained
– the model typeFtrl
has build.
The content on this page is licensed under the Creative Commons Attribution 4.0 License
(CC BY 4.0) ,
and code samples are licensed under the MIT License.