Home
last modified time | relevance | path

Searched refs:folds (Results 1 – 25 of 2213) sorted by relevance

12345678910>>...89

/dports/lang/perl5.32/perl-5.32.1/regen/
H A Dregcharclass_multi_char_folds.pl76 my @folds;
90 @folds = @{$folds_ref->[$i]};
92 next if @folds < 3;
95 pop @folds;
98 next if @folds < 3;
99 shift @folds;
108 } @folds;
117 elsif (! grep { chr($_) =~ /[^[:ascii:]]/ } @folds) {
121 my $this_fold_ref = \@folds;
/dports/science/py-dlib/dlib-19.22/dlib/svm/
H A Dsvm_threaded.h91 const long folds, in cross_validate_trainer_threaded_impl() argument
100 1 < folds && folds <= std::min(sum(y>0),sum(y<0)) && in cross_validate_trainer_threaded_impl()
105 << "\n\t folds: " << folds in cross_validate_trainer_threaded_impl()
127 const long num_pos_test_samples = num_pos/folds; in cross_validate_trainer_threaded_impl()
129 const long num_neg_test_samples = num_neg/folds; in cross_validate_trainer_threaded_impl()
138 std::vector<future<job<trainer_type,in_sample_vector_type> > > jobs(folds); in cross_validate_trainer_threaded_impl()
142 for (long i = 0; i < folds; ++i) in cross_validate_trainer_threaded_impl()
218 for (long i = 0; i < folds; ++i) in cross_validate_trainer_threaded_impl()
223 return res/(double)folds; in cross_validate_trainer_threaded_impl()
236 const long folds, in cross_validate_trainer_threaded() argument
[all …]
H A Dcross_validate_assignment_trainer.h77 const long folds in cross_validate_assignment_trainer() argument
85 1 < folds && folds <= static_cast<long>(samples.size()), in cross_validate_assignment_trainer()
89 << "\n\t folds: " << folds in cross_validate_assignment_trainer()
98 1 < folds && folds <= static_cast<long>(samples.size()), in cross_validate_assignment_trainer()
102 << "\n\t folds: " << folds in cross_validate_assignment_trainer()
114 const long num_in_test = samples.size()/folds; in cross_validate_assignment_trainer()
127 for (long i = 0; i < folds; ++i) in cross_validate_assignment_trainer()
H A Dcross_validate_sequence_labeler.h68 const long folds in cross_validate_sequence_labeler() argument
73 1 < folds && folds <= static_cast<long>(samples.size()), in cross_validate_sequence_labeler()
77 << "\n\t folds: " << folds in cross_validate_sequence_labeler()
102 const long num_in_test = samples.size()/folds; in cross_validate_sequence_labeler()
114 for (long i = 0; i < folds; ++i) in cross_validate_sequence_labeler()
/dports/science/dlib-cpp/dlib-19.22/dlib/svm/
H A Dsvm_threaded.h91 const long folds, in cross_validate_trainer_threaded_impl() argument
100 1 < folds && folds <= std::min(sum(y>0),sum(y<0)) && in cross_validate_trainer_threaded_impl()
105 << "\n\t folds: " << folds in cross_validate_trainer_threaded_impl()
127 const long num_pos_test_samples = num_pos/folds; in cross_validate_trainer_threaded_impl()
129 const long num_neg_test_samples = num_neg/folds; in cross_validate_trainer_threaded_impl()
138 std::vector<future<job<trainer_type,in_sample_vector_type> > > jobs(folds); in cross_validate_trainer_threaded_impl()
142 for (long i = 0; i < folds; ++i) in cross_validate_trainer_threaded_impl()
218 for (long i = 0; i < folds; ++i) in cross_validate_trainer_threaded_impl()
223 return res/(double)folds; in cross_validate_trainer_threaded_impl()
236 const long folds, in cross_validate_trainer_threaded() argument
[all …]
H A Dcross_validate_assignment_trainer.h77 const long folds in cross_validate_assignment_trainer() argument
85 1 < folds && folds <= static_cast<long>(samples.size()), in cross_validate_assignment_trainer()
89 << "\n\t folds: " << folds in cross_validate_assignment_trainer()
98 1 < folds && folds <= static_cast<long>(samples.size()), in cross_validate_assignment_trainer()
102 << "\n\t folds: " << folds in cross_validate_assignment_trainer()
114 const long num_in_test = samples.size()/folds; in cross_validate_assignment_trainer()
127 for (long i = 0; i < folds; ++i) in cross_validate_assignment_trainer()
/dports/misc/py-xgboost/xgboost-1.5.1/R-package/R/
H A Dxgb.cv.R122 obj = NULL, feval = NULL, stratified = TRUE, folds = NULL, train_folds = NULL, argument
152 if (!is.null(folds)) {
153 if (!is.list(folds) || length(folds) < 2)
155 nfold <- length(folds)
159 folds <- generate.cv.folds(nfold, nrow(data), stratified, cv_label, params)
196 bst_folds <- lapply(seq_along(folds), function(k) {
197 dtest <- slice(dall, folds[[k]])
200 dtrain <- slice(dall, unlist(folds[-k]))
204 …(dtrain = dtrain, bst = handle, watchlist = list(train = dtrain, test = dtest), index = folds[[k]])
245 folds = folds nameattr
[all …]
/dports/misc/xgboost/xgboost-1.5.1/R-package/R/
H A Dxgb.cv.R122 obj = NULL, feval = NULL, stratified = TRUE, folds = NULL, train_folds = NULL, argument
152 if (!is.null(folds)) {
153 if (!is.list(folds) || length(folds) < 2)
155 nfold <- length(folds)
159 folds <- generate.cv.folds(nfold, nrow(data), stratified, cv_label, params)
196 bst_folds <- lapply(seq_along(folds), function(k) {
197 dtest <- slice(dall, folds[[k]])
200 dtrain <- slice(dall, unlist(folds[-k]))
204 …(dtrain = dtrain, bst = handle, watchlist = list(train = dtrain, test = dtest), index = folds[[k]])
245 folds = folds nameattr
[all …]
/dports/lang/perl5.34/perl-5.34.0/regen/
H A Dregcharclass_multi_char_folds.pl91 my @folds;
105 @folds = @{$folds_ref->[$i]};
107 next if @folds < 3;
110 pop @folds;
113 next if @folds < 3;
114 shift @folds;
123 } @folds;
129 my $this_fold_ref = \@folds;
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/regen/
H A Dregcharclass_multi_char_folds.pl91 my @folds;
105 @folds = @{$folds_ref->[$i]};
107 next if @folds < 3;
110 pop @folds;
113 next if @folds < 3;
114 shift @folds;
123 } @folds;
129 my $this_fold_ref = \@folds;
/dports/devel/RStudio/rstudio-2021.09.1-372/src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/
H A DFold.java28 public static int getCollectiveHashCode(ArrayList<Fold> folds) in getCollectiveHashCode() argument
31 for (Fold fold : folds) in getCollectiveHashCode()
47 public static String encode(ArrayList<Fold> folds) in encode() argument
50 for (Fold f : folds) in encode()
80 public static JsArray<JsArrayMixed> toJs(ArrayList<Fold> folds) in toJs() argument
83 for (Fold f : folds) in toJs()
99 for (int i = 0; i < folds.length(); i++) in fromJs()
101 JsArrayMixed foldData = folds.get(i); in fromJs()
116 public static ArrayList<Fold> flatten(JsArray<AceFold> folds) in flatten() argument
119 for (int i = 0; i < folds.length(); i++) in flatten()
[all …]
/dports/net/ntp/ntp-4.2.8p15/libntp/
H A Dprettydate.c68 int32 folds = 0; in get_struct_tm() local
82 if (--folds < MINFOLD) in get_struct_tm()
86 if (++folds > MAXFOLD) in get_struct_tm()
105 if (--folds < MINFOLD) in get_struct_tm()
109 if (++folds > MAXFOLD) in get_struct_tm()
133 if (--folds < MINFOLD) in get_struct_tm()
137 if (++folds > MAXFOLD) in get_struct_tm()
145 if (folds != 0) { in get_struct_tm()
146 tm->tm_year += folds * SOLAR_CYCLE_YEARS; in get_struct_tm()
/dports/lang/perl5.30/perl-5.30.3/regen/
H A Dregcharclass_multi_char_folds.pl72 my @folds;
91 next if grep { $_ eq $fold } @folds;
94 push @folds, $fold
111 push @folds, gen_combinations($this_fold_ref);
136 push @folds, '"\x{17F}\x{17F}"' if $all_folds;
139 return @folds;
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/fontconfig/src/fc-case/
H A Dfc-case.c61 static FcCaseFold *folds; variable
67 if (folds) in addFold()
68 folds = realloc (folds, (nfolds + 1) * sizeof (FcCaseFold)); in addFold()
70 folds = malloc (sizeof (FcCaseFold)); in addFold()
71 if (!folds) in addFold()
73 return &folds[nfolds++]; in addFold()
182 folds[i].upper, case_fold_method_name (folds[i].method), in dump()
183 folds[i].count, folds[i].offset); in dump()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/fontconfig/src/fc-case/
H A Dfc-case.c61 static FcCaseFold *folds; variable
67 if (folds) in addFold()
68 folds = realloc (folds, (nfolds + 1) * sizeof (FcCaseFold)); in addFold()
70 folds = malloc (sizeof (FcCaseFold)); in addFold()
71 if (!folds) in addFold()
73 return &folds[nfolds++]; in addFold()
182 folds[i].upper, case_fold_method_name (folds[i].method), in dump()
183 folds[i].count, folds[i].offset); in dump()
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/servo-fontconfig-sys-4.0.9/fc-case/
H A Dfc-case.c61 static FcCaseFold *folds; variable
67 if (folds) in addFold()
68 folds = realloc (folds, (nfolds + 1) * sizeof (FcCaseFold)); in addFold()
70 folds = malloc (sizeof (FcCaseFold)); in addFold()
71 if (!folds) in addFold()
73 return &folds[nfolds++]; in addFold()
182 folds[i].upper, case_fold_method_name (folds[i].method), in dump()
183 folds[i].count, folds[i].offset); in dump()
/dports/x11/wmfocus/wmfocus-1.2.0/cargo-crates/servo-fontconfig-sys-5.1.0/fc-case/
H A Dfc-case.c61 static FcCaseFold *folds; variable
67 if (folds) in addFold()
68 folds = realloc (folds, (nfolds + 1) * sizeof (FcCaseFold)); in addFold()
70 folds = malloc (sizeof (FcCaseFold)); in addFold()
71 if (!folds) in addFold()
73 return &folds[nfolds++]; in addFold()
182 folds[i].upper, case_fold_method_name (folds[i].method), in dump()
183 folds[i].count, folds[i].offset); in dump()
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/servo-fontconfig-sys-5.1.0/fc-case/
H A Dfc-case.c61 static FcCaseFold *folds; variable
67 if (folds) in addFold()
68 folds = realloc (folds, (nfolds + 1) * sizeof (FcCaseFold)); in addFold()
70 folds = malloc (sizeof (FcCaseFold)); in addFold()
71 if (!folds) in addFold()
73 return &folds[nfolds++]; in addFold()
182 folds[i].upper, case_fold_method_name (folds[i].method), in dump()
183 folds[i].count, folds[i].offset); in dump()
/dports/math/R-cran-lava/lava/man/
H A Dcsplit.Rd6 \title{Split data into folds}
13 \item{p}{Number of folds, or if a number between 0 and 1 is given two folds of size p and (1-p) wil…
17 \item{return.index}{If TRUE index of folds are returned otherwise the actual data splits are return…
19 \item{k}{(Optional, only used when p=NULL) number of folds without shuffling}
24 Split data into folds
/dports/net/ntpsec/ntpsec-NTPsec_1_2_1/libntp/
H A Dprettydate.c56 int32_t folds = 0; in get_struct_tm() local
68 if (--folds < MINFOLD) in get_struct_tm()
72 if (++folds > MAXFOLD) in get_struct_tm()
97 if (--folds < MINFOLD) in get_struct_tm()
101 if (++folds > MAXFOLD) in get_struct_tm()
108 if (folds != 0) { in get_struct_tm()
109 tm->tm_year += folds * SOLAR_CYCLE_YEARS; in get_struct_tm()
/dports/games/xray_re-tools/xray_re-tools-52721d2/perl_scripts/service/resource_copier/
H A Drc.pl291 my @folds = split(/\\/, $name);
292 splice @folds, $#folds;
293 File::Path::mkpath($out.'\rawdata\objects\\'.join('\\', @folds));
313 my @folds = split(/\\/, $name);
314 splice @folds, $#folds;
315 File::Path::mkpath($out.'\gamedata\sounds\\'.join('\\', @folds));
336 my @folds = split(/\\/, $name);
337 splice @folds, $#folds;
338 File::Path::mkpath($out.'\rawdata\objects\\'.join('\\', @folds));
358 my @folds = split(/\\/, $name);
[all …]
/dports/math/openturns/openturns-1.18/python/src/
H A DKFold_doc.i.in7 Number of folds in which the sample is splitted. If not provided, default is
24 "Accessor to the number of folds.
29 Number of folds in which the sample is splitted."
34 "Accessor to the number of folds.
39 Number of folds in which the sample is splitted."
/dports/biology/graphlan/nsegata-pyphlan-eae40ebc0030/
H A Dlibsvm_cv.py39 folds = get_folds( prob, nfolds )
43 for nf,fold in enumerate(folds):
45 for j,f in enumerate(folds):
82 folds = [[] for i in range(nfolds)]
87 folds[i%nfolds].append(v)
89 return folds
97 folds = get_folds( prob, nfolds )
101 for nf,fold in enumerate(folds):
103 for j,f in enumerate(folds):
/dports/biology/graphlan/nsegata-graphlan-66ec7cfce81e/pyphlan/
H A Dlibsvm_cv.py39 folds = get_folds( prob, nfolds )
43 for nf,fold in enumerate(folds):
45 for j,f in enumerate(folds):
82 folds = [[] for i in range(nfolds)]
87 folds[i%nfolds].append(v)
89 return folds
97 folds = get_folds( prob, nfolds )
101 for nf,fold in enumerate(folds):
103 for j,f in enumerate(folds):
/dports/graphics/xfig/xfig-3.2.8a/Libraries/Origami/
H A D_star_example.fig101 4 0 0 54 0 20 12 0.0000 4 180 1770 900 7875 Reverse folds. Repeat at\001
656 4 0 0 54 0 20 12 0.0000 4 180 1890 810 4995 Mark all folds as displayed.\001
657 4 0 0 54 0 20 12 0.0000 4 180 960 4095 4995 Squash folds.\001
661 4 0 0 54 0 20 12 0.0000 4 180 2385 6345 8550 Valley folds. Turn the model over.\001
663 4 0 0 54 0 20 12 0.0000 4 180 2745 6390 4995 Squash folds. Repeat steps 2-3 below.\001

12345678910>>...89