Skip to content

Commit

Permalink
Clarify when in_memory option applies.
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCrews committed Feb 21, 2022
1 parent 358ccc5 commit 1ef2cca
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions dedupe/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -942,13 +942,14 @@ def __init__(self,
settings_file: A file object containing settings
info produced from the
:func:`~dedupe.api.ActiveMatching.write_settings` method.
num_cores: the number of cpus to use for parallel
num_cores: The number of cpus to use for parallel
processing, defaults to the number of cpus
available on the machine. If set to 0, then
multiprocessing will be disabled.
in_memory: Boolean that if True will compute pairs using
sqlite in RAM with the sqlite3 ':memory:' option
in_memory: If True, :meth:`dedupe.Dedupe.pairs` will generate
pairs in RAM with the sqlite3 ':memory:' option
rather than writing to disk. May be faster if
sufficient memory is available.
Expand Down Expand Up @@ -1000,13 +1001,13 @@ def __init__(self,
the variables will be used for
training a model. See :ref:`variable_definitions`
num_cores: the number of cpus to use for parallel
num_cores: The number of cpus to use for parallel
processing. If set to `None`, uses all cpus
available on the machine. If set to 0, then
multiprocessing will be disabled.
in_memory: Boolean that if True will compute pairs using
sqlite in RAM with the sqlite3 ':memory:' option
in_memory: If True, :meth:`dedupe.Dedupe.pairs` will generate
pairs in RAM with the sqlite3 ':memory:' option
rather than writing to disk. May be faster if
sufficient memory is available.
Expand Down

0 comments on commit 1ef2cca

Please sign in to comment.