ConditionalKNNModel implements ConditionalKNNModel
More...
◆ ConditionalKNNModel() [1/2]
Synapse.ML.Nn.ConditionalKNNModel.ConditionalKNNModel |
( |
| ) |
|
|
inline |
◆ ConditionalKNNModel() [2/2]
Synapse.ML.Nn.ConditionalKNNModel.ConditionalKNNModel |
( |
string |
uid | ) |
|
|
inline |
◆ GetBallTree()
object Synapse.ML.Nn.ConditionalKNNModel.GetBallTree |
( |
| ) |
|
Gets ballTree value
- Returns
- ballTree: the ballTree model used for perfoming queries
◆ GetConditionerCol()
string Synapse.ML.Nn.ConditionalKNNModel.GetConditionerCol |
( |
| ) |
|
Gets conditionerCol value
- Returns
- conditionerCol: column holding identifiers for features that will be returned when queried
◆ GetFeaturesCol()
string Synapse.ML.Nn.ConditionalKNNModel.GetFeaturesCol |
( |
| ) |
|
Gets featuresCol value
- Returns
- featuresCol: The name of the features column
◆ GetK()
int Synapse.ML.Nn.ConditionalKNNModel.GetK |
( |
| ) |
|
Gets k value
- Returns
- k: number of matches to return
◆ GetLabelCol()
string Synapse.ML.Nn.ConditionalKNNModel.GetLabelCol |
( |
| ) |
|
Gets labelCol value
- Returns
- labelCol: The name of the label column
◆ GetLeafSize()
int Synapse.ML.Nn.ConditionalKNNModel.GetLeafSize |
( |
| ) |
|
Gets leafSize value
- Returns
- leafSize: max size of the leaves of the tree
◆ GetOutputCol()
string Synapse.ML.Nn.ConditionalKNNModel.GetOutputCol |
( |
| ) |
|
Gets outputCol value
- Returns
- outputCol: The name of the output column
◆ GetValuesCol()
string Synapse.ML.Nn.ConditionalKNNModel.GetValuesCol |
( |
| ) |
|
Gets valuesCol value
- Returns
- valuesCol: column holding values for each feature (key) that will be returned when queried
◆ Load()
◆ Read()
Get the corresponding JavaMLReader instance.
- Returns
- an JavaMLReader<ConditionalKNNModel> instance for this ML instance.
◆ Save()
void Synapse.ML.Nn.ConditionalKNNModel.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 |
◆ SetBallTree()
Sets value for ballTree
- Parameters
-
value | the ballTree model used for perfoming queries |
- Returns
- New ConditionalKNNModel object
◆ SetConditionerCol()
Sets value for conditionerCol
- Parameters
-
value | column holding identifiers for features that will be returned when queried |
- Returns
- New ConditionalKNNModel object
◆ SetFeaturesCol()
Sets value for featuresCol
- Parameters
-
value | The name of the features column |
- Returns
- New ConditionalKNNModel object
◆ SetK()
Sets value for k
- Parameters
-
value | number of matches to return |
- Returns
- New ConditionalKNNModel object
◆ SetLabelCol()
Sets value for labelCol
- Parameters
-
value | The name of the label column |
- Returns
- New ConditionalKNNModel object
◆ SetLeafSize()
Sets value for leafSize
- Parameters
-
value | max size of the leaves of the tree |
- Returns
- New ConditionalKNNModel object
◆ SetOutputCol()
Sets value for outputCol
- Parameters
-
value | The name of the output column |
- Returns
- New ConditionalKNNModel object
◆ SetValuesCol()
Sets value for valuesCol
- Parameters
-
value | column holding values for each feature (key) that will be returned when queried |
- Returns
- New ConditionalKNNModel object
The documentation for this class was generated from the following file:
- synapse/ml/nn/ConditionalKNNModel.cs