Home
last modified time | relevance | path

Searched refs:KFold (Results 1 – 25 of 95) sorted by relevance

1234

/dports/math/openturns/openturns-1.18/lib/src/Base/Algo/
H A DKFold.cxx29 CLASSNAMEINIT(KFold)
32 static const Factory<KFold> Factory_KFold;
36 KFold::KFold( const UnsignedInteger k, in KFold() function in KFold
44 KFold * KFold::clone() const in clone()
46 return new KFold( *this ); in clone()
50 String KFold::__repr__() const in __repr__()
57 Scalar KFold::run(const Sample & x, in run()
66 Scalar KFold::run(const Sample & y, in run()
158 void KFold::save(Advocate & adv) const in save()
166 void KFold::load(Advocate & adv) in load()
[all …]
/dports/math/openturns/openturns-1.18/python/src/
H A DKFold.i9 %include openturns/KFold.hxx
10 namespace OT { %extend KFold { KFold(const KFold & other) { return new OT::KFold(other); } } } in KFold() function
H A DKFold_doc.i.in1 %feature("docstring") OT::KFold
16 KFold inherits from :class:`~openturns.FittingAlgorithm`.
23 %feature("docstring") OT::KFold::getK
33 %feature("docstring") OT::KFold::setK
H A DFittingAlgorithmImplementation_doc.i.in11 :class:`~openturns.CorrectedLeaveOneOut` or :class:`~openturns.KFold`.
15 CorrectedLeaveOneOut, KFold
/dports/math/octave-forge-statistics/statistics-1.4.3/inst/
H A Dcrossval.m34 ## @item @qcode{"KFold"}
57 ## designations for the elements, in which case the @qcode{"KFold"} and
68 ## Only one of @qcode{"KFold"}, @qcode{"HoldOut"}, @qcode{"LeaveOut"},
70 ## specified, the default is @qcode{"KFold"} with @var{k} = 10.
109 elseif exist ("KFold", "var")
113 P = cvpartition (stratify, "KFold", KFold);
124 else #KFold
128 P = cvpartition (stratify, "KFold");
157 %! results1 = crossval (f, X, y, 'KFold', 10);
159 %! results2 = crossval (f, X, y, 'KFold', folds);
[all …]
/dports/math/openturns/openturns-1.18/lib/src/Base/Algo/openturns/
H A DKFold.hxx36 class OT_API KFold class
45 explicit KFold(const UnsignedInteger k = ResourceMap::GetAsUnsignedInteger( "KFold-DefaultK" ),
49 KFold * clone() const override;
/dports/misc/py-xgboost/xgboost-1.5.1/demo/guide-python/
H A Dsklearn_examples.py10 from sklearn.model_selection import KFold, train_test_split, GridSearchCV
20 kf = KFold(n_splits=2, shuffle=True, random_state=rng)
31 kf = KFold(n_splits=2, shuffle=True, random_state=rng)
42 kf = KFold(n_splits=2, shuffle=True, random_state=rng)
/dports/misc/xgboost/xgboost-1.5.1/demo/guide-python/
H A Dsklearn_examples.py10 from sklearn.model_selection import KFold, train_test_split, GridSearchCV
20 kf = KFold(n_splits=2, shuffle=True, random_state=rng)
31 kf = KFold(n_splits=2, shuffle=True, random_state=rng)
42 kf = KFold(n_splits=2, shuffle=True, random_state=rng)
/dports/mail/nextcloud-mail/mail/vendor/rubix/ml/tests/CrossValidation/
H A DKFoldTest.php7 use Rubix\ML\CrossValidation\KFold; alias
55 $this->validator = new KFold(10);
67 $this->assertInstanceOf(KFold::class, $this->validator);
/dports/mail/nextcloud-mail/mail/vendor/rubix/ml/docs/cross-validation/
H A Dk-fold.md1 …;"><a href="https://github.com/RubixML/ML/blob/master/src/CrossValidation/KFold.php">[source]</a><…
15 use Rubix\ML\CrossValidation\KFold;
17 $validator = new KFold(5, true);
H A Dapi.md14 use Rubix\ML\CrossValidation\KFold;
17 $validator = new KFold(10);
/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/model_selection/tests/
H A Dtest_split.py79 kf = KFold(n_splits)
163 KFold(),
261 KFold(0)
263 KFold(1)
276 KFold(1.5)
278 KFold(2.0)
296 kf = KFold(3)
302 kf = KFold(3)
322 splits = KFold(2).split(X2)
465 kf = KFold(3)
[all …]
H A Dcommon.py7 from sklearn.model_selection import KFold
16 self.indices = iter(KFold(n_splits=n_splits).split(np.ones(n_samples)))
/dports/science/py-scikit-learn/scikit-learn-1.0.2/examples/model_selection/
H A Dplot_nested_cross_validation_iris.py50 from sklearn.model_selection import GridSearchCV, cross_val_score, KFold
77 inner_cv = KFold(n_splits=4, shuffle=True, random_state=i)
78 outer_cv = KFold(n_splits=4, shuffle=True, random_state=i)
H A Dplot_cv_indices.py17 KFold,
148 cv = KFold(n_splits)
194 KFold,
/dports/misc/py-xgboost/xgboost-1.5.1/python-package/xgboost/
H A Dcompat.py56 from sklearn.model_selection import KFold, StratifiedKFold
58 from sklearn.cross_validation import KFold, StratifiedKFold
66 XGBKFold = KFold
/dports/misc/xgboost/xgboost-1.5.1/python-package/xgboost/
H A Dcompat.py56 from sklearn.model_selection import KFold, StratifiedKFold
58 from sklearn.cross_validation import KFold, StratifiedKFold
66 XGBKFold = KFold
/dports/math/octave-forge-statistics/statistics-1.4.3/inst/@cvpartition/
H A Dcvpartition.m20 … designations for the elements, in which case the partitioning types @var{KFold} and @var{HoldOut}…
25 ## @item @samp{KFold}
63 function C = cvpartition (X, partition_type = 'KFold', k = [])
79 warning ('unrecognized type, using KFold')
80 partition_type = 'KFold';
178 %! c = cvpartition (y, 'KFold', 10)
/dports/mail/nextcloud-mail/mail/vendor/rubix/ml/docs/
H A Dgrid-search.md16 | 4 | validator | KFold | Validator | The validator used to test and score each trained model. |
25 use Rubix\ML\CrossValidation\KFold;
31 $estimator = new GridSearch(KNearestNeighbors::class, $params, new FBeta(), new KFold(5));
/dports/science/py-nilearn/nilearn-0.8.1/examples/02_decoding/
H A Dplot_haxby_searchlight_surface.py63 from sklearn.model_selection import KFold
74 cv = KFold(n_splits=3, shuffle=False)
H A Dplot_haxby_searchlight.py72 from sklearn.model_selection import KFold
73 cv = KFold(n_splits=4)
/dports/science/py-scikit-learn/scikit-learn-1.0.2/examples/exercises/
H A Dplot_cv_diabetes.py19 from sklearn.model_selection import KFold
62 k_fold = KFold(3)
/dports/misc/py-xgboost/xgboost-1.5.1/tests/python-gpu/
H A Dtest_gpu_with_sklearn.py20 from sklearn.model_selection import KFold
25 kf = KFold(n_splits=2, shuffle=True, random_state=rng)
/dports/misc/xgboost/xgboost-1.5.1/tests/python-gpu/
H A Dtest_gpu_with_sklearn.py20 from sklearn.model_selection import KFold
25 kf = KFold(n_splits=2, shuffle=True, random_state=rng)
/dports/misc/orange3/orange3-3.29.1/Orange/widgets/evaluate/tests/
H A Dtest_owtestandscore.py129 self.assertEqual(self.widget.resampling, OWTestAndScore.KFold)
419 OWTestAndScore.KFold, 0),
427 OWTestAndScore.KFold, 2)
445 Table("iris"), None, MajorityLearner(), OWTestAndScore.KFold, 2)
449 Table("zoo"), None, MajorityLearner(), OWTestAndScore.KFold, 2)
453 Table("housing"), None, MeanLearner(), OWTestAndScore.KFold, 2)
462 w.controls.resampling.buttons[OWTestAndScore.KFold].click()
495 rbs[OWTestAndScore.KFold].click()
511 rbs[OWTestAndScore.KFold].click()
526 rbs[OWTestAndScore.KFold].click()
[all …]

1234