Free cookie consent management tool by TermsFeed Policy Generator

Changeset 14885


Ignore:
Timestamp:
04/24/17 14:45:37 (7 years ago)
Author:
gkronber
Message:

#2699 renamed and moved files

Location:
branches/RBFRegression/HeuristicLab.Algorithms.DataAnalysis/3.4
Files:
1 deleted
1 edited
3 moved

Legend:

Unmodified
Added
Removed
  • branches/RBFRegression/HeuristicLab.Algorithms.DataAnalysis/3.4/HeuristicLab.Algorithms.DataAnalysis-3.4.csproj

    r14872 r14885  
    307307    <Compile Include="Interfaces\ISupportVectorMachineSolution.cs" />
    308308    <Compile Include="Interfaces\IDataAnalysisAlgorithm.cs" />
     309    <Compile Include="KernelRidgeRegression\KernelFunctions\CicularKernel.cs" />
     310    <Compile Include="KernelRidgeRegression\KernelFunctions\GaussianKernel.cs" />
     311    <Compile Include="KernelRidgeRegression\KernelFunctions\InverseMultiquadraticKernel.cs" />
     312    <Compile Include="KernelRidgeRegression\KernelFunctions\KernelBase.cs" />
     313    <Compile Include="KernelRidgeRegression\KernelFunctions\LaplacianKernel.cs" />
     314    <Compile Include="KernelRidgeRegression\KernelFunctions\MultiquadraticKernel.cs" />
     315    <Compile Include="KernelRidgeRegression\KernelFunctions\PolysplineKernel.cs" />
     316    <Compile Include="KernelRidgeRegression\KernelFunctions\ThinPlatePolysplineKernel.cs" />
     317    <Compile Include="KernelRidgeRegression\KernelRidgeRegression.cs" />
     318    <Compile Include="KernelRidgeRegression\KernelRidgeRegressionModel.cs" />
    309319    <Compile Include="kMeans\KMeansClustering.cs" />
    310320    <Compile Include="kMeans\KMeansClusteringModel.cs" />
     
    369379    <Compile Include="Plugin.cs" />
    370380    <Compile Include="Properties\AssemblyInfo.cs" />
    371     <Compile Include="RadialBasisFunctions\KernelFunctions\CicularKernel.cs" />
    372     <Compile Include="RadialBasisFunctions\KernelFunctions\GaussianKernel.cs" />
    373     <Compile Include="RadialBasisFunctions\KernelFunctions\InverseMultiquadraticKernel.cs" />
    374     <Compile Include="RadialBasisFunctions\KernelFunctions\KernelBase.cs" />
    375     <Compile Include="RadialBasisFunctions\KernelFunctions\LaplacianKernel.cs" />
    376     <Compile Include="RadialBasisFunctions\KernelFunctions\MultiquadraticKernel.cs" />
    377     <Compile Include="RadialBasisFunctions\KernelFunctions\PolysplineKernel.cs" />
    378     <Compile Include="RadialBasisFunctions\KernelFunctions\ThinPlatePolysplineKernel.cs" />
    379     <Compile Include="RadialBasisFunctions\RadialBasisFunctionModel.cs" />
    380     <Compile Include="RadialBasisFunctions\RadialBasisRegression.cs" />
    381381    <Compile Include="RandomForest\RandomForestClassificationSolution.cs" />
    382382    <Compile Include="RandomForest\RandomForestClassification.cs" />
     
    402402    <Compile Include="TSNE\Distances\IndexedItemDistance.cs" />
    403403    <Compile Include="TSNE\Distances\InnerProductDistance.cs" />
     404    <Compile Include="TSNE\Distances\ManhattanDistance.cs" />
    404405    <Compile Include="TSNE\Interfaces\IDistance.cs" />
    405406    <Compile Include="TSNE\Interfaces\ISpacePartitioningTree.cs" />
     
    434435    </BootstrapperPackage>
    435436  </ItemGroup>
    436   <ItemGroup>
    437     <Folder Include="RadialBasisFunctions\Distances\" />
    438     <Folder Include="RadialBasisFunctions\Interfaces\" />
    439   </ItemGroup>
     437  <ItemGroup />
    440438  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
    441439  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  • branches/RBFRegression/HeuristicLab.Algorithms.DataAnalysis/3.4/TSNE/Distances/ManhattanDistance.cs

    r14884 r14885  
    5050    }
    5151
    52     public static double GetDistance(IEnumerable<double> a, IEnumerable<double> b, double threshold) {
    53       double sum = 0;
    54       var it1 = a.GetEnumerator();
    55       var it2 = b.GetEnumerator();
    56       while (sum > threshold && it1.MoveNext() && it2.MoveNext()) {
    57         sum += Math.Abs(it1.Current - it2.Current);
    58       }
    59       it1.Dispose();
    60       it2.Dispose();
    61       return sum;
    62     }
    63 
    6452    public override double Get(IEnumerable<double> a, IEnumerable<double> b) {
    6553      return GetDistance(a.ToArray(), b.ToArray());
    6654    }
    67 
    68     public override double Get(IEnumerable<double> a, IEnumerable<double> b, double threshold) {
    69       return GetDistance(a, b, threshold);
    70     }
    71 
    72 
    7355  }
    7456}
Note: See TracChangeset for help on using the changeset viewer.