Exemplo n.º 1
0
 /// <summary>
 /// The deep copy constructor.
 /// </summary>
 /// <param name="source">The source instance.</param>
 public YeoJohnsonTransformerSettings(YeoJohnsonTransformerSettings source)
     : this(source.InputFieldName, source.Lambda)
 {
     return;
 }
Exemplo n.º 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;
 }