Skip to content

Commit 77c2dbf

Browse files
Update learn_loop.rst
1 parent 80dddc5 commit 77c2dbf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/learn_loop.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ In interactive mode, you must define the required variables and use the :py:mod:
8282
:linenos:
8383
8484
>>> from resspect.learn_loop import learn_loop
85+
>>> from resspect import LoopConfiguration
8586
8687
>>> nloops = 1000 # number of iterations
8788
>>> method = 'Bazin' # only option in v1.0
@@ -93,9 +94,9 @@ In interactive mode, you must define the required variables and use the :py:mod:
9394
>>> train = 'original' # initial training
9495
>>> batch = 1 # size of batch
9596
96-
>>> learn_loop(nloops=nloops, features_method=method, classifier=ml,
97+
>>> learn_loop(LoopConfiguration(nloops=nloops, features_method=method, classifier=ml,
9798
>>> strategy=strategy, path_to_features=input_file, output_metrics_file=metric,
98-
>>> output_queried_file=queried, training=train, batch=batch)
99+
>>> output_queried_file=queried, training=train, batch=batch))
99100
100101
Alternatively you can also run everything from the command line:
101102

0 commit comments

Comments
 (0)