MathDataLoader<T>

Models & Types · AiDotNet.Data.Text.Benchmarks

Loads the Hendrycks MATH benchmark — competition math problems (Hendrycks et al. 2021).

Inheritance: DataLoaderBase<T> → InputOutputDataLoaderBase<T, Tensor<T>, Tensor<T>> → MathDataLoader<T>

How It Works

Expects:

where subject is one of: algebra, counting_and_probability, geometry, intermediate_algebra, number_theory, prealgebra, precalculus. Each JSON has fields problem, level, type, solution.

Constructors

Constructor Summary
MathDataLoader(MathDataLoaderOptions options)

Properties

Property Summary
int FeatureCount { get; }
int OutputDimension { get; }
int TotalCount { get; }
string Description { get; }
string Name { get; }

Methods

Method Summary
ValueTuple<IInputOutputDataLoader<T, Tensor<T>, Tensor<T>>, IInputOutputDataLoader<T, Tensor<T>, Tensor<T>>, IInputOutputDataLoader<T, Tensor<T>, Tensor<T>>> Split(double trainRatio, double validationRatio, int? seed)