Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clowdflows
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Alain Shakour
clowdflows
Commits
d8323743
Commit
d8323743
authored
Dec 03, 2014
by
Anze Vavpetic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auc: removed pos_label keyword
parent
230090c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
workflows/perfeval/library.py
workflows/perfeval/library.py
+1
-1
No files found.
workflows/perfeval/library.py
View file @
d8323743
...
...
@@ -49,7 +49,7 @@ def perfeval_classification_statistics(input_dict):
# AUC is defined only for binary classes
if
len
(
classes
)
==
2
:
auc
=
metrics
.
auc_score
(
y_true
,
y_pred
,
pos_label
=
0
)
auc
=
metrics
.
auc_score
(
y_true
,
y_pred
)
else
:
auc
=
'undefined for multiple classes'
return
{
'accuracy'
:
accuracy
,
'precision'
:
precision
,
'recall'
:
recall
,
...
...
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