Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix java ;
  • Loading branch information
Nick Pentreath committed Jun 30, 2016
commit c2ce7cd9659484cec325ed137271c9b6ed52923d
4 changes: 2 additions & 2 deletions docs/mllib-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ import org.apache.spark.sql.Dataset;
Dataset<Row> convertedVecDF = MLUtils.convertVectorColumnsToML(vecDF);
Dataset<Row> convertedMatrixDF = MLUtils.convertMatrixColumnsToML(matrixDF);
// convert a single vector or matrix
org.apache.spark.ml.linalg.Vector mlVec = mllibVec.asML
org.apache.spark.ml.linalg.Matrix mlMat = mllibMat.asML
org.apache.spark.ml.linalg.Vector mlVec = mllibVec.asML;
org.apache.spark.ml.linalg.Matrix mlMat = mllibMat.asML;
{% endhighlight %}

Refer to the [`MLUtils` Java docs](api/java/org/apache/spark/mllib/util/MLUtils.html) for further detail.
Expand Down