Table of Contents

Method RemoveSample

Namespace
LMKit.Finetuning
Assembly
LM-Kit.NET.dll

RemoveSample(int)

Removes a training sample from the dataset based on the provided sample index.

public void RemoveSample(int sampleIndex)

Parameters

sampleIndex int

The index of the sample to remove. Must be within the range of available samples, as specified by the SampleCount property.

Exceptions

ArgumentOutOfRangeException

Thrown when the sampleIndex is less than 0 or greater than or equal to SampleCount.