set_params

Set the training parameters.

Method call format

set_params(** params)

Parameters

params

Description

A list of parameters to start training with.

If omitted, default values are used.

If set, the passed list of parameters overrides the default values.

Format:

parameter_1=<value>, parameter_2=<value>, ..., parameter_N=<value>

An example of the method call:

model.set_params(iterations=500, thread_count=2, use_best_model=True)

See Python package training parameters for the full list of parameters.

Possible types

key=value format

Default value

Required parameter