Skip to content

Commit cc91e31

Browse files
committed
minor fixes
1 parent 0ec8940 commit cc91e31

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/cluster/kmeans.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//! these re-calculated centroids becoming the new centers of their respective clusters. Next all instances of the training set are re-assigned to their closest cluster again.
1212
//! This iterative process continues until convergence is achieved and the clusters are considered settled.
1313
//!
14-
//! Initial choice of K data points is very important and has big effect on performance of the algorithm. smartcore uses k-means++ algorithm to initialize cluster centers.
14+
//! Initial choice of K data points is very important and has big effect on performance of the algorithm. `smartcore` uses k-means++ algorithm to initialize cluster centers.
1515
//!
1616
//! Example:
1717
//!

src/dataset/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Datasets
22
//!
3-
//! In this module you will find small datasets that are used in smartcore mostly for demonstration purposes.
3+
//! In this module you will find small datasets that are used in `smartcore` mostly for demonstration purposes.
44
pub mod boston;
55
pub mod breast_cancer;
66
pub mod diabetes;

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
//! ```
7676
//!
7777
//! ## Overview
78-
//!
78+
//!
7979
//! ### Supported algorithms
8080
//! All machine learning algorithms are grouped into these broad categories:
8181
//! * [Clustering](cluster/index.html), unsupervised clustering of unlabeled data.
@@ -86,7 +86,7 @@
8686
//! * [Nearest Neighbors](neighbors/index.html), K Nearest Neighbors for classification and regression
8787
//! * [Naive Bayes](naive_bayes/index.html), statistical classification technique based on Bayes Theorem
8888
//! * [SVM](svm/index.html), support vector machines
89-
//!
89+
//!
9090
//! ### Linear Algebra traits system
9191
//! For an introduction to `smartcore`'s traits system see [this notebook](https://github.com/smartcorelib/smartcore-jupyter/blob/5523993c53c6ec1fd72eea130ef4e7883121c1ea/notebooks/01-A-little-bit-about-numbers.ipynb)
9292

src/numbers/realnum.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! # Real Number
2-
//! Most algorithms in smartcore rely on basic linear algebra operations like dot product, matrix decomposition and other subroutines that are defined for a set of real numbers, ℝ.
2+
//! Most algorithms in `smartcore` rely on basic linear algebra operations like dot product, matrix decomposition and other subroutines that are defined for a set of real numbers, ℝ.
33
//! This module defines real number and some useful functions that are used in [Linear Algebra](../../linalg/index.html) module.
44
55
use num_traits::Float;

src/tree/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//! Decision trees suffer from high variance and often does not deliver best prediction accuracy when compared to other supervised learning approaches, such as linear and logistic regression.
1010
//! Hence some techniques such as [Random Forests](../ensemble/index.html) use more than one decision tree to improve performance of the algorithm.
1111
//!
12-
//! smartcore uses [CART](https://en.wikipedia.org/wiki/Predictive_analytics#Classification_and_regression_trees_.28CART.29) learning technique to build both classification and regression trees.
12+
//! `smartcore` uses [CART](https://en.wikipedia.org/wiki/Predictive_analytics#Classification_and_regression_trees_.28CART.29) learning technique to build both classification and regression trees.
1313
//!
1414
//! ## References:
1515
//!

0 commit comments

Comments
 (0)