Пример #1
0
 //Constructors
 /// <summary>
 /// Creates an initialized instance
 /// </summary>
 /// <param name="classificationNetworksCfg">Default classification networks settings</param>
 /// <param name="forecastNetworksCfg">Default forecast networks settings</param>
 public DefaultNetworksSettings(ClassificationNetworksSettings classificationNetworksCfg = null,
                                ForecastNetworksSettings forecastNetworksCfg             = null
                                )
 {
     ClassificationNetworksCfg = classificationNetworksCfg == null ? new ClassificationNetworksSettings() : (ClassificationNetworksSettings)classificationNetworksCfg.DeepClone();
     ForecastNetworksCfg       = forecastNetworksCfg == null ? new ForecastNetworksSettings() : (ForecastNetworksSettings)forecastNetworksCfg.DeepClone();
     return;
 }
Пример #2
0
 //Constructors
 /// <summary>
 /// Creates an initialized instance
 /// </summary>
 /// <param name="oneWinnerGroupName">Specifies membership to "one winner" group of given name or no membership if default "NA" name is used</param>
 /// <param name="networksCfg">Classifying networks settings</param>
 public ClassificationTaskSettings(string oneWinnerGroupName = DefaultOneWinnerGroupName,
                                   ClassificationNetworksSettings networksCfg = null
                                   )
 {
     OneWinnerGroupName = oneWinnerGroupName;
     NetworksCfg        = networksCfg == null ? new ClassificationNetworksSettings() : (ClassificationNetworksSettings)networksCfg.DeepClone();
     Check();
     return;
 }