Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.pad.base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.pad.base
Commits
47ed8ac1
There was a problem fetching the pipeline summary.
Commit
47ed8ac1
authored
6 years ago
by
Olegs NIKISINS
Browse files
Options
Downloads
Patches
Plain Diff
Fixed a missing method in OneClassGMM algorithm
parent
15c88bed
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!39
Fixed a missing method in OneClassGMM algorithm
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/pad/base/algorithm/OneClassGMM.py
+2
-2
2 additions, 2 deletions
bob/pad/base/algorithm/OneClassGMM.py
with
2 additions
and
2 deletions
bob/pad/base/algorithm/OneClassGMM.py
+
2
−
2
View file @
47ed8ac1
...
...
@@ -18,7 +18,7 @@ import bob.io.base
from
sklearn
import
mixture
from
bob.pad.base.utils
import
convert_frame_cont_to_array
,
mean_std_normalize
from
bob.pad.base.utils
import
convert_frame_cont_to_array
,
mean_std_normalize
,
convert_and_prepare_features
# ==============================================================================
# Main body :
...
...
@@ -184,7 +184,7 @@ class OneClassGMM(Algorithm):
"""
# training_features[0] - training features for the REAL class.
real
=
self
.
convert_and_prepare_features
(
real
=
convert_and_prepare_features
(
training_features
[
0
])
# output is array
# training_features[1] - training features for the ATTACK class.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment