Changeset 10841
- Timestamp:
- 05/14/14 10:31:55 (11 years ago)
- 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 48 48 <ItemGroup> 49 49 <Compile Include="CopyColumnTransformation.cs" /> 50 <Compile Include="S tandardDeviationTransformation.cs" />50 <Compile Include="ShiftStandardDistributionTransformation.cs" /> 51 51 <Compile Include="PowerTransformation.cs" /> 52 52 <Compile Include="ExponentialTransformation.cs" /> 53 53 <Compile Include="LogarithmicTransformation.cs" /> 54 54 <Compile Include="ReciprocalTransformation.cs" /> 55 <Compile Include="Shift DataToRangeTransformation.cs" />55 <Compile Include="ShiftToRangeTransformation.cs" /> 56 56 <Compile Include="Transformation.cs" /> 57 57 <None Include="HeuristicLab.snk" /> -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Transformations/3.3/ShiftStandardDistributionTransformation.cs
r10840 r10841 8 8 9 9 namespace HeuristicLab.Problems.DataAnalysis.Transformations { 10 [Item("S tandardDeviationTransformation", "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 S tandardDeviationTransformation : 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> { 12 12 protected const string OriginalMeanParameterName = "OriginalMean"; 13 13 protected const string OriginalStandardDeviationParameterName = "OriginalStandardDeviation"; … … 48 48 49 49 [StorableConstructor] 50 protected S tandardDeviationTransformation(bool deserializing) : base(deserializing) { }51 protected S tandardDeviationTransformation(Transformation<double> original, Cloner cloner)50 protected ShiftStandardDistributionTransformation(bool deserializing) : base(deserializing) { } 51 protected ShiftStandardDistributionTransformation(Transformation<double> original, Cloner cloner) 52 52 : base(original, cloner) { 53 53 } 54 public S tandardDeviationTransformation(IEnumerable<string> allowedColumns)54 public ShiftStandardDistributionTransformation(IEnumerable<string> allowedColumns) 55 55 : base(allowedColumns) { 56 56 Parameters.Add(new ValueParameter<DoubleValue>(OriginalMeanParameterName, "m_org | Mean value of the original data's deviation.", new DoubleValue())); … … 63 63 64 64 public override IDeepCloneable Clone(Cloner cloner) { 65 return new S tandardDeviationTransformation(this, cloner);65 return new ShiftStandardDistributionTransformation(this, cloner); 66 66 } 67 67 -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Transformations/3.3/ShiftToRangeTransformation.cs
r10840 r10841 8 8 9 9 namespace HeuristicLab.Problems.DataAnalysis.Transformations { 10 [Item("Shift DataToRangeTransformation", "f(x) = k * x + d, start <= f(x) <= end | Represents a linear Transformation using Parameters defining a target range")]11 public class Shift DataToRangeTransformation : 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 { 12 12 protected const string RangeParameterName = "Range"; 13 13 … … 25 25 26 26 [StorableConstructor] 27 protected Shift DataToRangeTransformation(bool deserializing) : base(deserializing) { }28 protected Shift DataToRangeTransformation(Transformation<double> original, Cloner cloner)27 protected ShiftToRangeTransformation(bool deserializing) : base(deserializing) { } 28 protected ShiftToRangeTransformation(Transformation<double> original, Cloner cloner) 29 29 : base(original, cloner) { 30 30 } 31 public Shift DataToRangeTransformation(IEnumerable<string> allowedColumns)31 public ShiftToRangeTransformation(IEnumerable<string> allowedColumns) 32 32 : base(allowedColumns) { 33 33 MultiplierParameter.Hidden = true; … … 37 37 38 38 public override IDeepCloneable Clone(Cloner cloner) { 39 return new Shift DataToRangeTransformation(this, cloner);39 return new ShiftToRangeTransformation(this, cloner); 40 40 } 41 41
Note: See TracChangeset
for help on using the changeset viewer.