public class RecommendationUtils extends Object
Constructor and Description |
---|
RecommendationUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.spark.api.java.JavaRDD<org.apache.spark.mllib.recommendation.Rating> |
preProcess(MLModelConfigurationContext context,
boolean containsImplicitData)
Pre processes the data set.
|
public static org.apache.spark.api.java.JavaRDD<org.apache.spark.mllib.recommendation.Rating> preProcess(MLModelConfigurationContext context, boolean containsImplicitData) throws DatasetPreProcessingException
context
- MLModelConfigurationContext
containsImplicitData
- the data set contains implicit feedback data.DatasetPreProcessingException
- If error occurred when pre processing the data set.Copyright © 2015 WSO2, Inc.. All Rights Reserved.