You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[`LearnAPI.constructor`](@ref)`(algorithm)`| constructor for generating new or modified versions of `algorithm`| (no fallback) |`RidgeRegressor`|
19
-
|[`LearnAPI.functions`](@ref)`(algorithm)`| functions you can apply to `algorithm` or associated model (traits excluded) |`()`|`(:fit, :predict, :minimize, :(LearnAPI.algorithm), :obs)`|
20
-
|[`LearnAPI.kinds_of_proxy`](@ref)`(algorithm)`| instances `kind` of `KindOfProxy` for which an implementation of `LearnAPI.predict(algorithm, kind, ...)` is guaranteed. |`()`|`(Distribution(), Interval())`|
21
-
|[`LearnAPI.tags`](@ref)`(algorithm)`| lists one or more suggestive algorithm tags from `LearnAPI.tags()`|`()`| (:regression, :probabilistic) |
22
-
|[`LearnAPI.is_pure_julia`](@ref)`(algorithm)`|`true` if implementation is 100% Julia code |`false`|`true`|
23
-
|[`LearnAPI.pkg_name`](@ref)`(algorithm)`| name of package providing core code (may be different from package providing LearnAPI.jl implementation) |`"unknown"`|`"DecisionTree"`|
24
-
|[`LearnAPI.pkg_license`](@ref)`(algorithm)`| name of license of package providing core code |`"unknown"`|`"MIT"`|
25
-
|[`LearnAPI.doc_url`](@ref)`(algorithm)`| url providing documentation of the core code |`"unknown"`|`"https://en.wikipedia.org/wiki/Decision_tree_learning"`|
26
-
|[`LearnAPI.load_path`](@ref)`(algorithm)`| string locating name returned by `LearnAPI.constructor(algorithm)`, beginning with a package name | "unknown"` |`FastTrees.LearnAPI.DecisionTreeClassifier`|
27
-
|[`LearnAPI.is_composite`](@ref)`(algorithm)`|`true` if one or more properties of `algorithm` may be an algorithm |`false`|`true`|
28
-
|[`LearnAPI.human_name`](@ref)`(algorithm)`| human name for the algorithm; should be a noun | type name with spaces | "elastic net regressor" |
29
-
|[`LearnAPI.iteration_parameter`](@ref)`(algorithm)`| symbolic name of an iteration parameter |`nothing`|:epochs|
30
-
|[`LearnAPI.data_interface`](@ref)`(algorithm)`| Interface implemented by objects returned by [`obs`](@ref)|`Base.HasLength()` (supports `MLUtils.getobs/numobs`) |`Base.SizeUnknown()` (supports `iterate`) |
31
-
|[`LearnAPI.fit_observation_scitype`](@ref)`(algorithm)`| upper bound on `scitype(observation)` for `observation` in `data` ensuring `fit(algorithm, data)` works |`Union{}`|`Tuple{AbstractVector{Continuous}, Continuous}`|
32
-
|[`LearnAPI.target_observation_scitype`](@ref)`(algorithm)`| upper bound on the scitype of each observation of the targget |`Any`|`Continuous`|
33
-
|[`LearnAPI.predict_or_transform_mutates`](@ref)`(algorithm)`|`true` if `predict` or `transform` mutates first argument|`false`|`true`|
16
+
| trait | return value | fallback value | example |
|[`LearnAPI.constructor`](@ref)`(algorithm)`| constructor for generating new or modified versions of `algorithm`| (no fallback) |`RidgeRegressor`|
19
+
|[`LearnAPI.functions`](@ref)`(algorithm)`| functions you can apply to `algorithm` or associated model (traits excluded) |`()`|`(:fit, :predict, :minimize, :(LearnAPI.algorithm), :obs)`|
20
+
|[`LearnAPI.kinds_of_proxy`](@ref)`(algorithm)`| instances `kind` of `KindOfProxy` for which an implementation of `LearnAPI.predict(algorithm, kind, ...)` is guaranteed. |`()`|`(Distribution(), Interval())`|
21
+
|[`LearnAPI.tags`](@ref)`(algorithm)`| lists one or more suggestive algorithm tags from `LearnAPI.tags()`|`()`| (:regression, :probabilistic) |
22
+
|[`LearnAPI.is_pure_julia`](@ref)`(algorithm)`|`true` if implementation is 100% Julia code |`false`|`true`|
23
+
|[`LearnAPI.pkg_name`](@ref)`(algorithm)`| name of package providing core code (may be different from package providing LearnAPI.jl implementation) |`"unknown"`|`"DecisionTree"`|
24
+
|[`LearnAPI.pkg_license`](@ref)`(algorithm)`| name of license of package providing core code |`"unknown"`|`"MIT"`|
25
+
|[`LearnAPI.doc_url`](@ref)`(algorithm)`| url providing documentation of the core code |`"unknown"`|`"https://en.wikipedia.org/wiki/Decision_tree_learning"`|
26
+
|[`LearnAPI.load_path`](@ref)`(algorithm)`| string locating name returned by `LearnAPI.constructor(algorithm)`, beginning with a package name | "unknown"` |`FastTrees.LearnAPI.DecisionTreeClassifier`|
27
+
|[`LearnAPI.is_composite`](@ref)`(algorithm)`|`true` if one or more properties of `algorithm` may be an algorithm |`false`|`true`|
28
+
|[`LearnAPI.human_name`](@ref)`(algorithm)`| human name for the algorithm; should be a noun | type name with spaces | "elastic net regressor" |
29
+
|[`LearnAPI.iteration_parameter`](@ref)`(algorithm)`| symbolic name of an iteration parameter |`nothing`|:epochs|
30
+
|[`LearnAPI.data_interface`](@ref)`(algorithm)`| Interface implemented by objects returned by [`obs`](@ref)|`Base.HasLength()` (supports `MLUtils.getobs/numobs`) |`Base.SizeUnknown()` (supports `iterate`) |
31
+
|[`LearnAPI.fit_observation_scitype`](@ref)`(algorithm)`| upper bound on `scitype(observation)` for `observation` in `data` ensuring `fit(algorithm, data)` works |`Union{}`|`Tuple{AbstractVector{Continuous}, Continuous}`|
32
+
|[`LearnAPI.target_observation_scitype`](@ref)`(algorithm)`| upper bound on the scitype of each observation of the targget |`Any`|`Continuous`|
33
+
|[`LearnAPI.is_static`](@ref)`(algorithm)`|`true` if `fit` consumes no data |`false`|`true`|
0 commit comments