/// <summary> /// Used by valid input /// </summary> /// <param name="qFileName"></param> /// <param name="dFileName"></param> /// <param name="pairFileName"></param> public void Load_Validate_PairData(string qFileName, string dFileName, string pairFileName, Evaluation_Type type) { Load_PairData(qFileName, dFileName, null); eval = EvaluationSet.Create(type); eval.Loading_LabelInfo(new string[] { pairFileName }); }
public static EvaluationSet Create(Evaluation_Type type) { EvaluationSet eval = null; switch (type) { case Evaluation_Type.PairScore: eval = new PairScoreEvaluationSet(); break; case Evaluation_Type.MultiRegressionScore: eval = new MultiRegressionEvaluationSet(); break; case Evaluation_Type.ClassficationScore: eval = new ClassificationEvaluationSet(); break; case Evaluation_Type.PairRegressioinScore: eval = new RegressionEvaluationSet(); break; } return(eval); }
public float Eval_Score_ModelOnlyEvaluationModelOnly(string srcModelPath, string tgtModelPath, out List <string> validationFileLines) { return(EvaluationSet.EvaluationModelOnly(srcModelPath, tgtModelPath, out validationFileLines)); }