Пример #1
0
 public static BaseEstimator Clone(BaseEstimator estimator, bool safe = true)
 {
     return((BaseEstimator)estimator.MemberwiseClone());
 }
Пример #2
0
 public static bool IsRegressor(BaseEstimator estimator)
 {
     return(estimator._estimator_type == "regressor");
 }
Пример #3
0
 public static bool IsOutlierDetector(BaseEstimator estimator)
 {
     return(estimator._estimator_type == "outlier_detector");
 }
Пример #4
0
 public static bool IsClassifier(BaseEstimator estimator)
 {
     return(estimator._estimator_type == "classifier");
 }