C# 클래스 Accord.MachineLearning.Bootstrap

파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 메소드들

메소드 설명
Bootstrap ( int size, int subsamples ) : System

Creates a new Bootstrap estimation algorithm.

Bootstrap ( int size, int subsamples, int subsampleSize ) : System

Creates a new Bootstrap estimation algorithm.

Compute ( ) : BootstrapResult

Computes the cross validation algorithm.

CreatePartitions ( int index, int &trainingSet, int &validationSet ) : void

Gets the indices for the training and validation sets for the specified validation fold index.

GetPartitionSize ( int index, int &trainingCount, int &validationCount ) : void

Gets the number of instances in training and validation sets for the specified validation fold index.

Samplings ( int size, int resamplings, int subsampleSize ) : int[][]

Draws the bootstrap samples from the population.

메소드 상세

Bootstrap() 공개 메소드

Creates a new Bootstrap estimation algorithm.
public Bootstrap ( int size, int subsamples ) : System
size int The size of the complete dataset.
subsamples int The number B of bootstrap resamplings to perform.
리턴 System

Bootstrap() 공개 메소드

Creates a new Bootstrap estimation algorithm.
public Bootstrap ( int size, int subsamples, int subsampleSize ) : System
size int The size of the complete dataset.
subsamples int The number B of bootstrap resamplings to perform.
subsampleSize int The number of samples in each subsample. Default /// is to use the total number of samples in the population dataset.
리턴 System

Compute() 공개 메소드

Computes the cross validation algorithm.
public Compute ( ) : BootstrapResult
리턴 BootstrapResult

CreatePartitions() 공개 메소드

Gets the indices for the training and validation sets for the specified validation fold index.
public CreatePartitions ( int index, int &trainingSet, int &validationSet ) : void
index int The index of the validation fold.
trainingSet int The indices for the observations in the training set.
validationSet int The indices for the observations in the validation set.
리턴 void

GetPartitionSize() 공개 메소드

Gets the number of instances in training and validation sets for the specified validation fold index.
public GetPartitionSize ( int index, int &trainingCount, int &validationCount ) : void
index int The index of the bootstrap sample.
trainingCount int The number of instances in the training set.
validationCount int The number of instances in the validation set.
리턴 void

Samplings() 공개 정적인 메소드

Draws the bootstrap samples from the population.
public static Samplings ( int size, int resamplings, int subsampleSize ) : int[][]
size int The size of the samples to be drawn.
resamplings int The number of samples to drawn.
subsampleSize int The size of the samples to be drawn.
리턴 int[][]