Skip to content

Commit ce94da8

Browse files
committed
Java Bean -> JavaBean
1 parent 0b5c182 commit ce94da8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/src/main/java/org/apache/spark/examples/ml/JavaSimpleParamsExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static void main(String[] args) {
4747
JavaSQLContext jsql = new JavaSQLContext(jsc);
4848

4949
// Prepare training data.
50-
// We use LabeledPoint, which is a case class. Spark SQL can convert RDDs of Java Beans
50+
// We use LabeledPoint, which is a JavaBean. Spark SQL can convert RDDs of JavaBeans
5151
// into SchemaRDDs, where it uses the bean metadata to infer the schema.
5252
List<LabeledPoint> localTraining = Lists.newArrayList(
5353
new LabeledPoint(1.0, Vectors.dense(0.0, 1.1, 0.1)),

0 commit comments

Comments
 (0)