public List <string> Predict(TensorOld X) { X = Normalize(X); LastRawResult = Model.Predict(X); LastCodecResult = Utilities.ProbabilityToCode(LastRawResult); if (LabelCodec != null) { return(LabelCodec.Decode(LastCodecResult)); } return(LastRawResult.GetRawValues().Select(a => a.ToString()).ToList()); }
public List <double> Predict(TensorOld X) { X = Normalize(X); LastRawResult = Model.Predict(X); return(LastRawResult.GetRawValues().ToList()); }