RankingAdapter implements RankingAdapter
More...
◆ RankingAdapter() [1/2]
Synapse.ML.Recommendation.RankingAdapter.RankingAdapter |
( |
| ) |
|
|
inline |
◆ RankingAdapter() [2/2]
Synapse.ML.Recommendation.RankingAdapter.RankingAdapter |
( |
string |
uid | ) |
|
|
inline |
Creates a RankingAdapter with a UID that is used to give the RankingAdapter 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
- RankingAdapterModel
◆ GetItemCol()
string Synapse.ML.Recommendation.RankingAdapter.GetItemCol |
( |
| ) |
|
Gets itemCol value
- Returns
- itemCol: Column of items
◆ GetK()
int Synapse.ML.Recommendation.RankingAdapter.GetK |
( |
| ) |
|
Gets k value
- Returns
- k: number of items
◆ GetLabelCol()
string Synapse.ML.Recommendation.RankingAdapter.GetLabelCol |
( |
| ) |
|
Gets labelCol value
- Returns
- labelCol: The name of the label column
◆ GetMinRatingsPerItem()
int Synapse.ML.Recommendation.RankingAdapter.GetMinRatingsPerItem |
( |
| ) |
|
Gets minRatingsPerItem value
- Returns
- minRatingsPerItem: min ratings for items > 0
◆ GetMinRatingsPerUser()
int Synapse.ML.Recommendation.RankingAdapter.GetMinRatingsPerUser |
( |
| ) |
|
Gets minRatingsPerUser value
- Returns
- minRatingsPerUser: min ratings for users > 0
◆ GetMode()
string Synapse.ML.Recommendation.RankingAdapter.GetMode |
( |
| ) |
|
Gets mode value
- Returns
- mode: recommendation mode
◆ GetRatingCol()
string Synapse.ML.Recommendation.RankingAdapter.GetRatingCol |
( |
| ) |
|
Gets ratingCol value
- Returns
- ratingCol: Column of ratings
◆ GetRecommender()
IEstimator<object> Synapse.ML.Recommendation.RankingAdapter.GetRecommender |
( |
| ) |
|
|
inline |
Gets recommender value
- Returns
- recommender: estimator for selection
◆ GetUserCol()
string Synapse.ML.Recommendation.RankingAdapter.GetUserCol |
( |
| ) |
|
Gets userCol value
- Returns
- userCol: Column of users
◆ Load()
static RankingAdapter Synapse.ML.Recommendation.RankingAdapter.Load |
( |
string |
path | ) |
|
|
static |
◆ Read()
JavaMLReader<RankingAdapter> Synapse.ML.Recommendation.RankingAdapter.Read |
( |
| ) |
|
Get the corresponding JavaMLReader instance.
- Returns
- an JavaMLReader<RankingAdapter> instance for this ML instance.
◆ Save()
void Synapse.ML.Recommendation.RankingAdapter.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()
RankingAdapter Synapse.ML.Recommendation.RankingAdapter.SetItemCol |
( |
string |
value | ) |
|
◆ SetK()
RankingAdapter Synapse.ML.Recommendation.RankingAdapter.SetK |
( |
int |
value | ) |
|
◆ SetLabelCol()
RankingAdapter Synapse.ML.Recommendation.RankingAdapter.SetLabelCol |
( |
string |
value | ) |
|
Sets value for labelCol
- Parameters
-
value | The name of the label column |
- Returns
- New RankingAdapter object
◆ SetMinRatingsPerItem()
RankingAdapter Synapse.ML.Recommendation.RankingAdapter.SetMinRatingsPerItem |
( |
int |
value | ) |
|
Sets value for minRatingsPerItem
- Parameters
-
value | min ratings for items > 0 |
- Returns
- New RankingAdapter object
◆ SetMinRatingsPerUser()
RankingAdapter Synapse.ML.Recommendation.RankingAdapter.SetMinRatingsPerUser |
( |
int |
value | ) |
|
Sets value for minRatingsPerUser
- Parameters
-
value | min ratings for users > 0 |
- Returns
- New RankingAdapter object
◆ SetMode()
RankingAdapter Synapse.ML.Recommendation.RankingAdapter.SetMode |
( |
string |
value | ) |
|
◆ SetRatingCol()
RankingAdapter Synapse.ML.Recommendation.RankingAdapter.SetRatingCol |
( |
string |
value | ) |
|
◆ SetRecommender< M >()
RankingAdapter Synapse.ML.Recommendation.RankingAdapter.SetRecommender< M > |
( |
JavaEstimator< M > |
value | ) |
|
Sets value for recommender
- Parameters
-
value | estimator for selection |
- Returns
- New RankingAdapter object
- Type Constraints
-
M | : | JavaModel<M> | |
M | : | WrapAsRankingAdapter | |
M | : | Reference.Invoke | |
M | : | setRecommender | |
M | : | object | |
M | : | value | |
◆ SetUserCol()
RankingAdapter Synapse.ML.Recommendation.RankingAdapter.SetUserCol |
( |
string |
value | ) |
|
The documentation for this class was generated from the following file:
- synapse/ml/recommendation/RankingAdapter.cs