BayesianFitDetector<T, TInput, TOutput>

Models & Types · AiDotNet.FitDetectors

A fit detector that uses Bayesian model comparison metrics to assess model fit.

Inheritance: FitDetectorBase<T, TInput, TOutput> → BayesianFitDetector<T, TInput, TOutput>

For Beginners

Bayesian statistics provides a framework for model evaluation that considers both how well a model fits the data and its complexity. This detector uses several Bayesian metrics to determine if a model is underfitting, overfitting, or has a good fit.

How It Works

Unlike traditional methods that only look at prediction errors, Bayesian methods also consider the model’s complexity and uncertainty, providing a more comprehensive assessment of model fit.

Constructors

Constructor Summary
BayesianFitDetector(BayesianFitDetectorOptions options) Initializes a new instance of the BayesianFitDetector class.

Methods

Method Summary
FitDetectorResult<T> DetectFit(ModelEvaluationData<T, TInput, TOutput> evaluationData) Detects the fit type of a model based on Bayesian model comparison metrics.