Skip to content

Commit ceaf390

Browse files
authored
Remove docstrings for fitted_params, save, and restore
1 parent 8f6a0dd commit ceaf390

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

src/model_api.jl

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ fit(::Static, ::Integer, a...) = (nothing, nothing, nothing)
1010
# fallbacks for supervised models that don't support sample weights:
1111
fit(m::Supervised, verb::Integer, X, y, w) = fit(m, verb, X, y)
1212

13-
"""
14-
`fitted_params` can be optionally overloaded to provide access to
15-
fitted parameters (eg, coeficients of linear model):
16-
"""
13+
# this operation can be optionally overloaded to provide access to
14+
# fitted parameters (eg, coeficients of linear model):
1715
fitted_params(::Model, fitres) = (fitresult=fitres,)
1816

1917
"""
@@ -56,16 +54,9 @@ unsupervised methods may implement the `inverse_transform` operation
5654
"""
5755
function inverse_transform end
5856

59-
"""
60-
models can optionally overload `save` to enable serialization in a
61-
custom format
62-
"""
57+
# models can optionally overload these for enable serialization in a
58+
# custom format:
6359
function save end
64-
65-
"""
66-
models can optionally overload `restore` to enable serialization in a
67-
custom format
68-
"""
6960
function restore end
7061

7162
"""

0 commit comments

Comments
 (0)