Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/10/12 15:21:19 (12 years ago)
Author:
abeham
Message:

#1913:

  • Refactored classes
  • Added parameter for number of iterations
  • Added parameter for neighborhood sampling (allows to speed up gradient calculation)
  • Adapted to changed k-NN algorithm
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/NCA/HeuristicLab.Algorithms.NCA/3.3/NCAClassificationSolution.cs

    r8437 r8466  
    2626
    2727namespace HeuristicLab.Algorithms.NCA {
    28   [Item("NCAClassificationSolution", "")]
     28  [Item("NCA Classification Solution", "")]
    2929  [StorableClass]
    30   public class NCAClassificationSolution : ClassificationSolution, INCAClassificationSolution {
     30  public class NcaClassificationSolution : ClassificationSolution, INcaClassificationSolution {
    3131
    32     public new INCAModel Model {
    33       get { return (INCAModel)base.Model; }
     32    public new INcaModel Model {
     33      get { return (INcaModel)base.Model; }
    3434      set { base.Model = value; }
    3535    }
    3636
    3737    [StorableConstructor]
    38     private NCAClassificationSolution(bool deserializing) : base(deserializing) { }
    39     private NCAClassificationSolution(NCAClassificationSolution original, Cloner cloner)
     38    private NcaClassificationSolution(bool deserializing) : base(deserializing) { }
     39    private NcaClassificationSolution(NcaClassificationSolution original, Cloner cloner)
    4040      : base(original, cloner) {
    4141    }
    42     public NCAClassificationSolution(IClassificationProblemData problemData, INCAModel ncaModel)
     42    public NcaClassificationSolution(IClassificationProblemData problemData, INcaModel ncaModel)
    4343      : base(ncaModel, problemData) {
    4444      RecalculateResults();
     
    4646
    4747    public override IDeepCloneable Clone(Cloner cloner) {
    48       return new NCAClassificationSolution(this, cloner);
     48      return new NcaClassificationSolution(this, cloner);
    4949    }
    5050
Note: See TracChangeset for help on using the changeset viewer.