Questions tagged [tpot]

TPOT is a Python Automated Machine Learning tool that optimizes machine learning pipelines using genetic programming.

46 questions
0
votes
2 answers

TPOT for hyperparameter tuning

I want to used TPOT for hyperparameter tunning of model. I know that TPOT can give me best machine learning pipeline with best hyperparameter. But in my case I have pipeline and I want to just tune its parameter my pipeline is as…
0
votes
0 answers

Dynamically import libraries to fit pipelines stored in string format in csv file

I am using TPOT and Auto-Sklearn on a custom dataset to evaluate each pipeline they create by its accuracy and the feature importance. I have iteratively fitted a classifier and stored all the pipelines as well as their accuracies in a csv file.…
0
votes
0 answers

Increasing Storage Space on EC2 instance AWS to fix Kibana read-only error

I am currently using an EC2 instance on AWS to host a network using T-pot and therefore Kibana. I have run out of storage space on the hosted machine, giving this error when trying to load statistical data: [esaggs] > EsError: index [.async-search]…
0
votes
0 answers

Can't pickle of TPOTRegressor with Multioutputregressor

my code is as below.. model = TPOTRegressor() multi_model = MultiOutputRegressor(model).fit(x_train, y_train) joblib.dump(multi_model , './multi_model.pkl') Training is working OK.. However, it can't save and shows errors as below.. How to save…
MCPMH
  • 175
  • 1
  • 1
  • 11
0
votes
1 answer

TPOT and Dask-Distributed, only utilizing one worker machine when 2 are connected to scheduler?

PROBLEM DESCRIPTION I'm new to running dask-distributed with TPOT (although fairly seasoned in TPOT on a single machine). I'm trying to set up two worker machines (separate computers) to work with my TPOT run, however only one worker is actually…
wildcat89
  • 1,159
  • 16
  • 47
0
votes
1 answer

Unable to import tpot

I tried to install TPOT as per http://epistasislab.github.io/tpot/installing/ I had trouble installing DEAP, so I had installed setuptools==58. Both tpot and DEAP installed. After installation, when I ran "import tpot", I get the following…
geoabram
  • 125
  • 2
  • 11
0
votes
1 answer

How to nest multiple regression functions of Sklearn?

I am trying to implement a nested regression model separately which I got as an output from TPOT. The output of TPOT is: RandomForestRegressor(XGBRegressor(XGBRegressor(**args1), **args2), **args3) My code is so far: from xgboost import…
Debayan Paul
  • 95
  • 2
  • 9
0
votes
1 answer

Shap or Lime with TPOT classifier

How would you go about using shap or lime or any other model interpretability tools with a TPOT exported pipeline? For example, here is some code for shap library, but you cannot pass the TPOT pipeline in to it. What would you pass in there…
aleinikov
  • 43
  • 1
  • 7
0
votes
1 answer

ValueError: Not all operators in None supports sparse matrix. Please use "TPOT sparse" for sparse matrix

I am trying to do text classification with TPOT. I know you can save the vocabulary for the TfidfVectors but I am having some issues with getting the results for my model. from sklearn.feature_extraction.text import CountVectorizer,…
Juanvulcano
  • 1,354
  • 3
  • 26
  • 44
0
votes
2 answers

TPOT: TPOTRegressor is showing Name Error

Here is the code I am running about TPOTRegressor. from tpot import TPOTRegressor from sklearn.datasets import load_boston from sklearn.model_selection import train_test_split housing = sklearn.datasets.load_boston() X_train, X_test, y_train,…
0
votes
1 answer

Cannot import pandas: ImportError: cannot import name 'ops'

I am not able to import pandas in the conda environment py35 in a virtual machine. I get this error in the notebook, I started getting this error after I conda force installed tpot package. After I conda force installed tpot, I conda force installed…
Christa
  • 643
  • 2
  • 10
  • 17
0
votes
0 answers

how to generate the confusion matrix through cross validation in python?

I am using the iris flower dataset to do the sorting. I need to make a confusion matrix through cross validation (fold = 10) but I don't know how to do it. I generated the confusion matrix of only one round. # I am using TPOT autoML library…
Jane Borges
  • 552
  • 5
  • 14
0
votes
2 answers

RuntimeError: A pipeline has not yet been optimized. Please call fit() first.Problem with TPOT Automated Machine Learning in Python

When executing a sample code, I am encountering the following problem: "RuntimeError: A pipeline has not yet been optimized. Please call fit() first. The Problem with TPOT Automated Machine Learning in Python. I am trying to make the example:…
Jane Borges
  • 552
  • 5
  • 14
0
votes
1 answer

tpot: Use multi-output regressors only

I want to use tpot. The data I have includes multi-output continuous variables only (i.e. output shape is: (n_samples, n_output_variables), where all items are floats). This could be achievable using sklearn's MultiOutputRegressor class. But because…
DaveTheAl
  • 1,995
  • 4
  • 35
  • 65
0
votes
1 answer

TPOT model in google ml-engine

I have a trained model using TPOT. When I tried loading the model to ml-engine it says: No module named tpot.builtins.stacking_estimator The error makes sense since TPOT is an external package, not included in Cloud ML Engine runtime versions. Is…
A. Sen
  • 53
  • 4