public static ClassificationProblem CreateClassificationProblem(ClassificationProblemType problemType)
 {
     switch (problemType)
     {
         case ClassificationProblemType.ChessBoard:
             return CreateChessBoard();
         case ClassificationProblemType.Text:
             return CreateText();
         default:
             throw new ArgumentException();
     }
 }
        public static ClassificationProblem CreateClassificationProblem(ClassificationProblemType problemType)
        {
            switch (problemType)
            {
            case ClassificationProblemType.ChessBoard:
                return(CreateChessBoard());

            case ClassificationProblemType.Text:
                return(CreateText());

            default:
                throw new ArgumentException();
            }
        }