Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.learn.em
Commits
765d6448
Commit
765d6448
authored
Aug 03, 2017
by
Tiago de Freitas Pereira
Browse files
Fixed log message
parent
0abaac5f
Pipeline
#11612
passed with stages
in 25 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/learn/em/train.py
View file @
765d6448
...
...
@@ -76,7 +76,7 @@ def train(trainer, machine, data, max_iterations=50, convergence_threshold=None,
# Terminates if converged (and likelihood computation is set)
if
convergence_threshold
!=
None
and
convergence_value
<=
convergence_threshold
:
logger
.
info
(
"EM training converged after %d iterations with convergence value %f"
,
convergence_value
)
logger
.
info
(
"EM training converged after %d iterations with convergence value %f"
,
i
,
convergence_value
)
break
if
hasattr
(
trainer
,
"finalize"
):
trainer
.
finalize
(
machine
,
data
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment