Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prototype draft #3

Merged
merged 51 commits into from
Apr 5, 2024
Merged

Prototype draft #3

merged 51 commits into from
Apr 5, 2024

Conversation

teobucci
Copy link
Member

@teobucci teobucci commented Mar 25, 2024

Design

Inputs:

  • data in CSV format
  • text input for the name of the target column
  • PCMCI:
    • Test choice CMI / ParCorr
    • Max lag 0,...,5
  • TEFS:
    • Direction backward / forward
    • Use contemporary yes / no
    • Max lag features nolag,1,...,5
    • Max lag target 1,...,5

Outputs (causal):

  • pickle dictionary with baseline
  • PCMCI:
    • PDF table of selected features with on top the three R2 scores
    • pickle dictionary
  • TEFS:
    • PDF table of selected features with on top the three R2 scores
    • pickle dictionary

Outputs (wrapper):

  • Wrapper plot of the score evolution in all the configs
  • pickle dictionary

More notes

  • Assume data is already preprocessed
  • Ask for train and test set separately

TODO List:

  • Propagate user inputs "target column name"
  • Raise an error when contemporary is false and lag is set to "no lag" in TEFS
  • Test with wps_causal.py and make sure everything runs smoothly

@teobucci teobucci changed the title Dev Prototype draft Mar 25, 2024
@cehbrecht cehbrecht merged commit 570f893 into main Apr 5, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants