Memuat
Memuat
Gaussian Mixture Model for Accounting and Auditing
0 views
Apply Gaussian Mixture Model to synthetic data to cluster listed companies by profitability and liquidity and interpret each group's characteristics. A Gaussian Mixture Model represents data as a mixture of several normal distributions and gives cluster membership probabilities. It suits overlapping, elliptical clusters where soft assignment is needed.

Apply Gaussian Mixture Model to synthetic data to cluster listed companies by profitability and liquidity and interpret each group's characteristics.
| Role | Variable | Unit |
|---|---|---|
| Main | Company | - |
| Supporting 1 | Return on assets | % |
| Supporting 2 | Current ratio | kali |
The Gaussian mixture selects 1 components by BIC (2917.4) for Company and Return on assets; mean assignment confidence is 1.000.
Computed from illustrative synthetic data, not from a real study.
A Gaussian Mixture Model represents data as a mixture of several normal distributions and gives cluster membership probabilities. It suits overlapping, elliptical clusters where soft assignment is needed.
Report the number of components chosen via BIC, the weights, and a profile of each component. Show membership probabilities for ambiguous points where relevant.
A short starting script with this project's variable names. The delivered version is adapted to your data and fully commented.
import numpy as np
import matplotlib.pyplot as plt
from sklearn.mixture import GaussianMixture
from sklearn.datasets import make_blobs
from sklearn.preprocessing import StandardScaler
X, _ = make_blobs(n_samples=500, centers=3, cluster_std=[1.0, 1.5, 0.8], random_state=18)
X = StandardScaler().fit_transform(X)
return_on_assets = X[:, 0]
current_ratio = X[:, 1]
ks = range(1, 8)
bic = []
for k in ks:
g = GaussianMixture(n_components=k, covariance_type="full", n_init=5, random_state=18).fit(X)
bic.append(g.bic(X))
print("k =", k, "BIC =", round(bic[-1], 1))
best_k = list(ks)[int(np.argmin(bic))]
gmm = GaussianMixture(n_components=best_k, covariance_type="full", n_init=5, random_state=18).fit(X)
company = gmm.predict(X)
prob = gmm.predict_proba(X)
print("Chosen k:", best_k, "weights:", gmm.weights_.round(3))
print("Ambiguous points (max prob < 0.8):", int((prob.max(axis=1) < 0.8).sum()))
fig, ax = plt.subplots(1, 2, figsize=(10, 4))
ax[0].plot(list(ks), bic, marker="o"); ax[0].set_xlabel("Components"); ax[0].set_ylabel("BIC")
ax[1].scatter(return_on_assets, current_ratio, c=company, s=15)
plt.tight_layout()
plt.show()Choose how much help you need. Each higher package includes everything in the lower ones. Prices exclude 11% VAT.
Package 1
US$31
excl. 11% VAT
Duration: 7 working days
Output: Python files + result figures
Deliverables
Package 2 · most chosen
US$88
excl. 11% VAT
Duration: 13 working days
Output: Code + analysis + interpretation notes
Includes all of Package 1, plus
Package 3
US$194
excl. 11% VAT
Duration: 18-21 working days
Output: Code + analysis + guidance until ready to present
Includes all of Packages 1 & 2, plus
Yes. Gaussian Mixture Model is commonly used at this level in Accounting and Auditing. We adapt the analysis to your research question, your own data and your supervisor's requirements.
No. The sheet is computed from illustrative synthetic data so you can see the kind of output Python gives. For your order we run the same method on your own data.
That is the point of the packages. Every script is commented, and Package 3 includes two coaching sessions plus practice questions so you can explain the method and the results at your seminar and defence.
Each project has three packages: Package 1 (code and explanation) US$31, Package 2 (your data analysis and interpretation) US$88 and Package 3 (full guidance) US$194, excluding 11% VAT. Larger datasets, extra methods or tight deadlines adjust the quote after a short consultation.
The result sheet uses illustrative synthetic data. Python is a trademark of the Python Software Foundation.
Back to Python portfolio