Changeset 10841


Ignore:
Timestamp:
05/14/14 10:31:55 (5 years ago)
Author:
tsteinre
Message:
  • renamed StandardDeviationTransformation to ShiftStandardDistributionTransformation
  • renamed ShiftDataToRangeTransformation to ShiftToRangeTransformation
Location:
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Transformations/3.3
Files:
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Transformations/3.3/HeuristicLab.Problems.DataAnalysis.Transformations-3.3.csproj

    r10815 r10841  
    4848  <ItemGroup>
    4949    <Compile Include="CopyColumnTransformation.cs" />
    50     <Compile Include="StandardDeviationTransformation.cs" />
     50    <Compile Include="ShiftStandardDistributionTransformation.cs" />
    5151    <Compile Include="PowerTransformation.cs" />
    5252    <Compile Include="ExponentialTransformation.cs" />
    5353    <Compile Include="LogarithmicTransformation.cs" />
    5454    <Compile Include="ReciprocalTransformation.cs" />
    55     <Compile Include="ShiftDataToRangeTransformation.cs" />
     55    <Compile Include="ShiftToRangeTransformation.cs" />
    5656    <Compile Include="Transformation.cs" />
    5757    <None Include="HeuristicLab.snk" />
  • branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Transformations/3.3/ShiftStandardDistributionTransformation.cs

    r10840 r10841  
    88
    99namespace HeuristicLab.Problems.DataAnalysis.Transformations {
    10   [Item("StandardDeviationTransformation", "f(x) = ((x - m_org) / s_org ) * s_tar + m_tar | Represents Transformation to unit standard deviation and additional linear transformation to a target Mean and Standard deviation")]
    11   public class StandardDeviationTransformation : Transformation<double> {
     10  [Item("ShiftStandardDistributionTransformation.cs", "f(x) = ((x - m_org) / s_org ) * s_tar + m_tar | Represents Transformation to unit standard deviation and additional linear transformation to a target Mean and Standard deviation")]
     11  public class ShiftStandardDistributionTransformation : Transformation<double> {
    1212    protected const string OriginalMeanParameterName = "OriginalMean";
    1313    protected const string OriginalStandardDeviationParameterName = "OriginalStandardDeviation";
     
    4848
    4949    [StorableConstructor]
    50     protected StandardDeviationTransformation(bool deserializing) : base(deserializing) { }
    51     protected StandardDeviationTransformation(Transformation<double> original, Cloner cloner)
     50    protected ShiftStandardDistributionTransformation(bool deserializing) : base(deserializing) { }
     51    protected ShiftStandardDistributionTransformation(Transformation<double> original, Cloner cloner)
    5252      : base(original, cloner) {
    5353    }
    54     public StandardDeviationTransformation(IEnumerable<string> allowedColumns)
     54    public ShiftStandardDistributionTransformation(IEnumerable<string> allowedColumns)
    5555      : base(allowedColumns) {
    5656      Parameters.Add(new ValueParameter<DoubleValue>(OriginalMeanParameterName, "m_org | Mean value of the original data's deviation.", new DoubleValue()));
     
    6363
    6464    public override IDeepCloneable Clone(Cloner cloner) {
    65       return new StandardDeviationTransformation(this, cloner);
     65      return new ShiftStandardDistributionTransformation(this, cloner);
    6666    }
    6767
  • branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Transformations/3.3/ShiftToRangeTransformation.cs

    r10840 r10841  
    88
    99namespace HeuristicLab.Problems.DataAnalysis.Transformations {
    10   [Item("ShiftDataToRangeTransformation", "f(x) = k * x + d, start <= f(x) <= end | Represents a linear Transformation using Parameters defining a target range")]
    11   public class ShiftDataToRangeTransformation : LinearTransformation {
     10  [Item("ShiftToRangeTransformation", "f(x) = k * x + d, start <= f(x) <= end | Represents a linear Transformation using Parameters defining a target range")]
     11  public class ShiftToRangeTransformation : LinearTransformation {
    1212    protected const string RangeParameterName = "Range";
    1313
     
    2525
    2626    [StorableConstructor]
    27     protected ShiftDataToRangeTransformation(bool deserializing) : base(deserializing) { }
    28     protected ShiftDataToRangeTransformation(Transformation<double> original, Cloner cloner)
     27    protected ShiftToRangeTransformation(bool deserializing) : base(deserializing) { }
     28    protected ShiftToRangeTransformation(Transformation<double> original, Cloner cloner)
    2929      : base(original, cloner) {
    3030    }
    31     public ShiftDataToRangeTransformation(IEnumerable<string> allowedColumns)
     31    public ShiftToRangeTransformation(IEnumerable<string> allowedColumns)
    3232      : base(allowedColumns) {
    3333      MultiplierParameter.Hidden = true;
     
    3737
    3838    public override IDeepCloneable Clone(Cloner cloner) {
    39       return new ShiftDataToRangeTransformation(this, cloner);
     39      return new ShiftToRangeTransformation(this, cloner);
    4040    }
    4141
Note: See TracChangeset for help on using the changeset viewer.