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

Invalid syntax error on the calculate_add_metrics cell #409

Closed
ludovicmoncla opened this issue May 1, 2024 · 1 comment · Fixed by #424
Closed

Invalid syntax error on the calculate_add_metrics cell #409

ludovicmoncla opened this issue May 1, 2024 · 1 comment · Fixed by #424
Labels
documentation Improvements or additions to documentation

Comments

@ludovicmoncla
Copy link

There is a syntax error in the following cell:

#EXAMPLE
my_classifier.calculate_add_metrics(a
    y_true=my_classifier.orig_label,
    y_pred=my_classifier.pred_label,
    y_score=my_classifier.pred_conf,
    phase="test",
)

found in this page: https://mapreader.readthedocs.io/en/latest/User-guide/Classify/Train.html#testing
The a must be removed after the parenthesis.

@ludovicmoncla ludovicmoncla added the documentation Improvements or additions to documentation label May 1, 2024
@rwood-97
Copy link
Collaborator

rwood-97 commented May 8, 2024

Will add to #417

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants