Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dev
scikit-multimodallearn
Commits
b09e2d1d
Commit
b09e2d1d
authored
Mar 04, 2021
by
Dominique Benielli
Browse files
Update combo.py
parent
b398e184
Pipeline
#6495
passed with stages
in 6 minutes and 58 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
multimodal/boosting/combo.py
View file @
b09e2d1d
...
...
@@ -450,6 +450,7 @@ class MuComboClassifier(BaseEnsemble, ClassifierMixin, UBoosting):
self
.
n_classes_
=
len
(
self
.
classes_
)
self
.
n_views_
=
n_views
self
.
n_features_
=
self
.
X_
.
shape
[
1
]
self
.
n_features_in_
=
self
.
n_features_
if
self
.
n_classes_
==
1
:
# This case would lead to division by 0 when computing the cost
# matrix so it needs special handling (but it is an obvious case as
...
...
Write
Preview
Supports
Markdown
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