feat: adds breast cancer dataset

This commit is contained in:
Volodymyr Orlov
2020-09-11 16:54:05 -07:00
parent 9b96150ac1
commit 1920f9cd0b
3 changed files with 1655 additions and 5 deletions
+1 -1
View File
@@ -65,8 +65,8 @@ use crate::linalg::Matrix;
use crate::math::distance::euclidian::*;
use crate::math::num::RealNumber;
#[derive(Serialize, Deserialize, Debug)]
/// K-Means clustering algorithm
#[derive(Serialize, Deserialize, Debug)]
pub struct KMeans<T: RealNumber> {
k: usize,
y: Vec<usize>,
File diff suppressed because it is too large Load Diff
+2 -4
View File
@@ -2,12 +2,10 @@
//!
//! In this module you will find small datasets that are used in SmartCore for demonstration purpose mostly.
/// The Boston Housing Dataset
pub mod boston;
/// Iris flower data set
pub mod iris;
pub mod breast_cancer;
pub mod diabetes;
pub mod iris;
/// Dataset
pub struct Dataset<X, Y> {