Labo-Lacourse / stepmix

A Python package following the scikit-learn API for model-based clustering and generalized mixture modeling (latent class/profile analysis) of continuous and categorical data. StepMix handles missing values through Full Information Maximum Likelihood (FIML) and provides multiple stepwise Expectation-Maximization (EM) estimation methods.
https://stepmix.readthedocs.io/en/latest/index.html
MIT License
54 stars 4 forks source link

Question about Sample Weighting in StepMix #51

Closed FelixLaliberte closed 9 months ago

FelixLaliberte commented 9 months ago

Hello,

Does StepMix allow for sample weighting? If so, would it be possible to know how?

Thank you,

sachaMorin commented 9 months ago

Various StepMix methods accept a sample_weight argument. Here's the documentation for the fit method.

FelixLaliberte commented 9 months ago

Great! Thanks for this response.