spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donni Khan <prince.don...@googlemail.com>
Subject high TFIDF value terms
Date Mon, 05 Feb 2018 11:51:58 GMT
Hi,

anyone knows how I can get the high TFIDF value terms by using Spark(Java)?

IDF idf = *new* IDF().setInputCol("TF").setOutputCol("IDF");

IDFModel idfModel = idf.fit(featurizedData);

DataFrame tfidf = idfModel.transform(featurizedData);


Thanks;

Donni

Mime
View raw message