Skip to content

Commit 2418b24

Browse files
committed
Merge branch 'release-0.3' of github.com:smartcorelib/smartcore into release-0.3
2 parents 6c6f926 + a4097fc commit 2418b24

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/ensemble/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//! set and then aggregate their individual predictions to form a final prediction. In classification setting the overall prediction is the most commonly
88
//! occurring majority class among the individual predictions.
99
//!
10-
//! In smartcore you will find implementation of RandomForest - a popular averaging algorithms based on randomized [decision trees](../tree/index.html).
10+
//! In `smartcore` you will find implementation of RandomForest - a popular averaging algorithms based on randomized [decision trees](../tree/index.html).
1111
//! Random forests provide an improvement over bagged trees by way of a small tweak that decorrelates the trees. As in bagging, we build a number of
1212
//! decision trees on bootstrapped training samples. But when building these decision trees, each time a split in a tree is considered,
1313
//! a random sample of _m_ predictors is chosen as split candidates from the full set of _p_ predictors.

src/linear/linear_regression.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
//! \\[\hat{\beta} = (X^TX)^{-1}X^Ty \\]
1313
//!
1414
//! the \\((X^TX)^{-1}\\) term is both computationally expensive and numerically unstable. An alternative approach is to use a matrix decomposition to avoid this operation.
15-
//! smartcore uses [SVD](../../linalg/svd/index.html) and [QR](../../linalg/qr/index.html) matrix decomposition to find estimates of \\(\hat{\beta}\\).
15+
//! `smartcore` uses [SVD](../../linalg/svd/index.html) and [QR](../../linalg/qr/index.html) matrix decomposition to find estimates of \\(\hat{\beta}\\).
1616
//! The QR decomposition is more computationally efficient and more numerically stable than calculating the normal equation directly,
1717
//! but does not work for all data matrices. Unlike the QR decomposition, all matrices have an SVD decomposition.
1818
//!

src/linear/logistic_regression.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//!
66
//! \\[ Pr(y=1) \approx \frac{e^{\beta_0 + \sum_{i=1}^n \beta_iX_i}}{1 + e^{\beta_0 + \sum_{i=1}^n \beta_iX_i}} \\]
77
//!
8-
//! smartcore uses [limited memory BFGS](https://en.wikipedia.org/wiki/Limited-memory_BFGS) method to find estimates of regression coefficients, \\(\beta\\)
8+
//! `smartcore` uses [limited memory BFGS](https://en.wikipedia.org/wiki/Limited-memory_BFGS) method to find estimates of regression coefficients, \\(\beta\\)
99
//!
1010
//! Example:
1111
//!

src/linear/ridge_regression.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
//! where \\(\alpha \geq 0\\) is a tuning parameter that controls strength of regularization. When \\(\alpha = 0\\) the penalty term has no effect, and ridge regression will produce the least squares estimates.
1313
//! However, as \\(\alpha \rightarrow \infty\\), the impact of the shrinkage penalty grows, and the ridge regression coefficient estimates will approach zero.
1414
//!
15-
//! smartcore uses [SVD](../../linalg/svd/index.html) and [Cholesky](../../linalg/cholesky/index.html) matrix decomposition to find estimates of \\(\hat{\beta}\\).
15+
//! `smartcore` uses [SVD](../../linalg/svd/index.html) and [Cholesky](../../linalg/cholesky/index.html) matrix decomposition to find estimates of \\(\hat{\beta}\\).
1616
//! The Cholesky decomposition is more computationally efficient and more numerically stable than calculating the normal equation directly,
1717
//! but does not work for all data matrices. Unlike the Cholesky decomposition, all matrices have an SVD decomposition.
1818
//!

src/metrics/auc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//! Computes the area under the receiver operating characteristic (ROC) curve that is equal to the probability that a classifier will rank a
33
//! randomly chosen positive instance higher than a randomly chosen negative one.
44
//!
5-
//! smartcore calculates ROC AUC from Wilcoxon or Mann-Whitney U test.
5+
//! `smartcore` calculates ROC AUC from Wilcoxon or Mann-Whitney U test.
66
//!
77
//! Example:
88
//! ```

0 commit comments

Comments
 (0)