Closed MOJTABAFA closed 8 years ago
Can we use following codes to infer P and T :
import argparse from pyspark import SparkContext, SparkConf from pyspark.mlib.linalg.distributed import RowMatrix . . . . S = sc.textFile("file_s") y = RowMatrix(S) T = y.numRows() P = y.numCols()
Let's do that if the user does not provide that information, as we discussed today.
Can we use following codes to infer P and T :