File tree 4 files changed +9
-9
lines changed 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ version = "1.0"
24
24
features = [" derive" ]
25
25
26
26
[dependencies ]
27
- ndarray = { version = " 0.15.4 " , features = [" serde" ] }
27
+ ndarray = { version = " 0.15" , features = [" serde" ] }
28
28
ndarray-rand = " 0.14.0"
29
29
argmin = { version = " 0.9.0" , default-features = false }
30
30
argmin-math = { version = " 0.3" , features = [" ndarray_v0_15-nolinalg" ] }
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ impl<F: Float> PearsonCorrelation<F> {
128
128
///
129
129
/// * `dataset`: Data for the correlation analysis
130
130
/// * `num_iter`: optionally number of iterations of the p-value test, if none then no p-value
131
- /// are calculate
131
+ /// are calculated
132
132
///
133
133
/// # Example
134
134
///
Original file line number Diff line number Diff line change @@ -680,8 +680,8 @@ where
680
680
/// - `k`: the number of folds to apply to the dataset
681
681
/// - `params`: the desired parameters for the fittable algorithm at hand
682
682
/// - `fit_closure`: a closure of the type `(params, training_data) -> fitted_model`
683
- /// that will be used to produce the trained model for each fold. The training data given in input
684
- /// won't outlive the closure.
683
+ /// that will be used to produce the trained model for each fold. The training data given in
684
+ /// input won't outlive the closure.
685
685
///
686
686
/// ## Returns
687
687
///
@@ -794,9 +794,9 @@ where
794
794
/// - `k`: the number of folds to apply
795
795
/// - `parameters`: a list of models to compare
796
796
/// - `eval`: closure used to evaluate the performance of each trained model. This closure is
797
- /// called on the model output and validation targets of each fold and outputs the performance
798
- /// score for each target. For single-target dataset the signature is `(Array1, Array1) ->
799
- /// Array0`. For multi-target dataset the signature is `(Array2, Array2) -> Array1`.
797
+ /// called on the model output and validation targets of each fold and outputs the performance
798
+ /// score for each target. For single-target dataset the signature is `(Array1, Array1) ->
799
+ /// Array0`. For multi-target dataset the signature is `(Array2, Array2) -> Array1`.
800
800
///
801
801
/// ### Returns
802
802
///
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ impl Deref for Pr {
161
161
/// # Fields
162
162
///
163
163
/// * `records`: a two-dimensional matrix with dimensionality (nsamples, nfeatures), in case of
164
- /// kernel methods a quadratic matrix with dimensionality (nsamples, nsamples), which may be sparse
164
+ /// kernel methods a quadratic matrix with dimensionality (nsamples, nsamples), which may be sparse
165
165
/// * `targets`: a two-/one-dimension matrix with dimensionality (nsamples, ntargets)
166
166
/// * `weights`: optional weights for each sample with dimensionality (nsamples)
167
167
/// * `feature_names`: optional descriptive feature names with dimensionality (nfeatures)
@@ -170,7 +170,7 @@ impl Deref for Pr {
170
170
///
171
171
/// * `R: Records`: generic over feature matrices or kernel matrices
172
172
/// * `T`: generic over any `ndarray` matrix which can be used as targets. The `AsTargets` trait
173
- /// bound is omitted here to avoid some repetition in implementation `src/dataset/impl_dataset.rs`
173
+ /// bound is omitted here to avoid some repetition in implementation `src/dataset/impl_dataset.rs`
174
174
#[ derive( Debug , Clone , PartialEq ) ]
175
175
pub struct DatasetBase < R , T >
176
176
where
You can’t perform that action at this time.
0 commit comments