EpistasisLab / EpistasisLab/tpot

Running Exported TPot File asks for target Variable

Open
#937 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Jupyter Notebook
Stars
10.1k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

[provide general introduction to the issue and why it is relevant to this repository]
I run the following command 👍 tpot partitioned_data/part_3/order_products__prior.csv -is , -target class -o tpot_exported_pipeline.py -g 5 -p 20 -cv 5 -s 42 -v 2
I get the following error:
File "/Users/anshumanbhowmik/anaconda3/lib/python3.7/site-packages/tpot/driver.py", line 485, in _read_data_file
'The provided data file does not seem to have a target column. '
## Context of the issue
If I am using featuretools featureset entity to generate features. Since this a composite dataset do I need to create a prediction vraiable (Y value) in my dataset that I am passing to TPOT. My understanding was passing the entitydata set (which has only x values) I should be able to use the predict function in TPOT
[provide more detailed introduction to the issue itself and why it is relevant]
TPOT is generating features of its own in the exported/generated TPot File. How can I change the file such that I can pass the saved feature tool features as opposed to features from TPot

[Archive.zip](https://github.com/EpistasisLab/tpot/files/3766158/Archive.zip)
[Archive.zip](https://github.com/EpistasisLab/tpot/files/3766160/Archive.zip)

[the remaining entries are only necessary if you are reporting a bug]

## Process to reproduce the issue

[ordered list the process to finding and recreating the issue, example below]

1. User creates TPOT instance
2. User calls TPOT `fit()` function with training data
3. TPOT crashes with a `KeyError` after 5 generations

## Expected result

[describe what you would expect to have resulted from this process]

## Current result

[describe what you currently experience from this process, and thereby explain the bug]

## Possible fix

[not necessary, but suggest fixes or reasons for the bug]

## `name of issue` screenshot

[if relevant, include a screenshot]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.