@@ -76,8 +76,8 @@ metadata_pkg.(
7676
7777$(MMI. doc_header (LinearRegressor))
7878
79- `LinearRegressor` assumes the target is a continuous variable and trains a linear prediction
80- function using the least squares algorithm. Options exist to specify a bias term.`
79+ `LinearRegressor` assumes the target is a `Continuous` variable and trains a linear
80+ prediction function using the least squares algorithm. Options exist to specify a bias term.
8181
8282# Training data
8383
@@ -102,7 +102,7 @@ Train the machine using `fit!(mach, rows=...)`.
102102# Operations
103103
104104- `predict(mach, Xnew)`: Return predictions of the target given new
105- features `Xnew` having the same scitype as `X` above.
105+ features `Xnew`, which should have the same scitype as `X` above.
106106
107107# Fitted parameters
108108
@@ -163,7 +163,7 @@ Train the machine using `fit!(mach, rows=...)`.
163163# Operations
164164
165165- `predict(mach, Xnew)`: Return predictions of the target given new
166- features `Xnew` having the same scitype as `X` above.
166+ features `Xnew`, which should have the same scitype as `X` above.
167167
168168# Fitted parameters
169169
@@ -232,7 +232,7 @@ Train the machine using `fit!(mach, rows=...)`.
232232# Operations
233233
234234- `predict(mach, Xnew)`: Return predictions of the target given new
235- features `Xnew` having the same scitype as `X` above.
235+ features `Xnew`, which should have the same scitype as `X` above.
236236
237237# Fitted parameters
238238
@@ -300,7 +300,7 @@ Train the machine using `fit!(mach, rows=...)`.
300300# Operations
301301
302302- `predict(mach, Xnew)`: Return predictions of the target given new
303- features `Xnew` having the same scitype as `X` above.
303+ features `Xnew`, which should have the same scitype as `X` above.
304304
305305# Fitted parameters
306306
@@ -348,8 +348,8 @@ In MLJ or MLJBase, bind an instance `model` to data with
348348
349349Here:
350350
351- - `X` is any table of input features (eg, a `DataFrame`) whose columns
352- are of scitype `Continuous`; check column scitypes with `schema(X)`.
351+ - `X` is any table of input features (eg, a `DataFrame`) whose columns are of scitype
352+ `Continuous`; check column scitypes with `schema(X)`.
353353
354354Train the machine using `fit!(mach, rows=...)`.
355355
@@ -379,8 +379,8 @@ Train the machine using `fit!(mach, rows=...)`.
379379
380380# Operations
381381
382- - `transform(mach, Xnew)`: Return a lower dimensional projection of the input `Xnew` having
383- the same scitype as `X` above.
382+ - `transform(mach, Xnew)`: Return a lower dimensional projection of the input `Xnew`, which
383+ should have the same scitype as `X` above.
384384
385385- `inverse_transform(mach, Xsmall)`: For a dimension-reduced table `Xsmall`,
386386 such as returned by `transform`, reconstruct a table, having same the number
@@ -452,8 +452,8 @@ In MLJ or MLJBase, bind an instance `model` to data with
452452
453453Here:
454454
455- - `X` is any table of input features (eg, a `DataFrame`) whose columns
456- are of scitype `Continuous`; check column scitypes with `schema(X)`.
455+ - `X` is any table of input features (eg, a `DataFrame`) whose columns are of scitype
456+ `Continuous`; check column scitypes with `schema(X)`.
457457
458458Train the machine using `fit!(mach, rows=...)`.
459459
@@ -480,8 +480,8 @@ Train the machine using `fit!(mach, rows=...)`.
480480
481481# Operations
482482
483- - `transform(mach, Xnew)`: Return a lower dimensional projection of the input `Xnew` having
484- the same scitype as `X` above.
483+ - `transform(mach, Xnew)`: Return a lower dimensional projection of the input `Xnew`, which
484+ should have the same scitype as `X` above.
485485
486486- `inverse_transform(mach, Xsmall)`: For a dimension-reduced table `Xsmall`, such as
487487 returned by `transform`, reconstruct a table, having same the number of columns as the
@@ -646,9 +646,9 @@ $(MMI.doc_header(LDA))
646646[Multiclass linear discriminant
647647analysis](https://en.wikipedia.org/wiki/Linear_discriminant_analysis) learns a projection in
648648a space of features to a lower dimensional space, in a way that attempts to preserve as much
649- as possible the degree to which the target classes can be discriminated. This can be used
650- either for dimension reduction of the features (see `transform` below) or for probabilistic
651- classification of the target (see `predict` below).
649+ as possible the degree to which the classes of a discrete target variable can be
650+ discriminated. This can be used either for dimension reduction of the features (see
651+ `transform` below) or for probabilistic classification of the target (see `predict` below).
652652
653653In the case of prediction, the class probability for a new observation reflects the
654654proximity of that observation to training observations associated with that class, and how
@@ -700,8 +700,8 @@ Train the machine using `fit!(mach, rows=...)`.
700700
701701# Operations
702702
703- - `transform(mach, Xnew)`: Return a lower dimensional projection of the input `Xnew` having
704- the same scitype as `X` above.
703+ - `transform(mach, Xnew)`: Return a lower dimensional projection of the input `Xnew`, which
704+ should have the same scitype as `X` above.
705705
706706- `predict(mach, Xnew)`: Return predictions of the target given features `Xnew` having the
707707 same scitype as `X` above. Predictions are probabilistic but uncalibrated.
@@ -715,8 +715,8 @@ Train the machine using `fit!(mach, rows=...)`.
715715The fields of `fitted_params(mach)` are:
716716
717717- `projected_class_means`: The matrix comprised of class-specific means as columns, of size
718- `(indim, nclasses)`, where `indim` is the number of input features (columns) and `nclasses` the
719- number of target classes.
718+ `(indim, nclasses)`, where `indim` is the number of input features (columns) and
719+ `nclasses` the number of target classes.
720720
721721- `projection_matrix`: The learned projection matrix, of size `(indim, outdim)`, where
722722 `indim` and `outdim` are the input and output dimensions respectively.
@@ -827,8 +827,8 @@ Train the machine using `fit!(mach, rows=...)`.
827827- `transform(mach, Xnew)`: Return a lower dimensional projection of the input `Xnew`, which
828828 should have the same scitype as `X` above.
829829
830- - `predict(mach, Xnew)`: Return predictions of the target given features `Xnew` having the
831- same scitype as `X` above. Predictions are probabilistic but uncalibrated.
830+ - `predict(mach, Xnew)`: Return predictions of the target given features `Xnew`, which
831+ should have the same scitype as `X` above. Predictions are probabilistic but uncalibrated.
832832
833833- `predict_mode(mach, Xnew)`: Return the modes of the probabilistic predictions returned
834834 above.
@@ -947,8 +947,8 @@ Train the machine using `fit!(mach, rows=...)`.
947947- `transform(mach, Xnew)`: Return a lower dimensional projection of the input `Xnew`, which
948948 should have the same scitype as `X` above.
949949
950- - `predict(mach, Xnew)`: Return predictions of the target given features `Xnew` having the
951- same scitype as `X` above. Predictions are probabilistic but uncalibrated.
950+ - `predict(mach, Xnew)`: Return predictions of the target given features `Xnew`, which
951+ should have same scitype as `X` above. Predictions are probabilistic but uncalibrated.
952952
953953- `predict_mode(mach, Xnew)`: Return the modes of the probabilistic predictions
954954 returned above.
@@ -1051,8 +1051,8 @@ Train the machine using `fit!(mach, rows=...)`.
10511051- `transform(mach, Xnew)`: Return a lower dimensional projection of the input `Xnew`, which
10521052 should have the same scitype as `X` above.
10531053
1054- - `predict(mach, Xnew)`: Return predictions of the target given features `Xnew` having the
1055- same scitype as `X` above. Predictions are probabilistic but uncalibrated.
1054+ - `predict(mach, Xnew)`: Return predictions of the target given features `Xnew`, which
1055+ should have same scitype as `X` above. Predictions are probabilistic but uncalibrated.
10561056
10571057- `predict_mode(mach, Xnew)`: Return the modes of the probabilistic predictions
10581058 returned above.
@@ -1214,7 +1214,7 @@ FactorAnalysis
12141214
12151215$(MMI. doc_header (PPCA))
12161216
1217- Probabilistic principal component analysis is a dimension reduction algorithm which
1217+ Probabilistic principal component analysis is a dimension- reduction algorithm which
12181218represents a constrained form of the Gaussian distribution in which the number of free
12191219parameters can be restricted while still allowing the model to capture the dominant
12201220correlations in a data set. It is expressed as the maximum likelihood solution of a
0 commit comments