Last active
August 16, 2021 05:16
-
-
Save tirthajyoti/46c2b9ddbc559de517f01ddc77f934a3 to your computer and use it in GitHub Desktop.
Distfit demo
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
# Generate test data | |
data1 = np.random.normal(loc=5.0, scale=10, size=1000) | |
# Initialize model | |
dist1 = distfit(bins=25,alpha=0.02,stats='ks') | |
# Fit | |
dist1.fit_transform(data1,verbose=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment