Skip to content
New issue

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

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

Already on GitHub? # to your account

matpipe benchmark does not work with StratifiedKFold #191

Closed
ardunn opened this issue Feb 15, 2019 · 1 comment
Closed

matpipe benchmark does not work with StratifiedKFold #191

ardunn opened this issue Feb 15, 2019 · 1 comment

Comments

@ardunn
Copy link
Contributor

ardunn commented Feb 15, 2019

bc skf requires y as an arg also

Traceback (most recent call last):
  File "/Users/ardunn/alex/lbl/projects/common_env/dev_codes/hmte/projects/003_Air-Sensitivity/src/03_analyze.py", line 31, in <module>
    dfs = pipe.benchmark(df, "air_sensitive", kfold=kf)
  File "/Users/ardunn/alex/lbl/projects/automatminer/automatminer/automatminer/utils/pkg.py", line 82, in wrapper
    result = func(*args, **kwargs)
  File "/Users/ardunn/alex/lbl/projects/automatminer/automatminer/automatminer/pipeline.py", line 231, in benchmark
    for _, test_ix in kfold.split(df):
TypeError: split() missing 1 required positional argument: 'y'
@ardunn
Copy link
Contributor Author

ardunn commented Feb 20, 2019

fixed (for strict benchmarking) via 20fb5f1

@ardunn ardunn closed this as completed Feb 20, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant