Comments (1)
The .csv file is in the directory where you've installed the package.
There's a need to change the path from where the file is being loaded. In the meantime, you can use the dataset and apply your own preprocessing. Or run the following code locally.
stock_url = 'https://query1.finance.yahoo.com/v7/finance/download/GOOG?period1=1483228800&period2=1611446400&interval=1d&events=history&includeAdjustedClose=true'
request = req.get(stock_url)
url_content = request.content
file_path = os.path.join(os.path.dirname(os.path.join('..', os.path.dirname(__file__))), 'data')
stock_csv = open(os.path.join(file_path, 'stock.csv'), 'wb')
stock_csv.write(url_content)
# Reading the stock data
stock_df = pd.read_csv('../data/stock.csv')
try:
stock_df = stock_df.set_index('Date').sort_index()
except:
stock_df=stock_df
#Data transformations to be applied prior to be used with the synthesizer model
processed_data = real_data_loading(stock_df.values, seq_len=seq_len)
Sorry for the inconvenience.
from ydata-synthetic.
Related Issues (20)
- [SUGGESTION] - Replace comments to clear the confusion HOT 1
- Issues install on MacOS HOT 5
- related to ydata-sdk Synthesizer model
- [BUG] Cannot import name 'TimeGAN' from 'ydata_synthetic.synthesizers.timeseries' HOT 2
- Install error HOT 1
- How can synthetic data be sorted by time? HOT 1
- [BUG] ydata fails to import on fresh Docker container HOT 2
- [BUG] unable to import module TimeSeriesSynthesizer when running mba_doppelganger.py example HOT 1
- Runninging TimeGAN initializer stalls the program indefinitely in example file
- [BUG]ModuleNotFoundError: No module named 'ydata' HOT 1
- [FEAT]Remove generator vars from gradient of the Supervised loss in TimeGAN (as loss does not depend on it)
- [BUG] Cannot install version 1.3.1
- How can I save the data generated by timeGAN?
- Installation Dependancies Failure[BUG] HOT 1
- [FEAT] How can i set min and max bounds for columns with numberic data? HOT 1
- [BUG]cannot import name 'streamlit_app' from 'ydata_synthetic'
- Model training debugging capabilities
- [BUG] Creating synthetic data via CGAN
- [FEAT] GPU no longer accessible in Google Collab
- [FEAT] Telemetry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ydata-synthetic.