Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
79d8f45b
Commit
79d8f45b
authored
May 20, 2022
by
Tiago Peixoto
Browse files
Fix docstring typo
parent
358ba2f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/inference/partition_modes.py
View file @
79d8f45b
...
...
@@ -131,7 +131,7 @@ class PartitionModeState(object):
return
self
.
_base
.
virtual_add_partition
(
b
,
relabel
)
def
replace_partitions
(
self
):
r
"""Removes and re-adds every partition, after relabelling, an returns
r
"""Removes and re-adds every partition, after relabelling, an
d
returns
the entropy difference (negative log probability)."""
return
self
.
_base
.
replace_partitions
(
_get_rng
())
...
...
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