Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
bob.measure
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bob
bob.measure
Commits
bed991a0
Commit
bed991a0
authored
Oct 16, 2017
by
Manuel Günther
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed curve to show values between [0,1]
parent
c970a982
Pipeline
#13219
passed with stages
in 8 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
doc/guide.rst
doc/guide.rst
+4
-3
No files found.
doc/guide.rst
View file @
bed991a0
...
...
@@ -413,18 +413,19 @@ obtained in the CMC plot above.
from matplotlib import pyplot
cmc_scores = []
for probe in range(10):
for probe in range(10
00
):
positives = numpy.random.normal(1, 1, 1)
negatives = numpy.random.normal(0, 1, 19)
cmc_scores.append((negatives, positives))
for probe in range(10):
for probe in range(10
00
):
negatives = numpy.random.normal(-1, 1, 10)
cmc_scores.append((negatives, None))
bob.measure.plot.detection_identification_curve(cmc_scores, rank=1, logx=True)
pyplot.xlabel('False Alarm Rate')
pyplot.xlim([0.0001, 1])
pyplot.ylabel('Detection & Identification Rate (%)')
pyplot.ylim([0,1
00
])
pyplot.ylim([0,1])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment