vcDimension: Vapnik-Chervonenkis Dimension

Description Usage Arguments Details Value

Description

These functions allow to calculate Vapnik-Chervonenkis Dimension that is used in Probably Approximately Correct (PAC) Learning to get the sample complexity of a given model.

Usage

1
2
3

Arguments

d

The number of dimensions (variables) in the model.

Details

vcDimensionLinearRegression allows to calculate VC dimension for Multiple Linear Model.

vcDimensionArtificialNeuralNetwork allows to calculate VC dimension for ANN, restricting that the neural network must have just one hidden layer with the number of hidden neurons equal to the number of input neurons in the input layer. This consider a ANN with just one output neuron in the output layer.

vcDimensionNaiveBayes allows to calculate VC dimension for Naive Bayes classifier. This function consider a NB to classify two classes.

Value

This functions returns a "float" number that represents VC-Dimension.


juscelino-izidoro/supcavs documentation built on Jan. 2, 2022, 7:49 a.m.