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

Feature/classifier metrics #33

Merged
merged 32 commits into from
Dec 9, 2017
Merged

Feature/classifier metrics #33

merged 32 commits into from
Dec 9, 2017

Conversation

LoyVanBeek
Copy link
Member

This PR re-adds the classifier metrics that were removed from #30 to make the PR cleaner.

@LoyVanBeek LoyVanBeek added this to the Object recognition milestone Nov 21, 2017
from catkin_pkg.python_setup import generate_distutils_setup

d = generate_distutils_setup(
packages=['image_recognition_tools'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not required since it does not contain any code in the specified module

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also the 'src' dir can be fully removed

if args.output:
plt.savefig(args.output)
else:
plt.show()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No newline

@LoyVanBeek
Copy link
Member Author

@reinzor reviews processed

Rayman
Rayman previously requested changes Dec 6, 2017

find_package(catkin REQUIRED COMPONENTS)

catkin_python_setup()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be removed because it's not a python module (only a script)

@@ -0,0 +1,6 @@
from distutils.core import setup
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file can also be removed

@reinzor reinzor merged commit bbc9e4a into master Dec 9, 2017
@reinzor reinzor deleted the feature/classifier_metrics branch December 9, 2017 15:19
print ">> Labels: {}".format(csm.labels)
print ">> Accuracy: {acc:.3f}".format(acc=accuracy)

plot_false_positive_true_positive_rates(csm.labels,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Creating a figure on the side of the user allows to arrange the plots and subplots/figures by the user.
This is also the place to put a title etc.

@reinzor
Copy link
Contributor

reinzor commented Dec 11, 2017 via email

@LoyVanBeek
Copy link
Member Author

Yes I would. Low prio though

ar13pit pushed a commit that referenced this pull request May 13, 2019
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

3 participants