python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Spark Java: How can we access the p Values in UnivariateFeatureSelector
I am using Spark 3.1.3 and I am trying to take the pValues from the result dataframe of UnivariateFeatureSelector.
UnivariateFeatureSelector selector = new UnivariateFeatureSelector()
.set...
Des0lat0r
Votes: 0
Answers: 0
matrix factorization model returning much smaller dataframe after predicting ratings in pyspark
I'm trying to create a product recommender with the code below. I'm using matrix factorization from spark ml. I have data that has a customer_id, product_id, and a numeric rating value that has been...
user3476463
Votes: 0
Answers: 1
How do I extract feature_importances from my model in SparklyR?
I would like to extract feature_importances from my model in SparklyR. So far I have the following reproducible code that is working:
library(sparklyr)
library(dplyr)
sc <- spark_connect(method = ...
piper180
Votes: 0
Answers: 1
Generate sparse vector for all the column values in spark dataframe
column1
column2
1
1
1
0
1
0
0
0
Now I want to calculate the hash or sparse vector of all the values in column1 and column2
Tanmay Sinha
Votes: 0
Answers: 1