RankingEvaluator implements RankingEvaluator
More...
◆ RankingEvaluator() [1/2]
Synapse.ML.Recommendation.RankingEvaluator.RankingEvaluator |
( |
| ) |
|
|
inline |
◆ RankingEvaluator() [2/2]
Synapse.ML.Recommendation.RankingEvaluator.RankingEvaluator |
( |
string |
uid | ) |
|
|
inline |
Creates a RankingEvaluator with a UID that is used to give the RankingEvaluator a unique ID.
- Parameters
-
uid | An immutable unique ID for the object and its derivatives. |
◆ GetItemCol()
string Synapse.ML.Recommendation.RankingEvaluator.GetItemCol |
( |
| ) |
|
Gets itemCol value
- Returns
- itemCol: Column of items
◆ GetK()
int Synapse.ML.Recommendation.RankingEvaluator.GetK |
( |
| ) |
|
Gets k value
- Returns
- k: number of items
◆ GetLabelCol()
string Synapse.ML.Recommendation.RankingEvaluator.GetLabelCol |
( |
| ) |
|
Gets labelCol value
- Returns
- labelCol: label column name
◆ GetMetricName()
string Synapse.ML.Recommendation.RankingEvaluator.GetMetricName |
( |
| ) |
|
Gets metricName value
- Returns
- metricName: metric name in evaluation (ndcgAt|map|precisionAtk|recallAtK|diversityAtK|maxDiversity|mrr|fcp)
◆ GetNItems()
long Synapse.ML.Recommendation.RankingEvaluator.GetNItems |
( |
| ) |
|
Gets nItems value
- Returns
- nItems: number of items
◆ GetPredictionCol()
string Synapse.ML.Recommendation.RankingEvaluator.GetPredictionCol |
( |
| ) |
|
Gets predictionCol value
- Returns
- predictionCol: prediction column name
◆ GetRatingCol()
string Synapse.ML.Recommendation.RankingEvaluator.GetRatingCol |
( |
| ) |
|
Gets ratingCol value
- Returns
- ratingCol: Column of ratings
◆ GetUserCol()
string Synapse.ML.Recommendation.RankingEvaluator.GetUserCol |
( |
| ) |
|
Gets userCol value
- Returns
- userCol: Column of users
◆ Load()
static RankingEvaluator Synapse.ML.Recommendation.RankingEvaluator.Load |
( |
string |
path | ) |
|
|
static |
◆ Read()
JavaMLReader<RankingEvaluator> Synapse.ML.Recommendation.RankingEvaluator.Read |
( |
| ) |
|
Get the corresponding JavaMLReader instance.
- Returns
- an JavaMLReader<RankingEvaluator> instance for this ML instance.
◆ Save()
void Synapse.ML.Recommendation.RankingEvaluator.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 |
◆ SetItemCol()
RankingEvaluator Synapse.ML.Recommendation.RankingEvaluator.SetItemCol |
( |
string |
value | ) |
|
◆ SetK()
◆ SetLabelCol()
RankingEvaluator Synapse.ML.Recommendation.RankingEvaluator.SetLabelCol |
( |
string |
value | ) |
|
◆ SetMetricName()
RankingEvaluator Synapse.ML.Recommendation.RankingEvaluator.SetMetricName |
( |
string |
value | ) |
|
Sets value for metricName
- Parameters
-
value | metric name in evaluation (ndcgAt|map|precisionAtk|recallAtK|diversityAtK|maxDiversity|mrr|fcp) |
- Returns
- New RankingEvaluator object
◆ SetNItems()
RankingEvaluator Synapse.ML.Recommendation.RankingEvaluator.SetNItems |
( |
long |
value | ) |
|
◆ SetPredictionCol()
RankingEvaluator Synapse.ML.Recommendation.RankingEvaluator.SetPredictionCol |
( |
string |
value | ) |
|
Sets value for predictionCol
- Parameters
-
value | prediction column name |
- Returns
- New RankingEvaluator object
◆ SetRatingCol()
RankingEvaluator Synapse.ML.Recommendation.RankingEvaluator.SetRatingCol |
( |
string |
value | ) |
|
◆ SetUserCol()
RankingEvaluator Synapse.ML.Recommendation.RankingEvaluator.SetUserCol |
( |
string |
value | ) |
|
The documentation for this class was generated from the following file:
- synapse/ml/recommendation/RankingEvaluator.cs