Thank you very much for creating and maintaining this library.
Looking at the source code of RuleFit, I find that the sample_fract parameter/attribute is unused. It is set in the constructor and then never used again. I also searched through the source files and could not find a meaningful use of sample_fract . It is set in other classes such as StableLinear and FPLasso but not used there either. Also i checked against TransformerMixin and ClassifierMixin they also don't seem to use the sample_fract parameter.
Dear maintainers of imodel,
Thank you very much for creating and maintaining this library. Looking at the source code of RuleFit, I find that the
sample_fract
parameter/attribute is unused. It is set in the constructor and then never used again. I also searched through the source files and could not find a meaningful use ofsample_fract
. It is set in other classes such asStableLinear
andFPLasso
but not used there either. Also i checked againstTransformerMixin
andClassifierMixin
they also don't seem to use thesample_fract
parameter.It seems there is an
sample_frac_
in line 37 in extract.py https://github.com/csinva/imodels/blob/6efaa9075df89a8750fe1125cff1010b65f1f2b4/imodels/util/extract.py#L36-L39 But it seems to be unaffected byRuleFit.sample_fract
.Is this intended behavior? Or is it planned, that this parameter is used in the future/ was used in the past?
Thank you very much for clarifying