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

fix type hint #1193

Merged
merged 1 commit into from
Sep 20, 2023
Merged

fix type hint #1193

merged 1 commit into from
Sep 20, 2023

Conversation

paxcema
Copy link
Contributor

@paxcema paxcema commented Sep 20, 2023

In response to mdb_evaluator#32.

Users can now do:

jai = json_ai_from_problem(train_df,
                           ProblemDefinition.from_dict({'target': TARGET}))
jai.accuracy_functions = [{'module': 'precision_score', 'args': {'average': 'macro'}}]

To control the arguments passed into sklearn metrics.

@paxcema paxcema marked this pull request as ready for review September 20, 2023 23:53
@paxcema paxcema merged commit 4e8c0d9 into staging Sep 20, 2023
9 checks passed
@paxcema paxcema mentioned this pull request Oct 26, 2023
@hamishfagg hamishfagg deleted the fix_fn_kwargs branch December 10, 2024 04:05
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.

1 participant