Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/24/11 16:44:24 (14 years ago)
Author:
mkommend
Message:

#1418: worked on different ProblemData classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Interfaces/Classification/IClassificationProblemData.cs

    r5501 r5559  
    2020#endregion
    2121
     22using System;
    2223using System.Collections.Generic;
    2324namespace HeuristicLab.Problems.DataAnalysis {
    2425  public interface IClassificationProblemData : IDataAnalysisProblemData {
    25     string TargetVariable { get; }
    26     int NumberOfClasses { get; }
    27 
     26    string TargetVariable { get; set; }
    2827    IEnumerable<string> ClassNames { get; }
    2928    IEnumerable<double> ClassValues { get; }
     29    int Classes { get; }
    3030
    3131    string GetClassName(double classValue);
    3232    double GetClassValue(string className);
     33    void SetClassName(double classValue, string className);
    3334
    3435    double GetClassificationPenalty(string correctClass, string estimatedClass);
    3536    double GetClassificationPenalty(double correctClassValue, double estimatedClassValue);
     37    void SetClassificationPenalty(string correctClassName, string estimatedClassName, double penalty);
     38    void SetClassificationPenalty(double correctClassValue, double estimatedClassValue, double penalty);
     39
     40    event EventHandler ClassNamesChanged;
     41    event EventHandler ClassificationPenaltyChanged;
    3642  }
    3743}
Note: See TracChangeset for help on using the changeset viewer.