GithubHelp home page GithubHelp logo

No Selected Features about tsfresh HOT 6 CLOSED

blue-yonder avatar blue-yonder commented on August 24, 2024
No Selected Features

from tsfresh.

Comments (6)

MaxBenChrist avatar MaxBenChrist commented on August 24, 2024

Can you provide an examplary notebook with data? Otherwise we can not investigate properly.

Also, can you provide a selection report? You get it by setting the write_selection_reportflag of the FeatureSelectionObject to True

from tsfresh.

javierorozco avatar javierorozco commented on August 24, 2024

This ZIP contains demo data and Jupiter Notebook
javier_demo.zip

from tsfresh.

MaxBenChrist avatar MaxBenChrist commented on August 24, 2024

You have too many unimportant features.

from tsfresh.feature_selection import FeatureSignificanceTestsSettings
sett = FeatureSignificanceTestsSettings()
sett.fdr_level = 0.5 # increases the risk of unimportant features being extracted
sett.write_selection_report = True # will create a report with more information

# i only inspect first columns to 50th feature to reduce number of irrelevant features 
X_filtered3 = select_features(X.iloc[:,0:50], y, feature_selection_settings=sett)
X_filtered3.head()

This will extract a__time_reversal_asymmetry_statistic__lag_2, a__mean_change and a__number_peaks__n_1

However, the handling of constant features is internally not done in the best fashion. TSFRESH could extract more features, I am working on that.

from tsfresh.

MaxBenChrist avatar MaxBenChrist commented on August 24, 2024

I looked into that in detail javier. I found some bugs but your problem stays the same. Your samples does not contain enough evidence to make a feature "relevant".

Either increase the FDR level or use another feature selection method

from tsfresh.

javierorozco avatar javierorozco commented on August 24, 2024

Thanks Max for the update, have you pushed the bugs fixing to master?

from tsfresh.

MaxBenChrist avatar MaxBenChrist commented on August 24, 2024

Yes it is commit 7a21b5e

you can install master of tsfresh by pip install git+https://github.com/blue-yonder/tsfresh

from tsfresh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.