Skip to content

Commit

Permalink
readme tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
ablaom committed Oct 14, 2024
1 parent 36112ad commit a6bc77e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@ New contributions welcome. See the [road map](ROADMAP.md).

## Code snippet

Configure a learning algorithm, and inspect available functionality:
Configure a learning algorithm:

```julia
julia> algorithm = Ridge(lambda=0.1)
```

Inspect available functionality:

```
julia> LearnAPI.functions(algorithm)
(:(LearnAPI.fit), :(LearnAPI.algorithm), :(LearnAPI.strip), :(LearnAPI.obs),
:(LearnAPI.features), :(LearnAPI.target), :(LearnAPI.predict), :(LearnAPI.coefficients))
Expand Down

0 comments on commit a6bc77e

Please sign in to comment.