Home > Software design >  How to use Autosklearn with dask dataframe?
How to use Autosklearn with dask dataframe?

Time:12-08

How can I use dask dataframe in Autosklearn?

My code is correct and working using the Pandas dataframe but not working with Dask. I'm using the Dask dataframe because my dataset is very large.

Is there any autosklearn support for dask?

CodePudding user response:

You can convert this into dataframe by ref to the link below click here

After converting it into df you can use it with sklearn

from sklearn.datasets import make_classification
from sklearn.svm import SVC
from sklearn.model_selection import GridSearchCV
import pandas as pd

We’ll use scikit-learn to create a pair of small random arrays, one for the features X, and one for the target y.

X, y = make_classification(n_samples=1000, random_state=0)
X[:5]

Reference link: click here

CodePudding user response:

It looks like there is support for autosklearn with Dask, here are some helpful docs from autosklearn

  • Related