feat: adds breast cancer dataset
This commit is contained in:
@@ -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
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user