We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, Recently i've finished setting up a Spark cluster on couple of separate VMs.
When i was trying to perform SKlearn model training using Joblib-spark i've encountered following problem:
from pyspark.sql import SparkSession spark = SparkSession.builder.remote('sc://<master node ip>').appName("JoblibSparkBackend").getOrCreate() register_spark() param_distributions = { "n_estimators": list(range(100, 500, 50)), "max_depth": list(range(2, 7)), } model = RandomForestRegressor() random_forest = RandomizedSearchCV(model,param_distributions,cv=5,refit=True) with parallel_backend('spark', n_jobs=4): random_forest.fit(X=X_train,y=y_train)
... NotImplementedError: sparkContext() is not implemented.
Is there a workaround for this issue? Or is this something that will be implemented in a future ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
Recently i've finished setting up a Spark cluster on couple of separate VMs.
When i was trying to perform SKlearn model training using Joblib-spark i've encountered following problem:
Is there a workaround for this issue? Or is this something that will be implemented in a future ?
The text was updated successfully, but these errors were encountered: