resume
Resume training ensemble
Syntax
ens1 = resume(ens,nlearn)
ens1 = resume(ens,nlearn,Name,Value)
Description
trains ens1
= resume(ens
,nlearn
)ens
for nlearn
more cycles. resume
uses the same training options fitrensemble
used to create ens
, except for parallel
training options. If you want to resume training in parallel, pass the 'Options'
name-value pair.
trains ens1
= resume(ens
,nlearn
,Name,Value
)ens
with additional options specified by one or more
Name,Value
pair arguments.
Input Arguments
|
A regression ensemble, created with |
|
A positive integer, the number of cycles for additional training of
|
Name-Value Arguments
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN
, where Name
is
the argument name and Value
is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Before R2021a, use commas to separate each name and value, and enclose
Name
in quotes.
| Printout frequency, a positive integer scalar or Tip For fastest training of some boosted decision trees, set Default: | ||||||||||||
| Options for computing in parallel and setting random numbers, specified as a structure. Create
the Note You need Parallel Computing Toolbox™ to compute in parallel. You can use the same parallel options for
For dual-core systems and above, Example: |
Output Arguments
|
The regression ensemble |
Examples
Extended Capabilities
See Also
fitrensemble
| RegressionEnsemble
| RegressionBaggedEnsemble