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

Dynamic .predict() arguments #563

Merged
merged 6 commits into from
Oct 7, 2021
Merged

Dynamic .predict() arguments #563

merged 6 commits into from
Oct 7, 2021

Conversation

paxcema
Copy link
Member

@paxcema paxcema commented Oct 4, 2021

Why

To fix #562.

How

Introduces a PredictionArguments dataclass that aims at generating defaults and setting any user-defined arguments for a predict() call. A couple statements are added in existing tests to account for the correct setting of these arguments.

Also, fixes a bug in the ICP block where the fixed_confidence setting would be incorrectly overridden in grouped TS tasks.

@paxcema paxcema changed the title Restore icp args Dynamic .predict() arguments Oct 4, 2021
lightwood/api/types.py Show resolved Hide resolved
@paxcema paxcema requested a review from George3d6 October 5, 2021 19:07
@paxcema paxcema merged commit 0b47ecc into staging Oct 7, 2021
@paxcema
Copy link
Member Author

paxcema commented Oct 8, 2021

Oh, forgot to mention this addresses #498

@paxcema paxcema mentioned this pull request Oct 11, 2021
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.

None yet

2 participants