You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<spanclass="c1"># When weight sampling is used, val_known_size is kept but the resulting train size can be smaller due to no enough samples in some train dates</span>
<spanclass="sd"> need_test_set: Use to disable the test set. `Default: True`</span>
2025
2025
<spanclass="sd"> train_period_name: Name of the train period. See [instructions][config.DatasetConfig--how-to-configure-train-validation-and-test-sets].</span>
2026
2026
<spanclass="sd"> train_dates: Dates used for creating a train set.</span>
2027
-
<spanclass="sd">train_dates_weigths: To use a non-uniform distribution of samples across train dates.</span>
2027
+
<spanclass="sd">train_dates_weights: To use a non-uniform distribution of samples across train dates.</span>
2028
2028
<spanclass="sd"> val_approach: How a validation set should be created. Either split train data into train and validation or have a separate validation period. `Default: SPLIT_FROM_TRAIN`</span>
2029
2029
<spanclass="sd"> train_val_split_fraction: The fraction of validation samples when splitting from the train set. `Default: 0.2`</span>
2030
2030
<spanclass="sd"> val_period_name: Name of the validation period. See [instructions][config.DatasetConfig--how-to-configure-train-validation-and-test-sets].</span>
<spanclass="k">raise</span><spanclass="ne">ValueError</span><spanclass="p">(</span><spanclass="s2">"QUIC datasets do not support use_tcp_features"</span><spanclass="p">)</span>
<spanclass="k">raise</span><spanclass="ne">ValueError</span><spanclass="p">(</span><spanclass="s2">"QUIC datasets do not support use_push_flags"</span><spanclass="p">)</span>
2254
-
<spanclass="c1"># When train_dates_weigths are used, train_size and val_known_size have to be specified</span>
<spanclass="k">raise</span><spanclass="ne">ValueError</span><spanclass="p">(</span><spanclass="s2">"train_dates_weigths cannot be specified when need_train_set is false"</span><spanclass="p">)</span>
<spanclass="k">raise</span><spanclass="ne">ValueError</span><spanclass="p">(</span><spanclass="s2">"train_dates_weigths has to have the same length as train_dates"</span><spanclass="p">)</span>
2257
+
<spanclass="k">raise</span><spanclass="ne">ValueError</span><spanclass="p">(</span><spanclass="s2">"train_dates_weights cannot be specified when need_train_set is false"</span><spanclass="p">)</span>
<spanclass="k">raise</span><spanclass="ne">ValueError</span><spanclass="p">(</span><spanclass="s2">"train_dates_weights has to have the same length as train_dates"</span><spanclass="p">)</span>
<spanclass="k">raise</span><spanclass="ne">ValueError</span><spanclass="p">(</span><spanclass="s2">"train_size cannot be 'all' when train_dates_weigths are speficied"</span><spanclass="p">)</span>
2261
+
<spanclass="k">raise</span><spanclass="ne">ValueError</span><spanclass="p">(</span><spanclass="s2">"train_size cannot be 'all' when train_dates_weights are speficied"</span><spanclass="p">)</span>
<spanclass="k">raise</span><spanclass="ne">ValueError</span><spanclass="p">(</span><spanclass="s2">"val_known_size cannot be 'all' when train_dates_weigths are speficied and validation_approach is split-from-train"</span><spanclass="p">)</span>
2263
+
<spanclass="k">raise</span><spanclass="ne">ValueError</span><spanclass="p">(</span><spanclass="s2">"val_known_size cannot be 'all' when train_dates_weights are speficied and validation_approach is split-from-train"</span><spanclass="p">)</span>
0 commit comments