vivekpa / introneuralnetworks Goto Github PK
View Code? Open in Web Editor NEWIntroducing neural networks to predict stock prices
License: MIT License
Introducing neural networks to predict stock prices
License: MIT License
I'm running the code as is, and although it's running fine, the evaluation returns a loss and when I ask it for an accuracy it returns 0. Also, the prediction is at about 40. Any idea why this happens?
Hello!
I am trying to figure out why neither models print any output. I ran get_prices.py and it created the correct csv file with data. I then ran preprocessing.py and again with no problems. However when I run LSTM_model.py or MLP_model-py it epochs the data and so on and finishes with no error messages, however it doesnt print anything either.
[100%**] 1 of 1 downloaded
Traceback (most recent call last):
File "LSTM_model.py", line 37, in
X_predict = np.array(stock).reshape((1, 10, 1)) / 200
ValueError: cannot reshape array of size 9 into shape (1,10,1)
My name is Luis, I'm a big-data machine-learning developer, I'm a fan of your work, and I usually check your updates.
I was afraid that my savings would be eaten by inflation. I have created a powerful tool that based on past technical patterns (volatility, moving averages, statistics, trends, candlesticks, support and resistance, stock index indicators).
All the ones you know (RSI, MACD, STOCH, Bolinger Bands, SMA, DEMARK, Japanese candlesticks, ichimoku, fibonacci, williansR, balance of power, murrey math, etc) and more than 200 others.
The tool creates prediction models of correct trading points (buy signal and sell signal, every stock is good traded in time and direction).
For this I have used big data tools like pandas python, stock market libraries like: tablib, TAcharts ,pandas_ta... For data collection and calculation.
And powerful machine-learning libraries such as: Sklearn.RandomForest , Sklearn.GradientBoosting, XGBoost, Google TensorFlow and Google TensorFlow LSTM.
With the models trained with the selection of the best technical indicators, the tool is able to predict trading points (where to buy, where to sell) and send real-time alerts to Telegram or Mail. The points are calculated based on the learning of the correct trading points of the last 2 years (including the change to bear market after the rate hike).
I think it could be useful to you, to improve, I would like to give it to you, and if you are interested in improving and collaborating I am also willing, and if not I would like to file it in the drawer.
Good day. When i run python get_prices.py
such error appears...
Traceback (most recent call last):
File "get_prices.py", line 4, in <module>
fix.pdr_override()
TypeError: download() missing 1 required positional argument: 'tickers'
Hi,
The prediction was only with the actual data and there is no data predicted for next few data or days.
What you done is "If the data was 1000 then the predicted also 1000".
But I'm asking is predicted data for next n number of days.
For example:
if we have 1000 data and we need to predict for next 10 days then it should be predicted for 1010 data.
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.