/// <summary>
 /// The deep copy constructor.
 /// </summary>
 /// <param name="source">The source instance.</param>
 public YeoJohnsonTransformerSettings(YeoJohnsonTransformerSettings source)
     : this(source.InputFieldName, source.Lambda)
 {
     return;
 }
Example #2
0
 //Constructor
 /// <summary>
 /// Creates an initialized instance.
 /// </summary>
 /// <param name="availableFieldNames">The collection of names of all available input fields.</param>
 /// <param name="cfg">The configuration.</param>
 public YeoJohnsonTransformer(List <string> availableFieldNames, YeoJohnsonTransformerSettings cfg)
 {
     _cfg      = (YeoJohnsonTransformerSettings)cfg.DeepClone();
     _fieldIdx = availableFieldNames.IndexOf(_cfg.InputFieldName);
     return;
 }