Skip to content

Commit

Permalink
Added warnolny=true to documentation build
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvaticus committed Jan 18, 2024
1 parent c6dc373 commit aeb0401
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ makedocs(sitename="BetaML.jl Documentation",
],
],
format = Documenter.HTML(prettyurls = false, analytics = "G-JYKX8QY5JW"),
warnonly = true,
#strict = true,
#doctest = false,
#source = SRC_TEMPDIR, # Attention here !!!!!!!!!!!
Expand Down
1 change: 0 additions & 1 deletion docs/src/GMM.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ GMM
```@index
Modules = [GMM]
Order = [:function, :constant, :type, :macro]
Private = false
```

## Detailed API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ data = @pipe HTTP.get(urlDataOriginal).body
println(now(), " ", "- data wrangling..." ) #src
# This results in a table where the rows are the observations (the various cars' models) and the column the fields. All BetaML models expect this layout.

# As the dataset is ordered, we randomly shuffle the data.
data[shuffle(copy(AFIXEDRNG),axes(data, 1)), :]
# As the dataset is ordered, we randomly shuffle the data.
idx = randperm(copy(AFIXEDRNG),size(data,1))
data[idx, :]
describe(data)

# Columns 1 to 7 contain characteristics of the car, while column 8 encodes the country or origin ("1" -> US, "2" -> EU, "3" -> Japan). That's the variable we want to be able to predict.
Expand Down
4 changes: 2 additions & 2 deletions src/Nn/Nn_MLJ.jl
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Base.@kwdef mutable struct NeuralNetworkRegressor <: MMI.Deterministic
descr::String = ""
"A call back function to provide information during training [def: `fitting_info`]"
cb::Function=fitting_info
"Random Number Generator (see [`BetaML.FIXEDSEED`](@ref)) [deafult: `Random.GLOBAL_RNG`]
"Random Number Generator (see [`FIXEDSEED`](@ref)) [deafult: `Random.GLOBAL_RNG`]
"
rng::AbstractRNG = Random.GLOBAL_RNG
end
Expand Down Expand Up @@ -199,7 +199,7 @@ Base.@kwdef mutable struct MultitargetNeuralNetworkRegressor <: MMI.Deterministi
descr::String = ""
"A call back function to provide information during training [def: `BetaML.fitting_info`]"
cb::Function=fitting_info
"Random Number Generator (see [`BetaML.FIXEDSEED`](@ref)) [deafult: `Random.GLOBAL_RNG`]
"Random Number Generator (see [`FIXEDSEED`](@ref)) [deafult: `Random.GLOBAL_RNG`]
"
rng::AbstractRNG = Random.GLOBAL_RNG
end
Expand Down

0 comments on commit aeb0401

Please sign in to comment.