Table of Contents

Class MillingParaTrainResult

Namespace
Hi.MillingForces.Training
Assembly
HiNc.dll

Snapshot of the most recent milling-parameter training call (LocalProjectService.TrainMillingPara / ReTrainMillingPara) — the queryable training outcome that otherwise only lands in the output .mp file's Note. Held by LocalProjectService.LastMillingParaTrainResult (service lifetime, last-wins) so callers such as the webservice can read it after a run without touching the file system.

public class MillingParaTrainResult
Inheritance
MillingParaTrainResult
Inherited Members
Extension Methods

Properties

CorrelationR

Correlation coefficient R of the built parameter against the filtered samples (0..1); null when unavailable.

public double? CorrelationR { get; set; }

Property Value

double?

DstRelFile

Destination file the built parameter was saved to (relative to the project base directory); null when not saved.

public string DstRelFile { get; set; }

Property Value

string

FilteredSampleNum

Number of training samples that survived outlier filtering.

public int FilteredSampleNum { get; set; }

Property Value

int

Kind

Which call produced the snapshot: “Train” or “ReTrain”.

public string Kind { get; set; }

Property Value

string

Note

The built parameter's Note — the human-readable summary also written into the .mp file.

public string Note { get; set; }

Property Value

string

OutlierRatio

The outlier exclusion ratio the training used.

public double OutlierRatio { get; set; }

Property Value

double

ParaName

The built parameter's Name (the destination file name).

public string ParaName { get; set; }

Property Value

string

ParaTypeName

The built parameter's concrete type name (e.g. RakeFaceCuttingPara2d).

public string ParaTypeName { get; set; }

Property Value

string

ParaXml

The built parameter's full XML source — carries every trained coefficient in the same form as the saved .mp file.

public string ParaXml { get; set; }

Property Value

string

SampleFlags

The SampleFlag combination the training used (enum text, e.g. “Mx, My, Mz”).

public string SampleFlags { get; set; }

Property Value

string

Succeeded

False when the training aborted without a built parameter (no mapped data / no samples); the run's messages explain why.

public bool Succeeded { get; set; }

Property Value

bool

TrainedAtUtc

UTC instant the training call completed.

public DateTime TrainedAtUtc { get; set; }

Property Value

DateTime