@@ -108,27 +108,6 @@ called on user-specified data.
108
108
"""
109
109
function predict end
110
110
111
- """
112
- augmented_predict
113
-
114
- If implemented, the same as `predict`, but with a return value
115
- augmented by the `predict`ion of the training data.
116
-
117
- For example, if implemented for a `Supervised` model with a
118
- `predict` method, `augmented_predict(model, fitresult, Xnew)` will
119
- return
120
-
121
- ```julia
122
- (predict(model, fitresult, X), predict(model, fitresult, Xnew))
123
- ```
124
-
125
- where `(X, y)` was the training data.
126
-
127
- Must be implemented by any `UnsupervisedDetector` or `SupervisedDetector`.
128
-
129
- """
130
- function augmented_predict end
131
-
132
111
"""
133
112
134
113
Models types `M` for which `prediction_type(M) == :probablisitic` may
@@ -171,6 +150,27 @@ function transform end
171
150
"""
172
151
function inverse_transform end
173
152
153
+ """
154
+ augmented_transform
155
+
156
+ If implemented, the same as `transform`, but with a return value
157
+ augmented by the `transform`ation of the training data.
158
+
159
+ For example, for if implemented for a `Supervised` model with a
160
+ `transform` method, the return value of `transform_transform(model,
161
+ fitresult, Xnew)` coincides with
162
+
163
+ ```julia
164
+ (transform(model, fitresult, X), transform(model, fitresult, Xnew))
165
+ ```
166
+
167
+ where `(X, y)` was the training data.
168
+
169
+ Must be implemented by any `UnsupervisedDetector` or `SupervisedDetector`.
170
+
171
+ """
172
+ function augmented_transform end
173
+
174
174
# models can optionally overload these for enable serialization in a
175
175
# custom format:
176
176
function save end
0 commit comments