Free cookie consent management tool by TermsFeed Policy Generator

Changeset 6973


Ignore:
Timestamp:
11/08/11 16:33:01 (13 years ago)
Author:
sforsten
Message:

#1669: different kinds of distribution have been implemented for the data generation. It hasn't been tested yet.

Location:
branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4
Files:
5 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/DistributionGenerator/Distribution.cs

    r6968 r6973  
    2121
    2222using System;
     23using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    2425
    2526namespace HeuristicLab.Problems.DataAnalysis.Benchmarks {
     27
     28  public enum DistributionType { Training, Test };
     29
    2630  public abstract class Distribution : NamedItem {
     31
     32    protected double start;
     33    protected double end;
     34
     35    protected Distribution(Distribution original, Cloner cloner)
     36      : base(original, cloner) {
     37      start = original.start;
     38      end = original.end;
     39    }
     40
     41    public Distribution(double start, double end) {
     42      this.start = start;
     43      this.end = end;
     44    }
    2745
    2846    public abstract Double Next();
  • branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Benchmarks/3.4/HeuristicLab.Problems.DataAnalysis.Benchmarks-3.4.csproj

    r6968 r6973  
    3838  </PropertyGroup>
    3939  <ItemGroup>
     40    <Reference Include="ALGLIB-3.1.0, Version=3.1.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" />
    4041    <Reference Include="System" />
    4142    <Reference Include="System.Core" />
     
    4950    <Compile Include="Benchmark.cs" />
    5051    <Compile Include="DistributionGenerator\Distribution.cs" />
     52    <Compile Include="DistributionGenerator\DistributionGenerator.cs" />
     53    <Compile Include="DistributionGenerator\NormalDistribution.cs" />
     54    <Compile Include="DistributionGenerator\RandomDistribution.cs" />
     55    <Compile Include="DistributionGenerator\StepsDistribution.cs" />
     56    <Compile Include="DistributionGenerator\UniformalDistribution.cs" />
    5157    <Compile Include="Plugin.cs" />
    5258    <Compile Include="Properties\AssemblyInfo.cs" />
Note: See TracChangeset for help on using the changeset viewer.