RandomSplitter<T>

Models & Types · AiDotNet.Preprocessing.DataPreparation.Splitting.Basic

Alias for TrainTestSplitter for users who prefer the “Random” naming convention.

Inheritance: DataSplitterBase<T> → TrainTestSplitter<T> → RandomSplitter<T>

For Beginners

This is exactly the same as TrainTestSplitter. Different libraries use different names for the same operation:

  • scikit-learn: train_test_split
  • Some libraries: random_split
  • AiDotNet: Both TrainTestSplitter and RandomSplitter

How It Works

Use whichever name feels more natural to you!

Constructors

Constructor Summary
RandomSplitter(double testSize, bool shuffle, int randomSeed) Creates a new random splitter (alias for train/test splitter).

Properties

Property Summary
string Description { get; }