public static class Learner.Parameters extends Object implements Serializable
Parameters classes are used to hold values for learning algorithm parameters,
and all learning algorithm implementations must provide a constructor that takes such an
object as input. All algorithm specific Parameters classes extend this class.| Modifier and Type | Field and Description |
|---|---|
int |
rounds
The number of rounds of training; but wait; this parameter doesn't actually affect the
behavior of any learners as the number of training rounds is specified via other
mechanisms.
|
| Constructor and Description |
|---|
Parameters()
Sets all the default values.
|
Parameters(Learner.Parameters p)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
nonDefaultString()
Creates a string representation of these parameters in which only those parameters that
differ from their default values are mentioned.
|
void |
setParameters(Learner l)
Calls the appropriate
Learner.setParameters(Parameters) method for this
Parameters object. |
public int rounds
public Parameters()
public Parameters(Learner.Parameters p)
public void setParameters(Learner l)
Learner.setParameters(Parameters) method for this
Parameters object.l - The learner whose parameters will be set.public String nonDefaultString()
Copyright © 2016. All rights reserved.