Skip to content

Commit

Permalink
Merged
Browse files Browse the repository at this point in the history
  • Loading branch information
dmccrevan committed Nov 7, 2018
1 parent de680ca commit f3ebe40
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/modules/generationtools/modelgeneration.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,11 @@ def findCovariances(df, dists, params):
cos = np.cov(data)
return cos

'''
Sample use:
def main():
iris = pd.read_csv('Iris.csv')
iris = iris.drop(columns=['Species'])
b, pv, p = findBestDistribution(iris)
print(b)

data = pd.read_csv("test.csv")
dists, pvalues, params = findBestDistribution(data)
cos = findCovariances(data, dists, params)
'''
if __name__ == '__main__':
main()

0 comments on commit f3ebe40

Please sign in to comment.