Synapseml
1.0.3
|
RankingTrainValidationSplit implements RankingTrainValidationSplit More...
Public Member Functions | |
RankingTrainValidationSplit () | |
Creates a RankingTrainValidationSplit without any parameters. More... | |
RankingTrainValidationSplit (string uid) | |
Creates a RankingTrainValidationSplit with a UID that is used to give the RankingTrainValidationSplit a unique ID. More... | |
RankingTrainValidationSplit | SetAlpha (double value) |
Sets value for alpha More... | |
RankingTrainValidationSplit | SetBlockSize (int value) |
Sets value for blockSize More... | |
RankingTrainValidationSplit | SetCheckpointInterval (int value) |
Sets value for checkpointInterval More... | |
RankingTrainValidationSplit | SetColdStartStrategy (string value) |
Sets value for coldStartStrategy More... | |
RankingTrainValidationSplit | SetEstimator< M > (JavaEstimator< M > value) |
Sets value for estimator More... | |
RankingTrainValidationSplit | SetEstimatorParamMaps (ParamMap[] value) |
Sets value for estimatorParamMaps More... | |
RankingTrainValidationSplit | SetEvaluator (JavaEvaluator value) |
Sets value for evaluator More... | |
RankingTrainValidationSplit | SetFinalStorageLevel (string value) |
Sets value for finalStorageLevel More... | |
RankingTrainValidationSplit | SetImplicitPrefs (bool value) |
Sets value for implicitPrefs More... | |
RankingTrainValidationSplit | SetIntermediateStorageLevel (string value) |
Sets value for intermediateStorageLevel More... | |
RankingTrainValidationSplit | SetItemCol (string value) |
Sets value for itemCol More... | |
RankingTrainValidationSplit | SetMaxIter (int value) |
Sets value for maxIter More... | |
RankingTrainValidationSplit | SetMinRatingsI (int value) |
Sets value for minRatingsI More... | |
RankingTrainValidationSplit | SetMinRatingsU (int value) |
Sets value for minRatingsU More... | |
RankingTrainValidationSplit | SetNonnegative (bool value) |
Sets value for nonnegative More... | |
RankingTrainValidationSplit | SetNumItemBlocks (int value) |
Sets value for numItemBlocks More... | |
RankingTrainValidationSplit | SetNumUserBlocks (int value) |
Sets value for numUserBlocks More... | |
RankingTrainValidationSplit | SetParallelism (int value) |
Sets value for parallelism More... | |
RankingTrainValidationSplit | SetPredictionCol (string value) |
Sets value for predictionCol More... | |
RankingTrainValidationSplit | SetRank (int value) |
Sets value for rank More... | |
RankingTrainValidationSplit | SetRatingCol (string value) |
Sets value for ratingCol More... | |
RankingTrainValidationSplit | SetRegParam (double value) |
Sets value for regParam More... | |
RankingTrainValidationSplit | SetSeed (long value) |
Sets value for seed More... | |
RankingTrainValidationSplit | SetTrainRatio (double value) |
Sets value for trainRatio More... | |
RankingTrainValidationSplit | SetUserCol (string value) |
Sets value for userCol More... | |
double | GetAlpha () |
Gets alpha value More... | |
int | GetBlockSize () |
Gets blockSize value More... | |
int | GetCheckpointInterval () |
Gets checkpointInterval value More... | |
string | GetColdStartStrategy () |
Gets coldStartStrategy value More... | |
IEstimator< object > | GetEstimator () |
Gets estimator value More... | |
ParamMap[] | GetEstimatorParamMaps () |
Gets estimatorParamMaps value More... | |
JavaEvaluator | GetEvaluator () |
Gets evaluator value More... | |
string | GetFinalStorageLevel () |
Gets finalStorageLevel value More... | |
bool | GetImplicitPrefs () |
Gets implicitPrefs value More... | |
string | GetIntermediateStorageLevel () |
Gets intermediateStorageLevel value More... | |
string | GetItemCol () |
Gets itemCol value More... | |
int | GetMaxIter () |
Gets maxIter value More... | |
int | GetMinRatingsI () |
Gets minRatingsI value More... | |
int | GetMinRatingsU () |
Gets minRatingsU value More... | |
bool | GetNonnegative () |
Gets nonnegative value More... | |
int | GetNumItemBlocks () |
Gets numItemBlocks value More... | |
int | GetNumUserBlocks () |
Gets numUserBlocks value More... | |
int | GetParallelism () |
Gets parallelism value More... | |
string | GetPredictionCol () |
Gets predictionCol value More... | |
int | GetRank () |
Gets rank value More... | |
string | GetRatingCol () |
Gets ratingCol value More... | |
double | GetRegParam () |
Gets regParam value More... | |
long | GetSeed () |
Gets seed value More... | |
double | GetTrainRatio () |
Gets trainRatio value More... | |
string | GetUserCol () |
Gets userCol value More... | |
override RankingTrainValidationSplitModel | Fit (DataFrame dataset) |
Fits a model to the input data. More... | |
void | 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. More... | |
JavaMLWriter | Write () |
| |
JavaMLReader< RankingTrainValidationSplit > | Read () |
Get the corresponding JavaMLReader instance. More... | |
Static Public Member Functions | |
static RankingTrainValidationSplit | Load (string path) |
Loads the RankingTrainValidationSplit that was previously saved using Save(string). More... | |
|
inline |
Creates a RankingTrainValidationSplit without any parameters.
|
inline |
Creates a RankingTrainValidationSplit with a UID that is used to give the RankingTrainValidationSplit a unique ID.
uid | An immutable unique ID for the object and its derivatives. |
override RankingTrainValidationSplitModel Synapse.ML.Recommendation.RankingTrainValidationSplit.Fit | ( | DataFrame | dataset | ) |
Fits a model to the input data.
dataset | The DataFrame to fit the model to. |
double Synapse.ML.Recommendation.RankingTrainValidationSplit.GetAlpha | ( | ) |
Gets alpha value
int Synapse.ML.Recommendation.RankingTrainValidationSplit.GetBlockSize | ( | ) |
Gets blockSize value
int Synapse.ML.Recommendation.RankingTrainValidationSplit.GetCheckpointInterval | ( | ) |
Gets checkpointInterval value
string Synapse.ML.Recommendation.RankingTrainValidationSplit.GetColdStartStrategy | ( | ) |
Gets coldStartStrategy value
|
inline |
Gets estimator value
|
inline |
Gets estimatorParamMaps value
|
inline |
Gets evaluator value
string Synapse.ML.Recommendation.RankingTrainValidationSplit.GetFinalStorageLevel | ( | ) |
Gets finalStorageLevel value
bool Synapse.ML.Recommendation.RankingTrainValidationSplit.GetImplicitPrefs | ( | ) |
Gets implicitPrefs value
string Synapse.ML.Recommendation.RankingTrainValidationSplit.GetIntermediateStorageLevel | ( | ) |
Gets intermediateStorageLevel value
string Synapse.ML.Recommendation.RankingTrainValidationSplit.GetItemCol | ( | ) |
Gets itemCol value
int Synapse.ML.Recommendation.RankingTrainValidationSplit.GetMaxIter | ( | ) |
Gets maxIter value
int Synapse.ML.Recommendation.RankingTrainValidationSplit.GetMinRatingsI | ( | ) |
Gets minRatingsI value
int Synapse.ML.Recommendation.RankingTrainValidationSplit.GetMinRatingsU | ( | ) |
Gets minRatingsU value
bool Synapse.ML.Recommendation.RankingTrainValidationSplit.GetNonnegative | ( | ) |
Gets nonnegative value
int Synapse.ML.Recommendation.RankingTrainValidationSplit.GetNumItemBlocks | ( | ) |
Gets numItemBlocks value
int Synapse.ML.Recommendation.RankingTrainValidationSplit.GetNumUserBlocks | ( | ) |
Gets numUserBlocks value
int Synapse.ML.Recommendation.RankingTrainValidationSplit.GetParallelism | ( | ) |
Gets parallelism value
string Synapse.ML.Recommendation.RankingTrainValidationSplit.GetPredictionCol | ( | ) |
Gets predictionCol value
int Synapse.ML.Recommendation.RankingTrainValidationSplit.GetRank | ( | ) |
Gets rank value
string Synapse.ML.Recommendation.RankingTrainValidationSplit.GetRatingCol | ( | ) |
Gets ratingCol value
double Synapse.ML.Recommendation.RankingTrainValidationSplit.GetRegParam | ( | ) |
Gets regParam value
long Synapse.ML.Recommendation.RankingTrainValidationSplit.GetSeed | ( | ) |
Gets seed value
double Synapse.ML.Recommendation.RankingTrainValidationSplit.GetTrainRatio | ( | ) |
Gets trainRatio value
string Synapse.ML.Recommendation.RankingTrainValidationSplit.GetUserCol | ( | ) |
Gets userCol value
|
static |
Loads the RankingTrainValidationSplit that was previously saved using Save(string).
path | The path the previous RankingTrainValidationSplit was saved to |
JavaMLReader<RankingTrainValidationSplit> Synapse.ML.Recommendation.RankingTrainValidationSplit.Read | ( | ) |
Get the corresponding JavaMLReader instance.
void Synapse.ML.Recommendation.RankingTrainValidationSplit.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.
path | The path to save the object to |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetAlpha | ( | double | value | ) |
Sets value for alpha
value | alpha for implicit preference |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetBlockSize | ( | int | value | ) |
Sets value for blockSize
value | block size for stacking input data in matrices. Data is stacked within partitions. If block size is more than remaining data in a partition then it is adjusted to the size of this data. |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetCheckpointInterval | ( | int | value | ) |
Sets value for checkpointInterval
value | set checkpoint interval (>= 1) or disable checkpoint (-1). E.g. 10 means that the cache will get checkpointed every 10 iterations. Note: this setting will be ignored if the checkpoint directory is not set in the SparkContext |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetColdStartStrategy | ( | string | value | ) |
Sets value for coldStartStrategy
value | strategy for dealing with unknown or new users/items at prediction time. This may be useful in cross-validation or production scenarios, for handling user/item ids the model has not seen in the training data. Supported values: nan,drop. |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetEstimator< M > | ( | JavaEstimator< M > | value | ) |
Sets value for estimator
value | estimator for selection |
M | : | JavaModel<M> | |
M | : | WrapAsRankingTrainValidationSplit | |
M | : | Reference.Invoke | |
M | : | setEstimator | |
M | : | object | |
M | : | value |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetEstimatorParamMaps | ( | ParamMap[] | value | ) |
Sets value for estimatorParamMaps
value | param maps for the estimator |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetEvaluator | ( | JavaEvaluator | value | ) |
Sets value for evaluator
value | evaluator used to select hyper-parameters that maximize the validated metric |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetFinalStorageLevel | ( | string | value | ) |
Sets value for finalStorageLevel
value | StorageLevel for ALS model factors. |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetImplicitPrefs | ( | bool | value | ) |
Sets value for implicitPrefs
value | whether to use implicit preference |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetIntermediateStorageLevel | ( | string | value | ) |
Sets value for intermediateStorageLevel
value | StorageLevel for intermediate datasets. Cannot be 'NONE'. |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetItemCol | ( | string | value | ) |
Sets value for itemCol
value | column name for item ids. Ids must be within the integer value range. |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetMaxIter | ( | int | value | ) |
Sets value for maxIter
value | maximum number of iterations (>= 0) |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetMinRatingsI | ( | int | value | ) |
Sets value for minRatingsI
value | min ratings for items > 0 |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetMinRatingsU | ( | int | value | ) |
Sets value for minRatingsU
value | min ratings for users > 0 |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetNonnegative | ( | bool | value | ) |
Sets value for nonnegative
value | whether to use nonnegative constraint for least squares |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetNumItemBlocks | ( | int | value | ) |
Sets value for numItemBlocks
value | number of item blocks |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetNumUserBlocks | ( | int | value | ) |
Sets value for numUserBlocks
value | number of user blocks |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetParallelism | ( | int | value | ) |
Sets value for parallelism
value | the number of threads to use when running parallel algorithms |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetPredictionCol | ( | string | value | ) |
Sets value for predictionCol
value | prediction column name |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetRank | ( | int | value | ) |
Sets value for rank
value | rank of the factorization |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetRatingCol | ( | string | value | ) |
Sets value for ratingCol
value | column name for ratings |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetRegParam | ( | double | value | ) |
Sets value for regParam
value | regularization parameter (>= 0) |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetSeed | ( | long | value | ) |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetTrainRatio | ( | double | value | ) |
Sets value for trainRatio
value | ratio between training set and validation set (>= 0 and <= 1) |
RankingTrainValidationSplit Synapse.ML.Recommendation.RankingTrainValidationSplit.SetUserCol | ( | string | value | ) |
Sets value for userCol
value | column name for user ids. Ids must be within the integer value range. |