Skip to content Skip to sidebar Skip to footer
Showing posts with the label Apache Spark Mllib

What Hashing Function Does Spark Use For Hashingtf And How Do I Duplicate It?

Spark MLLIb has a HashingTF() function that computes document term frequencies based on a hashed va… Read more What Hashing Function Does Spark Use For Hashingtf And How Do I Duplicate It?

What Type Should The Dense Vector Be, When Using Udf Function In Pyspark?

I want to change List to Vector in pySpark, and then use this column to Machine Learning model for … Read more What Type Should The Dense Vector Be, When Using Udf Function In Pyspark?

Logistic Regression Pyspark Mllib Issue With Multiple Labels

I am trying to create a LogisticRegression model (LogisticRegressionWithSGD), but its getting an er… Read more Logistic Regression Pyspark Mllib Issue With Multiple Labels

Using Word2VecModel.transform() Does Not Work In Map Function

I have built a Word2Vec model using Spark and save it as a model. Now, I want to use it in another … Read more Using Word2VecModel.transform() Does Not Work In Map Function