Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger doc generation #1

Merged
merged 2 commits into from
Jul 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ jobs:
julia --project=docs -e '
if ENV["BUILD_DOCS"] == "true"
using Documenter: doctest
using MLJBase
using MLInterface
@info "attempting to run the doctests"
doctest(MLJBase)
doctest(MLInterface)
else
@info "skipping the doctests"
end'
Expand Down
4 changes: 2 additions & 2 deletions docs/src/anatomy_of_an_implementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ MLInterface.implemented_methods(::Type{<:MyRidge}) = [

Optional trait declarations articulate the permitted types for training data. To be precise,
an implementation makes [scientific type](https://github.com/JuliaAI/ScientificTypes.jl)
declarations, which in this case ook like:
declarations, which in this case look like:

```julia
using ScientificTypesBase
Expand Down Expand Up @@ -207,7 +207,7 @@ If `predict` had instead returned `Distributions.pdf`-accessible probability dis
the declaration would be

```julia
operation_scitypes(::Type{<:MyRidge}) = Dict(:predict => AbstractVector{Density{<:Continuous}}})
operation_scitypes(::Type{<:MyRidge}) = Dict(:predict => AbstractVector{Density{<:Continuous}})
```

## Convenience macros
2 changes: 1 addition & 1 deletion src/MLInterface.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module MLInterface
module MLInterface

include("models.jl")
include("fit_update_ingest.jl")
Expand Down