Complete API surface of the Beep.Skia.ML assembly: 28 public types with their documented members. Follow the family guide for usage patterns.

Types in this assembly

DataConnector (enum)

MetricKind (enum)

MLBatchPredictionNode (class)

MemberKindDescription
int BatchSizePropertyGets or sets the batch size.
bool ParallelPropertyGets or sets the parallel.
int MaxWorkersPropertyGets or sets the max workers.
string OutputFormatPropertyGets or sets the output format.
MLBatchPredictionNode()MethodInitializes a new instance of the MLBatchPredictionNode class.

MLCNNNode (class)

MemberKindDescription
int ConvLayersPropertyGets or sets the conv layers.
string FiltersPropertyGets or sets the filters.
string KernelSizePropertyGets or sets the kernel size.
string PoolingPropertyGets or sets the pooling.
bool BatchNormalizationPropertyGets or sets the batch normalization.
MLCNNNode()MethodInitializes a new instance of the MLCNNNode class.

MLControl (class)

MemberKindDescription
SKColor BackgroundColorPropertyGets or sets the background color.
SKColor BorderColorPropertyGets or sets the border color.
float BorderThicknessPropertyGets or sets the border thickness.
int InPortCountPropertyGets or sets the in port count.
int OutPortCountPropertyGets or sets the out port count.

MLCrossValidationNode (class)

MemberKindDescription
int FoldsPropertyGets or sets the folds.
string StrategyPropertyGets or sets the strategy.
bool ShufflePropertyGets or sets the shuffle.
int RandomSeedPropertyGets or sets the random seed.
MLCrossValidationNode()MethodInitializes a new instance of the MLCrossValidationNode class.

MLDataAugmentationNode (class)

MemberKindDescription
string AugmentationTypePropertyGets or sets the augmentation type.
double IntensityPropertyGets or sets the intensity.
bool RandomFlipPropertyGets or sets the random flip.
bool RandomRotationPropertyGets or sets the random rotation.
bool RandomCropPropertyGets or sets the random crop.
MLDataAugmentationNode()MethodInitializes a new instance of the MLDataAugmentationNode class.

MLDataSourceNode (class)

MemberKindDescription
string SourceNamePropertyGets or sets the source name.
DataConnector ConnectorPropertyGets or sets the connector.
string FormatPropertyGets or sets the format.
MLDataSourceNode()MethodInitializes a new instance of the MLDataSourceNode class.

MLDataSplitterNode (class)

MemberKindDescription
double TrainRatioPropertyGets or sets the train ratio.
double ValidationRatioPropertyGets or sets the validation ratio.
double TestRatioPropertyGets or sets the test ratio.
bool ShufflePropertyGets or sets the shuffle.
int RandomSeedPropertyGets or sets the random seed.
bool StratifyPropertyGets or sets the stratify.
MLDataSplitterNode()MethodInitializes a new instance of the MLDataSplitterNode class.

MLEvaluateNode (class)

MemberKindDescription
string StepNamePropertyGets or sets the step name.
MetricKind MetricPropertyGets or sets the metric.
double ThresholdPropertyGets or sets the threshold.
MLEvaluateNode()MethodInitializes a new instance of the MLEvaluateNode class.

MLFeatureEngineeringNode (class)

MemberKindDescription
string OperationPropertyGets or sets the operation.
int DegreePropertyGets or sets the degree.
bool InteractionsPropertyGets or sets the interactions.
string EncodingPropertyGets or sets the encoding.
MLFeatureEngineeringNode()MethodInitializes a new instance of the MLFeatureEngineeringNode class.

MLFramework (enum)

MLHyperparameterTuningNode (class)

MemberKindDescription
string MethodPropertyGets or sets the method.
int IterationsPropertyGets or sets the iterations.
string MetricPropertyGets or sets the metric.
bool ParallelExecutionPropertyGets or sets the parallel execution.
MLHyperparameterTuningNode()MethodInitializes a new instance of the MLHyperparameterTuningNode class.

MLInferenceNode (class)

MemberKindDescription
string ModePropertyGets or sets the mode.
int BatchSizePropertyGets or sets the batch size.
bool OptimizePropertyGets or sets the optimize.
double ConfidenceThresholdPropertyGets or sets the confidence threshold.
MLInferenceNode()MethodInitializes a new instance of the MLInferenceNode class.

MLModelExportNode (class)

MemberKindDescription
string FormatPropertyGets or sets the format.
string OutputPathPropertyGets or sets the output path.
bool CompressionPropertyGets or sets the compression.
bool IncludeMetadataPropertyGets or sets the include metadata.
MLModelExportNode()MethodInitializes a new instance of the MLModelExportNode class.

MLModelLoadNode (class)

MemberKindDescription
string ModelPathPropertyGets or sets the model path.
string FrameworkPropertyGets or sets the framework.
string DevicePropertyGets or sets the device.
bool ValidateModelPropertyGets or sets the validate model.
MLModelLoadNode()MethodInitializes a new instance of the MLModelLoadNode class.

MLModelNode (class)

MemberKindDescription
string ModelNamePropertyGets or sets the model name.
MLFramework FrameworkPropertyGets or sets the framework.
ModelType ModelTypePropertyGets or sets the model type.
string HyperParametersPropertyGets or sets the hyper parameters.
MLModelNode()MethodInitializes a new instance of the MLModelNode class.

MLNeuralNetworkNode (class)

MemberKindDescription
string ArchitecturePropertyGets or sets the architecture.
int LayersPropertyGets or sets the layers.
string LayerSizesPropertyGets or sets the layer sizes.
string ActivationPropertyGets or sets the activation.
double DropoutPropertyGets or sets the dropout.
string OptimizerPropertyGets or sets the optimizer.
MLNeuralNetworkNode()MethodInitializes a new instance of the MLNeuralNetworkNode class.

MLPipelineDefinition (class)

Portable ML pipeline definition (nodes in execution order + edges). Consumable by external frameworks (Python, ONNX tooling, orchestration engines).

MemberKindDescription
string NamePropertyGets or sets the name.
string VersionPropertyGets or sets the version.
string CreatedAtPropertyGets or sets the created at.
List<MLPipelineNode> NodesPropertyGets or sets the nodes.
List<MLPipelineEdge> EdgesPropertyGets or sets the edges.

MLPipelineEdge (class)

A directed edge in an exported ML pipeline definition.

MemberKindDescription
string FromPropertyGets or sets the from.
string ToPropertyGets or sets the to.
string? LabelPropertyGets or sets the label.

MLPipelineExporter (class)

Exports ML pipeline diagrams to a portable JSON definition: nodes are topologically ordered and carry their node properties (hyperparameters), edges carry the connection labels.

MemberKindDescription
MLPipelineDefinition BuildDefinition( IReadOnlyList<SkiaComponent> components, IReadOnlyList<IConnectionLine> lines, string pipelineName = "Pipeline")MethodBuilds the pipeline definition from diagram components and lines.
string ExportJson( IReadOnlyList<SkiaComponent> components, IReadOnlyList<IConnectionLine> lines, string pipelineName = "Pipeline", bool indented = true)MethodSerializes the pipeline definition to JSON.
string ExportJson(DrawingManager manager, string pipelineName = "Pipeline", bool indented = true)MethodSerializes the ML pipeline held by a drawing manager.

MLPipelineNode (class)

A node in an exported ML pipeline definition.

MemberKindDescription
string IdPropertyGets or sets the id.
string TypePropertyGets or sets the type.
string NamePropertyGets or sets the name.
int OrderPropertyGets or sets the order.
Dictionary<string, object> PropertiesPropertyGets or sets the properties.

MLPreprocessNode (class)

MemberKindDescription
string StepNamePropertyGets or sets the step name.
TransformKind TransformPropertyGets or sets the transform.
string ParametersPropertyGets or sets the parameters.
MLPreprocessNode()MethodInitializes a new instance of the MLPreprocessNode class.

MLRNNNode (class)

MemberKindDescription
string CellTypePropertyGets or sets the cell type.
int LayersPropertyGets or sets the layers.
int HiddenSizePropertyGets or sets the hidden size.
bool BidirectionalPropertyGets or sets the bidirectional.
double DropoutPropertyGets or sets the dropout.
MLRNNNode()MethodInitializes a new instance of the MLRNNNode class.

MLTrainerNode (class)

MemberKindDescription
int EpochsPropertyGets or sets the epochs.
int BatchSizePropertyGets or sets the batch size.
double LearningRatePropertyGets or sets the learning rate.
string LossFunctionPropertyGets or sets the loss function.
bool EarlyStoppingPropertyGets or sets the early stopping.
int PatiencePropertyGets or sets the patience.
MLTrainerNode()MethodInitializes a new instance of the MLTrainerNode class.

MLTransformerNode (class)

MemberKindDescription
int AttentionHeadsPropertyGets or sets the attention heads.
int LayersPropertyGets or sets the layers.
int ModelDimPropertyGets or sets the model dim.
int FeedForwardDimPropertyGets or sets the feed forward dim.
double DropoutPropertyGets or sets the dropout.
MLTransformerNode()MethodInitializes a new instance of the MLTransformerNode class.

ModelType (enum)

TransformKind (enum)