Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8427 for branches/NCA


Ignore:
Timestamp:
08/07/12 16:49:51 (12 years ago)
Author:
abeham
Message:

#1913:

  • Updated view
  • Cloned ProblemData for solution
Location:
branches/NCA
Files:
3 added
3 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • branches/NCA/HeuristicLab.Algorithms.NCA.Views/3.3

    • Property svn:ignore
      •  

        old new  
        11obj
        22Plugin.cs
         3bin
  • branches/NCA/HeuristicLab.Algorithms.NCA.Views/3.3/HeuristicLab.Algorithms.NCA.Views-3.3.csproj

    r8420 r8427  
    168168  <ItemGroup>
    169169    <None Include="Plugin.cs.frame" />
    170     <Compile Include="NCAModelView.cs">
     170    <Compile Include="NCADimensionalityReductionView.cs">
    171171      <SubType>UserControl</SubType>
    172172    </Compile>
    173     <Compile Include="NCAModelView.Designer.cs">
    174       <DependentUpon>NCAModelView.cs</DependentUpon>
     173    <Compile Include="NCADimensionalityReductionView.Designer.cs">
     174      <DependentUpon>NCADimensionalityReductionView.cs</DependentUpon>
    175175    </Compile>
    176176    <Compile Include="Plugin.cs" />
     
    188188  </ItemGroup>
    189189  <ItemGroup>
    190     <EmbeddedResource Include="NCAModelView.resx">
    191       <DependentUpon>NCAModelView.cs</DependentUpon>
     190    <EmbeddedResource Include="NCADimensionalityReductionView.resx">
     191      <DependentUpon>NCADimensionalityReductionView.cs</DependentUpon>
    192192    </EmbeddedResource>
    193193  </ItemGroup>
  • branches/NCA/HeuristicLab.Algorithms.NCA/3.3/INCAModel.cs

    r8412 r8427  
    2323
    2424namespace HeuristicLab.Algorithms.NCA {
    25   public interface INCAModel : IClassificationModel { }
     25  public interface INCAModel : IClassificationModel {
     26    double[,] TransformationMatrix { get; }
     27  }
    2628}
  • branches/NCA/HeuristicLab.Algorithms.NCA/3.3/NCA.cs

    r8425 r8427  
    8888
    8989    protected override void Run() {
    90       var classification = NeighborhoodComponentsAnalysis.CreateNCASolution(Problem.ProblemData, K.Value, ReduceDimensions.Value, InitializationParameter.Value);
     90      var classification = NeighborhoodComponentsAnalysis.CreateNCASolution((IClassificationProblemData)Problem.ProblemData.Clone(), K.Value, ReduceDimensions.Value, InitializationParameter.Value);
    9191      Results.Add(new Result("ClassificationSolution", "The classification solution.", classification));
    9292    }
Note: See TracChangeset for help on using the changeset viewer.