Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
reflect new function name
  • Loading branch information
benwandrew authored Jun 14, 2023
1 parent 8ce59c5 commit 686a408
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $$
# Example Code

```
from autora.experimentalist.sampler.uncertainty import uncertainty_sampler
from autora.experimentalist.sampler.uncertainty import uncertainty_sample
from sklearn.linear_model import LogisticRegression
import numpy as np
Expand All @@ -39,5 +39,5 @@ lr_theorist = LogisticRegression()
lr_theorist.fit(X,y)
#Sampler
X_new = uncertainty_sampler(X, lr_theorist, n, measure ="least_confident")
```
X_new = uncertainty_sample(X, lr_theorist, n, measure ="least_confident")
```

0 comments on commit 686a408

Please sign in to comment.