Skip to content

Commit a6bc77e

Browse files
committed
readme tweak
1 parent 36112ad commit a6bc77e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,15 @@ New contributions welcome. See the [road map](ROADMAP.md).
1313

1414
## Code snippet
1515

16-
Configure a learning algorithm, and inspect available functionality:
16+
Configure a learning algorithm:
1717

1818
```julia
1919
julia> algorithm = Ridge(lambda=0.1)
20+
```
21+
22+
Inspect available functionality:
23+
24+
```
2025
julia> LearnAPI.functions(algorithm)
2126
(:(LearnAPI.fit), :(LearnAPI.algorithm), :(LearnAPI.strip), :(LearnAPI.obs),
2227
:(LearnAPI.features), :(LearnAPI.target), :(LearnAPI.predict), :(LearnAPI.coefficients))

0 commit comments

Comments
 (0)