datatable.models.LinearModel.model_type¶
model_type
model_type
A type of the model LinearModel 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
strCurrent model_type value.
new_model_type
"binomial" | "multinomial" | "regression" | "auto"New model_type value.
except
ValueErrorThe exception is raised when trying to change this option for a model that has already been trained.
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.