RelaxISPlugin_ClassifierRunClassificationAsync Method |
Classify the given spectrum.
Namespace: RelaxIS_SDK.PluginsAssembly: 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
)
Public MustOverride Function RunClassificationAsync (
spectrum As ImpedanceSpectrum,
mode As ExecutionMode,
settings As ClassifierSettingsBase,
classes As ClassifierClassCollection,
cancellation As CancellationToken
) As Task(Of IEnumerable(Of ClassResult))
Dim instance As RelaxISPlugin_Classifier
Dim spectrum As ImpedanceSpectrum
Dim mode As ExecutionMode
Dim settings As ClassifierSettingsBase
Dim classes As ClassifierClassCollection
Dim cancellation As CancellationToken
Dim returnValue As Task(Of IEnumerable(Of ClassResult))
returnValue = instance.RunClassificationAsync(spectrum,
mode, settings, classes, 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
TaskIEnumerableClassResultThe classification result.
Exceptions See Also