@@ -234,6 +234,7 @@ impl<F: Float, S: egobox_doe::SamplingMethod<F>> MixintSampling<F, S> {
234
234
}
235
235
236
236
/// Sets whether we want to work in folded space
237
+ /// If set, sampling data will be provided in folded space
237
238
pub fn work_in_folded_space ( & mut self , output_in_folded_space : bool ) -> & mut Self {
238
239
self . output_in_folded_space = output_in_folded_space;
239
240
self
@@ -279,7 +280,8 @@ pub struct MixintMoeValidParams {
279
280
}
280
281
281
282
impl MixintMoeValidParams {
282
- /// Sets whether we want to work in folded space
283
+ /// Sets whether we want to work in folded space that is whether
284
+ /// If set, input training data has to be given in folded space
283
285
pub fn work_in_folded_space ( & self ) -> bool {
284
286
self . work_in_folded_space
285
287
}
@@ -478,7 +480,7 @@ pub struct MixintMoe {
478
480
moe : Moe ,
479
481
/// The input specifications
480
482
xtypes : Vec < XType > ,
481
- /// whether data are in given in folded space (enum indexes) or not (enum masks)
483
+ /// whether training input data are in given in folded space (enum indexes) or not (enum masks)
482
484
/// i.e for "blue" in ["red", "green", "blue"] either \[2\] or [0, 0, 1]
483
485
work_in_folded_space : bool ,
484
486
}
@@ -623,11 +625,13 @@ pub struct MixintContext {
623
625
xtypes : Vec < XType > ,
624
626
/// whether data are in given in folded space (enum indexes) or not (enum masks)
625
627
/// i.e for "blue" in ["red", "green", "blue"] either \[2\] or [0, 0, 1]
628
+ /// For sampling data refers to DOE data. For surrogate data refers to training input data
626
629
work_in_folded_space : bool ,
627
630
}
628
631
629
632
impl MixintContext {
630
633
/// Constructor with given `xtypes` specification
634
+ /// where working in folded space is the default
631
635
pub fn new ( xtypes : & [ XType ] ) -> Self {
632
636
MixintContext {
633
637
xtypes : xtypes. to_vec ( ) ,
0 commit comments