TrainRegressor implements TrainRegressor
More...
◆ TrainRegressor() [1/2]
Synapse.ML.Train.TrainRegressor.TrainRegressor |
( |
| ) |
|
|
inline |
◆ TrainRegressor() [2/2]
Synapse.ML.Train.TrainRegressor.TrainRegressor |
( |
string |
uid | ) |
|
|
inline |
Creates a TrainRegressor with a UID that is used to give the TrainRegressor a unique ID.
- Parameters
-
uid | An immutable unique ID for the object and its derivatives. |
◆ Fit()
Fits a model to the input data.
- Parameters
-
dataset | The DataFrame to fit the model to. |
- Returns
- TrainedRegressorModel
◆ GetFeaturesCol()
string Synapse.ML.Train.TrainRegressor.GetFeaturesCol |
( |
| ) |
|
Gets featuresCol value
- Returns
- featuresCol: The name of the features column
◆ GetLabelCol()
string Synapse.ML.Train.TrainRegressor.GetLabelCol |
( |
| ) |
|
Gets labelCol value
- Returns
- labelCol: The name of the label column
◆ GetModel()
IEstimator<object> Synapse.ML.Train.TrainRegressor.GetModel |
( |
| ) |
|
|
inline |
Gets model value
- Returns
- model: Regressor to run
◆ GetNumFeatures()
int Synapse.ML.Train.TrainRegressor.GetNumFeatures |
( |
| ) |
|
Gets numFeatures value
- Returns
- numFeatures: Number of features to hash to
◆ Load()
static TrainRegressor Synapse.ML.Train.TrainRegressor.Load |
( |
string |
path | ) |
|
|
static |
◆ Read()
Get the corresponding JavaMLReader instance.
- Returns
- an JavaMLReader<TrainRegressor> instance for this ML instance.
◆ Save()
void Synapse.ML.Train.TrainRegressor.Save |
( |
string |
path | ) |
|
Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala.
- Parameters
-
path | The path to save the object to |
◆ SetFeaturesCol()
TrainRegressor Synapse.ML.Train.TrainRegressor.SetFeaturesCol |
( |
string |
value | ) |
|
Sets value for featuresCol
- Parameters
-
value | The name of the features column |
- Returns
- New TrainRegressor object
◆ SetLabelCol()
TrainRegressor Synapse.ML.Train.TrainRegressor.SetLabelCol |
( |
string |
value | ) |
|
Sets value for labelCol
- Parameters
-
value | The name of the label column |
- Returns
- New TrainRegressor object
◆ SetModel< M >()
TrainRegressor Synapse.ML.Train.TrainRegressor.SetModel< M > |
( |
JavaEstimator< M > |
value | ) |
|
Sets value for model
- Parameters
-
- Returns
- New TrainRegressor object
- Type Constraints
-
M | : | JavaModel<M> | |
M | : | WrapAsTrainRegressor | |
M | : | Reference.Invoke | |
M | : | setModel | |
M | : | object | |
M | : | value | |
◆ SetNumFeatures()
TrainRegressor Synapse.ML.Train.TrainRegressor.SetNumFeatures |
( |
int |
value | ) |
|
Sets value for numFeatures
- Parameters
-
value | Number of features to hash to |
- Returns
- New TrainRegressor object
The documentation for this class was generated from the following file:
- synapse/ml/train/TrainRegressor.cs