/// <summary> /// Add a set of evaluation metrics to the set of observations. /// </summary> /// <param name="metrics">The observed regression evaluation metric</param> public override void Add(RegressionMetrics metrics) { L1.Add(metrics.L1); L2.Add(metrics.L2); Rms.Add(metrics.Rms); LossFn.Add(metrics.LossFn); RSquared.Add(metrics.RSquared); }
/// <summary> /// Add a set of evaluation metrics to the set of observations. /// </summary> /// <param name="metrics">The observed regression evaluation metric</param> public override void Add(RegressionMetrics metrics) { L1.Add(metrics.MeanAbsoluteError); L2.Add(metrics.MeanSquaredError); Rms.Add(metrics.RootMeanSquaredError); LossFn.Add(metrics.LossFunction); RSquared.Add(metrics.RSquared); }
public confirmlanguage() { InitializeComponent(); //gets the names of the languages... then confirms that the language files are there... try { string[] lines = File.ReadAllLines(Environment.CurrentDirectory + "/translate/names.langs"); foreach (string line in lines) { try { string[] l = line.Split(':'); if (File.Exists(Environment.CurrentDirectory + "/translate/" + l[0] + ".lang")) { listBox1.Items.Add(l[1]); L2.Add(L2[0]); } } catch { } } } catch { } }