Click or drag to resize

RelaxISPlugin_ClassifierRunClassificationAsync Method

Classify the given spectrum.

Namespace: RelaxIS_SDK.Plugins
Assembly: RelaxIS SDK (in RelaxIS SDK.dll) Version: 3.0.23.63
Syntax
public abstract Task<IEnumerable<ClassResult>> RunClassificationAsync(
	ImpedanceSpectrum spectrum,
	ExecutionMode mode,
	ClassifierSettingsBase settings,
	ClassifierClassCollection classes,
	CancellationToken cancellation
)

Parameters

spectrum  ImpedanceSpectrum
The spectrum to classify.
mode  ExecutionMode
The execution mode of the classifier.
settings  ClassifierSettingsBase
The settings defined by the user.
classes  ClassifierClassCollection
The list of classes, into which the spectrum should be classified.
cancellation  CancellationToken
A cancellation token that signal when the user wants to interrupt the classification.

Return Value

TaskIEnumerableClassResult
The classification result.
Exceptions
ExceptionCondition
OperationCanceledExceptionIn case the classification is cancelled.
ArgumentNullExceptionIf one of the parameters is null.
ArgumentExceptionIf settings does not have the correct type.
See Also