Package org.apache.spark.graphx.lib
Class SVDPlusPlus
Object
org.apache.spark.graphx.lib.SVDPlusPlus
Implementation of SVD++ algorithm.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classConfiguration parameters for SVDPlusPlus.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionrun(RDD<Edge<Object>> edges, SVDPlusPlus.Conf conf) Implement SVD++ based on "Factorization Meets the Neighborhood: a Multifaceted Collaborative Filtering Model", available here.
- 
Constructor Details- 
SVDPlusPluspublic SVDPlusPlus()
 
- 
- 
Method Details- 
runpublic static scala.Tuple2<Graph<scala.Tuple4<double[],double[], runObject, Object>, Object>, Object> (RDD<Edge<Object>> edges, SVDPlusPlus.Conf conf) Implement SVD++ based on "Factorization Meets the Neighborhood: a Multifaceted Collaborative Filtering Model", available here.The prediction rule is rui = u + bu + bi + qi*(pu + |N(u)|^^-0.5^^*sum(y)), see the details on page 6. - Parameters:
- edges- edges for constructing the graph
- conf- SVDPlusPlus parameters
- Returns:
- a graph with vertex attributes containing the trained model
 
 
-