iyengar-lab / e2e-dro Goto Github PK
View Code? Open in Web Editor NEWEnd-to-end distributionally robust optimization
License: Apache License 2.0
End-to-end distributionally robust optimization
License: Apache License 2.0
Hi,
Just cloned the repo, installed dependencies and ran main.py
. Got the following error:
Traceback (most recent call last):
File ".\main.py", line 49, in <module>
X, Y = dl.AV(start, end, split, freq=freq, n_obs=n_obs, n_y=n_y, use_cache=True,
File "D:\Users\user1\Proyects\E2E-DRO\e2edro\DataLoad.py", line 288, in AV
X = pd.read_pickle('./cache/factor_'+freq+'.pkl')
File "D:\Users\user1\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\io\pickle.py", line 187, in read_pickle
return pc.load(f, encoding=None)
File "D:\Users\user1\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\compat\pickle_compat.py", line 241, in load
return up.load()
File "D:\Users\user1\AppData\Local\Programs\Python\Python38\lib\pickle.py", line 1210, in load
dispatch[key[0]](self)
File "D:\Users\user1\AppData\Local\Programs\Python\Python38\lib\pickle.py", line 1535, in load_stack_global
self.append(self.find_class(module, name))
File "D:\Users\user1\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\compat\pickle_compat.py", line 180, in find_class
return super().find_class(module, name)
File "D:\Users\user1\AppData\Local\Programs\Python\Python38\lib\pickle.py", line 1579, in find_class
return _getattribute(sys.modules[module], name)[0]
File "D:\Users\user1\AppData\Local\Programs\Python\Python38\lib\pickle.py", line 331, in _getattribute
raise AttributeError("Can't get attribute {!r} on {!r}"
AttributeError: Can't get attribute 'new_block' on <module 'pandas.core.internals.blocks' from 'D:\\Users\\user1\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\pandas\\core\\internals\\blocks.py'>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.