RE: TF-IDF Question

2015-06-04 Thread Somnath Pandeya
Somnath From: franco barrientos [mailto:franco.barrien...@exalitica.com] Sent: Thursday, June 04, 2015 11:17 PM To: user@spark.apache.org Subject: TF-IDF Question Hi all!, I have a .txt file where each row of it it's a collection of terms of a document separated by space. For example: 1 Hola

TF-IDF Question

2015-06-04 Thread franco barrientos
Hi all!, I have a .txt file where each row of it it¹s a collection of terms of a document separated by space. For example: 1 Hola spark² 2 .. I followed this example of spark site https://spark.apache.org/docs/latest/mllib-feature-extraction.html and i get something like this: tfidf.first()