analytics
Browse files
app.py
CHANGED
@@ -10,13 +10,14 @@ https://hits.seeyoufarm.com/
|
|
10 |
'''
|
11 |
PORTFOLIO OPTIMIZATION
|
12 |
'''
|
13 |
-
from
|
14 |
import numpy as np
|
15 |
def optimize(cost, prob, its):
|
16 |
s = Asset(np.asfarray(cost.split()),
|
17 |
np.asfarray(prob.split()))
|
18 |
|
19 |
return s.random_restart(int(its))
|
|
|
20 |
'''
|
21 |
TIME SERIES ANALYTICS
|
22 |
'''
|
|
|
10 |
'''
|
11 |
PORTFOLIO OPTIMIZATION
|
12 |
'''
|
13 |
+
from aiOpt import Asset
|
14 |
import numpy as np
|
15 |
def optimize(cost, prob, its):
|
16 |
s = Asset(np.asfarray(cost.split()),
|
17 |
np.asfarray(prob.split()))
|
18 |
|
19 |
return s.random_restart(int(its))
|
20 |
+
|
21 |
'''
|
22 |
TIME SERIES ANALYTICS
|
23 |
'''
|