Skip to content

Commit

Permalink
Update learn_loop.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
AmandaWasserman authored Nov 8, 2024
1 parent 80dddc5 commit 77c2dbf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/learn_loop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ In interactive mode, you must define the required variables and use the :py:mod:
:linenos:
>>> from resspect.learn_loop import learn_loop
>>> from resspect import LoopConfiguration
>>> nloops = 1000 # number of iterations
>>> method = 'Bazin' # only option in v1.0
Expand All @@ -93,9 +94,9 @@ In interactive mode, you must define the required variables and use the :py:mod:
>>> train = 'original' # initial training
>>> batch = 1 # size of batch
>>> learn_loop(nloops=nloops, features_method=method, classifier=ml,
>>> learn_loop(LoopConfiguration(nloops=nloops, features_method=method, classifier=ml,
>>> strategy=strategy, path_to_features=input_file, output_metrics_file=metric,
>>> output_queried_file=queried, training=train, batch=batch)
>>> output_queried_file=queried, training=train, batch=batch))
Alternatively you can also run everything from the command line:

Expand Down

0 comments on commit 77c2dbf

Please sign in to comment.