EpistasisLab / EpistasisLab/tpot

Is possible to have access to the features used in generations after selection, preprocessing and construction?

Open
#640 8 comments 3 reactions 0 assignees View on GitHub
enhancement question
Dominant language
Jupyter Notebook
Stars
10.1k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

Hello, thanks for TPOT, is really amazing!

I was looking this information in other questions, no found yet,

TPOT execute Feature selection, preprocessing and construction according to the documentation:

![screen shot 2017-12-17 at 09 28 30](https://user-images.githubusercontent.com/1774227/34077773-d4c423e2-e30c-11e7-9763-68a73f855187.png)

Is it possible to have access to those finally selected features? even better, is possible to have them after each generation?

````
Generation 1 - Current best internal CV score: 0.88888....
Best pipeline so far: ...
Used features: ... (exported to a file PATH/TO/USED_FEATURES)

Generation 2 - Current best internal CV score: 0.88899....
Best pipeline so far: ...
Used features: ... (exported to a file PATH/TO/USED_FEATURES)
...
````

After executing the export:

`tpot.export('tpot_pipeline.py')`

It will produce the code:

```
...
tpot_data = np.recfromcsv('PATH/TO/DATA/FILE', delimiter='COLUMN_SEPARATOR', dtype=np.float64)
...
```

It means that separately we have to provide the data to the selected pipeline, instead of using the features used and generated by TPOT, is that Ok or am missing something?

Ideally (in my opinion), would be extraordinarily helpful for research propose, to know the best pipeline and features used after each generation. This could be used to analyze the progress improvement.

Thanks a lot for in advance.

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.