Questions tagged [auto-sklearn]

30 questions
56
votes
1 answer

ImportError: cannnot import name 'Imputer' from 'sklearn.preprocessing'

Trying to import Imputer from sklearn.preprocessing, import pandas as pd dataset = pd.read_csv('Data.csv') X = dataset.iloc[:, :-1].values y = dataset.iloc[:, 3].values #PART WHERE ERROR OCCURS:- from sklearn.preprocessing import Imputer Shows…
Vikram
  • 714
  • 1
  • 5
  • 10
3
votes
2 answers

Is Auto-sklearn available for apple silicon?

I have my laptop to be the latest MBP with M1 chip. Weird errors popped out while I was trying to install the auto-sklearn package for my machine. I wonder is that package compatible with M1 chip or is there any method that I am able to get it…
weiyang wang
  • 87
  • 1
  • 3
3
votes
1 answer

Is it possible to get all models of AutoSklearn?

I'm trying to save all models generated by autosklearn, but I can only get the best model. import sklearn.datasets import sklearn.metrics import autosklearn.classification # Load data X, y =…
Israel Varea
  • 2,600
  • 2
  • 17
  • 24
2
votes
1 answer

Train and test data setup for sklearn

I'm creating a classification model to predict the outcome of sports event(win/loss) and am running into a data setup conundrum. Currently the data is setup as follows: example_data = [team_a_feat_1, team_a_feat_2...team_b_feat_1, team_b_feat_2...…
2
votes
1 answer

Dummy prediction failed with run state StatusType.CRASHED in auto-sklearn

I am trying to train a simple classification model on the iris dataset using auto-sklearn. When I try to fit my model, I keep getting the following error, ValueError: (' Dummy prediction failed with run state StatusType.CRASHED and additional…
Minura Punchihewa
  • 1,498
  • 1
  • 12
  • 35
2
votes
0 answers

How can I use Auto SKlearn without affecting my root logger?

My project's logger changes after executing .fit(). I tried to play around with the logging_configuration parameter when instantiating automl object, but the problem was not solved. Here is a minimal example. import logging import…
Sergei I
  • 21
  • 1
2
votes
1 answer

I get "UserWarning: Port 8787 is already in use" when use AutoSklearn, Why would AutoSklearn use ports?

Here is my code automl = autosklearn.classification.AutoSklearnClassifier( include={'feature_preprocessor': ["no_preprocessing"], }, exclude={ 'classifier': ['random_forest']}, time_left_for_this_task=60*10, per_run_time_limit=60*1, memory_limit =…
asmgx
  • 7,328
  • 15
  • 82
  • 143
2
votes
1 answer

Use logging along with auto-sklearn

I can't get my head over the way to use logging in conjonction with auto-sklearn. The example from the doc about logging with auto-sklearn is here. What I'm trying to achieve is: a main script with a main logger, functions runing auto-sklearn…
tgrandje
  • 2,332
  • 11
  • 33
1
vote
0 answers

please i can not install auto sklearn. please i'm trying: !pip install auto-sklearn.in google colab. i have Python 3.10.12. i have windows ten

My installation consists of Python 3.10.12 on Windows 10. I'm trying to install a module using pip: !pip install auto-sklearn in google colab. Problem: It worked before but now fails to install; Error: Collecting auto-sklearn
Using cached…
1
vote
1 answer

label_binarize not outputting the correct number of classes

When I use label_binarize I do not get the correct number of classes even though I specify it. This is my simple code: import numpy as np from sklearn.preprocessing import label_binarize y = ['tap', 'not_tap', 'tap', 'tap', 'not_tap', 'tap',…
Joe
  • 357
  • 2
  • 10
  • 32
1
vote
2 answers

How to use Autosklearn with dask dataframe?

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?
1
vote
1 answer

How to convert automl model ( using autosklearn ) to pmml?

I I have already completed learning using autosklearn.calssification.AutoSklearnClassifer(). I want to convert the trained model to PMML. After changing the SimpleClassificationPipeline to the sklearn pipeline in the trained model, I used the…
1
vote
0 answers

What is the mathematical meaning of split0_test_score in "cv_results_" attribute of GridSearchCV in sklearn.model_selection

I am trying to understand the meaning of GridSearchCV attributes, can someone help me understand the mathematical representation of "split0_test_score'?
0
votes
1 answer

Problem with installing auto sklearn package

I wanted to install auto sklearn package for Jupyter Notebook with !pip install auto-sklearn I tried it on Anaconda prompt too but didn't work and I faced an error which is discussed here. Citation: I believe this is due to the recent release of…
Etemon
  • 53
  • 2
  • 11
0
votes
0 answers

How to resolve this installation error in colab?

Once I run this code: !pip install auto-sklearn I get this error: Collecting auto-sklearn Downloading auto-sklearn-0.15.0.tar.gz (6.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.5/6.5 MB 16.9 MB/s eta 0:00:00 Installing…
1
2