RealWorldDatasets

Struct RealWorldDatasets 

Source
pub struct RealWorldDatasets { /* private fields */ }
Expand description

Real-world dataset loader and manager

Implementations§

Source§

impl RealWorldDatasets

Source

pub fn new(config: RealWorldConfig) -> Result<Self>

Create a new real-world datasets manager

Source

pub fn load_dataset(&mut self, name: &str) -> Result<Dataset>

Load a dataset by name

Source

pub fn list_datasets(&self) -> Vec<String>

List all available real-world datasets

Source

pub fn get_dataset_info(&self, name: &str) -> Result<DatasetMetadata>

Get dataset information without loading

Source§

impl RealWorldDatasets

Source

pub fn load_adult(&mut self) -> Result<Dataset>

Load Adult (Census Income) dataset Predict whether income exceeds $50K/yr based on census data

Source

pub fn load_bank_marketing(&mut self) -> Result<Dataset>

Load Bank Marketing dataset Predict if client will subscribe to term deposit

Source

pub fn load_titanic(&mut self) -> Result<Dataset>

Load Titanic dataset Predict passenger survival on the Titanic

Source

pub fn load_german_credit(&mut self) -> Result<Dataset>

Load German Credit dataset Credit risk assessment

Source§

impl RealWorldDatasets

Source

pub fn load_california_housing(&mut self) -> Result<Dataset>

Load California Housing dataset Predict median house values in California districts

Source

pub fn load_red_wine_quality(&mut self) -> Result<Dataset>

Load Wine Quality dataset (Red Wine) Predict wine quality based on physicochemical properties

Source

pub fn load_energy_efficiency(&mut self) -> Result<Dataset>

Load Energy Efficiency dataset Predict heating and cooling loads of buildings

Source§

impl RealWorldDatasets

Source

pub fn load_air_passengers(&mut self) -> Result<Dataset>

Load Air Passengers dataset Classic time series dataset of airline passengers

Source

pub fn load_bitcoin_prices(&mut self) -> Result<Dataset>

Load Bitcoin Prices dataset Historical Bitcoin price data

Source§

impl RealWorldDatasets

Source

pub fn load_heart_disease(&mut self) -> Result<Dataset>

Load Heart Disease dataset Predict presence of heart disease

Source

pub fn load_diabetes_readmission(&mut self) -> Result<Dataset>

Load Diabetes Readmission dataset Predict hospital readmission for diabetic patients

Source

pub fn load_credit_approval(&mut self) -> Result<Dataset>

Load the Credit Approval dataset from UCI repository

Source

pub fn load_mushroom(&mut self) -> Result<Dataset>

Load the Mushroom dataset from UCI repository

Source

pub fn load_spam(&mut self) -> Result<Dataset>

Load the Spambase dataset from UCI repository

Source

pub fn load_auto_mpg(&mut self) -> Result<Dataset>

Load Auto MPG dataset

Source

pub fn load_concrete_strength(&mut self) -> Result<Dataset>

Load Concrete Compressive Strength dataset

Source

pub fn load_white_wine_quality(&mut self) -> Result<Dataset>

Load White Wine Quality dataset

Source

pub fn load_electricity_load(&mut self) -> Result<Dataset>

Load Electricity Load dataset

Source

pub fn load_stock_prices(&mut self) -> Result<Dataset>

Load Stock Prices dataset

Source

pub fn load_cifar10_subset(&mut self) -> Result<Dataset>

Load CIFAR-10 subset dataset

Source

pub fn load_fashion_mnist_subset(&mut self) -> Result<Dataset>

Load Fashion-MNIST subset dataset

Source

pub fn load_imdb_reviews(&mut self) -> Result<Dataset>

Load IMDB movie reviews dataset

Source

pub fn load_news_articles(&mut self) -> Result<Dataset>

Load news articles dataset

Source

pub fn load_credit_card_fraud(&mut self) -> Result<Dataset>

Load credit card fraud detection dataset

Source

pub fn load_loan_default(&mut self) -> Result<Dataset>

Load loan default prediction dataset

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
Source§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V