Exemple #1
0
 public static List <double> GetCurrectParametersForHelperLearning(LastMatch LM)
 {
     return(new List <double>()
     {
         // Total
         HelpFunctions.SigmaFunction(LM.Score_A + LM.Score_B),
         // Save A
         (LM.shot_on_target_B == 0)? 1 : LM.save_A / LM.shot_on_target_B,
         // Save B
         (LM.shot_on_target_A == 0)? 1 : LM.save_B / LM.shot_on_target_A,
         // Нарушения А
         HelpFunctions.SigmaFunction(LM.Violations_A),
         // Нарушения В
         HelpFunctions.SigmaFunction(LM.Violations_B),
         // Shot A
         HelpFunctions.SigmaFunction(LM.shot_on_target_A),
         // Shot B
         HelpFunctions.SigmaFunction(LM.shot_on_target_B),
     });
 }
Exemple #2
0
 public static List <double> GetVangaInputParametersByCorrectMarchForFootballLearning(LastMatch LM)
 {
     return(new List <double>()
     {
         // Total
         LM.Score_A + LM.Score_B,
         LM.Score_A + LM.Score_B + 1,
         // Save A
         LM.save_A / (LM.shot_on_target_B + 1),
         LM.save_A / LM.shot_on_target_B,
         // Save B
         LM.save_B / (LM.shot_on_target_A + 1),
         LM.save_B / LM.shot_on_target_A,
         // Нарушения А
         LM.Violations_A,
         LM.Violations_A + 1,
         // Нарушения В
         LM.Violations_B,
         LM.Violations_B + 1,
         // Shot A
         LM.shot_on_target_A,
         LM.shot_on_target_A + 1,
         // Shot B
         LM.shot_on_target_B,
         LM.shot_on_target_B + 1
     });
 }