tabensemb.model.AbstractModel.new_model#
method
- AbstractModel.new_model(model_name: str, verbose: bool, **kwargs)[source]#
A wrapper method to generate a new model while keeping the random seed constant.
- Parameters:
- model_name:
The name of a selected model.
- verbose:
Verbosity.
- **kwargs:
Parameters to generate the model. It contains all arguments in
_initial_values().
- Returns:
- Any
A new model (without any restriction to its type). It will be passed to
_train_single_model()and_pred_single_model().
See also