フィルターのクリア

modifying pdf of a GMM using gmdistribution

4 ビュー (過去 30 日間)
Eugene Kogan
Eugene Kogan 2011 年 2 月 17 日
コメント済み: Umar 2024 年 7 月 19 日 6:27
I have made a GMM using gmdistribution.fit on a dataset and now I'd like to alter the PDF by making the highs higher and the lows lower, for example by squaring or cubing the individual pdf values and then renormalizing so it sums to 1. The point is to emphasize the peaks of the distribution even more when sampling from the gmm. How can I transform the gmm in this way? Thanks!
Gene
  2 件のコメント
Eugene Kogan
Eugene Kogan 2011 年 2 月 17 日
An alternative method would be constructing my own arbitrary pdf... how would you go about sampling from an arbitrary probability distribution. I prefer the first way as long as its possible to shape/modify the pdf somehow.
Umar
Umar 2024 年 7 月 19 日 6:27
Hi Eugene,
First, load your dataset and fit a GMM using the fitgmdist function. Calculate the PDF values of the GMM using the pdf function.Apply a transformation to the PDF values (e.g., squaring or cubing) to emphasize peaks.Renormalize the transformed PDF values by dividing by the sum of the transformed values to ensure the distribution sums. Now, visualize the original and modified PDF on a plot to compare the effects of the transformation on the distribution. Hope this will help you resolve your problem now.

サインインしてコメントする。

回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by