We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e35d7e commit 7b58c60Copy full SHA for 7b58c60
examples/src/main/scala/org/apache/spark/examples/mllib/TallSkinnyPCA.scala
@@ -44,7 +44,7 @@ object TallSkinnyPCA {
44
val sc = new SparkContext(conf)
45
46
// Load and parse the data file.
47
- val rows = sc.textFile(args(1)).map { line =>
+ val rows = sc.textFile(args(0)).map { line =>
48
val values = line.split(' ').map(_.toDouble)
49
Vectors.dense(values)
50
}
examples/src/main/scala/org/apache/spark/examples/mllib/TallSkinnySVD.scala
@@ -44,7 +44,7 @@ object TallSkinnySVD {
0 commit comments