Created
July 21, 2019 21:12
-
-
Save orcaman/f539336f982d8c8e4ffd9c8802970a16 to your computer and use it in GitHub Desktop.
gmm.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gmm = GaussianMixture(20, covariance_type='full', random_state=0) | |
gmm.fit(data) | |
t1 = gmm.sample(len(data_real)) | |
data_new = t1[0] | |
points_new = pca.inverse_transform(data_new) | |
df_fake = pd.DataFrame(points_new, columns=list(data_real)[:-2]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment