Changeset 10841 for branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Transformations/3.3/ShiftStandardDistributionTransformation.cs
- Timestamp:
- 05/14/14 10:31:55 (10 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.