Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/04/19 15:47:41 (6 years ago)
Author:
gkronber
Message:

#2955: changed error strings when trying to load an incompatible dataset for a model.

Location:
trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/NeuralNetwork
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/NeuralNetwork/NeuralNetworkEnsembleModel.cs

    r16565 r16763  
    144144        return IsProblemDataCompatible(classificationProblemData, out errorMessage);
    145145
    146       throw new ArgumentException("The problem data is not a regression nor a classification problem data. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");
     146      throw new ArgumentException("The problem data is not compatible with this neural network ensemble. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");
    147147    }
    148148
  • trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/NeuralNetwork/NeuralNetworkModel.cs

    r16565 r16763  
    147147        return IsProblemDataCompatible(classificationProblemData, out errorMessage);
    148148
    149       throw new ArgumentException("The problem data is not a regression nor a classification problem data. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");
     149      throw new ArgumentException("The problem data is not compatible with this neural network. Instead a " + problemData.GetType().GetPrettyName() + " was provided.", "problemData");
    150150    }
    151151
Note: See TracChangeset for help on using the changeset viewer.