TPOT is a Python Automated Machine Learning tool that optimizes machine learning pipelines using genetic programming.
Questions tagged [tpot]
46 questions
2
votes
1 answer
Configuring njobs with Python tpot
Can the njobs parameter be configured using tpot within code and not passed as command line parameter ?
Reading https://rhiever.github.io/tpot/using/ states :
-njobs NUM_JOBS Any positive integer or -1 Number of CPUs for evaluating pipelines in…

blue-sky
- 51,962
- 152
- 427
- 752
1
vote
1 answer
When I import TPotClassifier, it gets an attributeError about numpy. Specifically np.float doesn't exist. What am I missing?
Here is the full error traceback:
Traceback (most recent call last):
File "C:\Users\david\github\beluga3\SCRATCHPAPER_6.py", line 4, in
from MLModule.AI.featuretoolstpot.ml_framework import MyMLModeler
File…

David
- 39
- 6
1
vote
1 answer
How to find which model is selected by TPOT
Hi am using TPOT for machine learning I am getting 99% accuracy but I am not sure to which model did it predict can someone help me with this also does it do SMOTE?

Nitish Santpur
- 71
- 7
1
vote
1 answer
TPOT taking too long to train
Ive been trying to use tpot for the first time on a dataset that has approximately 7000 rows, when trying to train tpot on the training dataset which is 25% of the dataset as a whole, tpot takes too long. ive been running the code for approximately…

hellomoto
- 25
- 1
- 4
1
vote
1 answer
Explanation of pipeline generated by tpot
I was using tpotClassifier() and got the following pipeline as my optimal pipeline. I am attaching my pipeline code which I got. Can someone explain the pipeline processes and order?
import numpy as np
import pandas as pd
from sklearn.ensemble…

Soothy
- 34
- 7
1
vote
0 answers
Can`t reproduce the score after refitting TPOT regressor
The exported pipeline of TPOT stating that the Average CV score on the training set was: -128.90187963562252 (neg_MAE).
However, refitting the pipeline with the same exact training set yields way smaller MAE around (35).
Moreover predicting unseen…

Ghali Yakoub
- 11
- 3
1
vote
1 answer
Does the "tpot" model object automatically apply any scaling or other transformations when .score or .predict is called on new out-of-sample data?
Here is basic code for training a model in TPOT:
from tpot import TPOTClassifier
from sklearn.datasets import load_digits
from sklearn.model_selection import train_test_split
digits = load_digits()
X_train, X_test, y_train, y_test =…

aleinikov
- 43
- 1
- 7
1
vote
0 answers
Regarding Tpot deployed on VM
I just wanted to comfirm this small thing we deployed tpot on azure cloud VM and tpot is honeypot it attracts the attackers to attack on that VM and if there will be large amounts of attacks then there will be any issue with your policy because we…

Ayush puri
- 11
- 1
1
vote
1 answer
TPOT error in python cannot set using a slice indexer with a different length
I'm trying to run tpot to optimize hyperparameters of a random forest using genetic algorithms. I am receiving an error and am not quite sure how to fix it. Below is the essential code I'm using.
from sklearn.ensemble import…

thehand0
- 1,123
- 4
- 14
1
vote
1 answer
Does TPOT support multi-label text classification?
How can I run TPOT to give me suggestions on what algorithm to use for a multi-label text classification? My data is already cleaned and divided into training and testing sets.

LD-DS-00
- 315
- 2
- 8
1
vote
0 answers
Cannot import tpot: ImportError: cannot import name 'ensure_object'
I've installed all the dependencies, so I'm not sure why I keep getting this error when I try to import tpot.
in ()
----> 1 import tpot
/anaconda/envs/py35/lib/python3.5/site-packages/tpot/__init__.py in…

Christa
- 643
- 2
- 10
- 17
1
vote
1 answer
what is the cause of TypeError: ufunc 'isnan' not supported for the input types when i don't have NaN value in my dataset
I have a dataset which after going through it I seem not to find any NaN values but unfortunately, am getting TypeError: ufunc 'isnan' not supported when I run the code.
Link to the dataset:…

Sabali
- 21
- 1
- 4
1
vote
1 answer
TPOT : Where is te the best pipeline (.py file) exported after fitting when working in COLAB
I'm running the example of MNIST dataset classification provided by TPOT documentation page. I'm doing this by using Google Colab, nonetheless I can't find the code with the best pipeline that is retrieved by tpot after training.
Can you please help…
user11449055
1
vote
1 answer
Dask keeps failing with killed worker exception while running TPOT
Im running tpot with dask running on kubernetes cluster on gcp, the cluster is 24 cores 120 gb memory with 4 nodes of kubernetes, my kubernetes yaml is
apiVersion: v1
kind: Service
metadata:
name: daskd-scheduler
labels:
app: daskd
role:…

Yogesh
- 418
- 1
- 4
- 12
1
vote
2 answers
How can I run TPOT with dask TO spark cluster (Standalone model or Mesos model)
I am trying to use your project named dask-spark proposed by Matthew Rocklin.
When adding the dask-spark into my project, I have a problem: Waiting for workers as shown in the following figure.
Here, I run two worker nodes (dask) as dask-worker…
user10388806