diff --git a/Project.toml b/Project.toml index f886f88..115bbbe 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "LearnDataFrontEnds" uuid = "5cca22a3-9356-470e-ba1b-8268d0135a4b" authors = ["Anthony D. Blaom "] -version = "0.1.0" +version = "0.1.1" [deps] CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597" @@ -12,7 +12,7 @@ Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" [compat] CategoricalArrays = "0.10" -LearnAPI = "0.2" +LearnAPI = "0.2, 1" MLCore = "1.0.0" StatsModels = "0.7.4" Tables = "1" diff --git a/src/sage.jl b/src/sage.jl index 21eebf3..89d536e 100644 --- a/src/sage.jl +++ b/src/sage.jl @@ -60,13 +60,13 @@ training. `view=false`. The first option is only available for tables with transposable element types (e.g., floats). -- `code_type` determines the internal representation `y` of the target. Possible values are: +- `code_type`: determines the internal representation `y` of the target. Possible values are: - `:small`: the element type of `y` is the reference (code) type `R <: Unsigned` for the categorical array supplied by user (internal eltype for the array). Choose this to minimize memory requirements. - - `:int`: `y` has an `Integer` element type `widen(R) <: Integer`. Choose this to + - `:int`: the element type of `y` is `widen(R) <: Integer`. Choose this to safeguard against arithmetic overflows if these are likely; run `@doc widen` for details.