SlideShare ist ein Scribd-Unternehmen logo
1 von 40
Bitcoin Price Prediction
Using Deep Learning
Algorithm LSTM and
Sentiment Analysis on
Bitcoin.
Contents Overview
2
1. Introduction
2. Why this project?
3. What is NN and RNN?
4. Why LSTM over RNN?
5. Software model - Agile
Process
6. User and System
Requirements
7. Design
8. Implementation
9. Testing
10. Results
11. Future Work
References
Introduction
● Bitcoin is an innovative payment network and a new kind of money or a
cryptocurrency, where cryptocurrency is a digital asset designed to work as a
exchange medium that uses strong cryptography to secure financial
transactions, control the creation of additional units, and verify the transfer of
assets. BITCOIN, the first cryptocurrency was introduced in a paper published
in 2008 by an author under pseudonym of SATOSHI NAKAMOTO.
● We aim to incorporate machine learning to analyse past fluctuations in
currency prices, and attempt to decipher a trend in prices, this is because we
can’t predict accurately and sentiment analysis of bitcoin from twitter tweets.
3
4
● As we reach, in the final year, we will soon be responsible, earning individuals,
who will want to save money and invest it properly to gain huge benefits.
● Since stocks and cryptocurrency trading are in trend, we choose to help common
man to learn how this works, and enable them to invest judiciously by studying
this Trend Analysis.
Why this project
NN and RNN Neural Networks
Conventional Feed-Forward Neural Network
Feed-forward Neural Network is an unidirectional that moves the information
only in one direction from input layers,through the hidden layers,to the output
layers.
Feed-forward Neural Network ,have no memory of previously received input
hence cannot predict the coming next input and it considers only current input.
Simply they cannot remember the past inputs except their training
5
NN and RNN Neural Networks
Recurrent neural network
● Recurrent neural network(RNN) falls under the class of artificial neural
network or advanced artificial neural network in which direct cycles in memory
are involved. Recurrent neural networks has the ability to build networks with
fixed sized input and output layers.In RNN the information cycles in the form
of a loop. Hence,RNN not only considers the current input but also the
previously received inputs.
● Thus RNN contains two inputs one is the current and the other is previous
inputs.Also Feed-forward maps one input to one output but RNN can map one
to many,many to one and many to many. 6
Why LSTM Over Other Neural Networks
Drawbacks of RNN neural network
1. Long term dependencies is the drawback of RNN neural networks.The RNN
neural networks consider both previous and present input to perform the task.
But, in some cases it doesn’t need to consider the previous input as the output
purely depends on current input.Consider the example “the clouds are in the sky”,
in which we are trying to predict the last word based on previous word and
following example needs small context or small gap between relevant
information.But in some cases it needs large context.
7
Why LSTM Over Other Neural Networks
Consider trying to predict the last word in the text “I grew up in France… I
speak fluent French.” Recent information suggests that the next word is probably
the name of a language, but if we want to narrow down which language, we need
the context of France, from further back. It’s entirely possible for the gap between
the relevant information and the point where it is needed to become very large.
Unfortunately, as that gap grows, RNNs become unable to learn to connect
the information. In theory, RNNs are absolutely capable of handling such “long-term
dependencies”. But in practical they don’t.This problem is solved in LSTM
8
Agile Process Model
9
1. Requirements
Analysis
3. Development and
Implementation
4. Testing
Each iteration
develops the small
part of the software
product.
2. Planning and Design
Each iteration develops
the small part of the
software product.
User And System Requirements
User Requirements
● To get the predicted price
of a bitcoin
● To see the trend in
variation of bitcoin
System requirements
● To incorporate machine
learning algorithms in
order decipher the a trend
in prices .
● To use various API which
provides user-friendly UI.
10
“
ALGORITHM
1111
LSTM (Long Short Term Memory) is an artificial recurrent
neural network
(RNN) architecture used in the field of deep learning. A
common LSTM unit is
composed of a cell, an input gate, an output gate and a
forget gate. The cell remembers
values over arbitrary time intervals and the three gates
regulate the flow of
information in and out of the cell.
12
Step 1: First step is to discard cell state. This decision is taken by the Sigmoid layer.
Step 2: The input gate layer then decides which information to store in the cell state.
Then the tanh layer creates a vector of new candidate values.
Step 3: Next, We multiply the old state by ft. This is the new
value, scaled by how much we decided to update each state value.
Step 4: First, we run a sigmoid layer which decides what parts of the cell state .That
is our going to output. Then, we put the cell state through tanh (to push the values to
be between −1 and 1) and multiply it by the output of the sigmoid gate, so that we
only output the parts we decided to.
13
SHORT EXAMPLE 14
Ex : Mady and Monica walk in to the room
together , later Richard walks in to the room.
Mady Said “hi” to ____??
The assumption I am making is memory
might change from Monica to Richard.
BIGGER CONCEPT
IMPLEMENTATION AND DESIGN
15
DESIGN
The Model
16
7
17
18
Model
Implementation
Model Implementation
19
8
STEP WISE PROCEDURE
01
Dataset
preparation
02 Import
Libraries
03
Build the Model and
feed the data.
04
Train and
validate
20
Data Preparation
21
Source: https://coinmarketcap.com/
Data Preprocessing:
● Divide the dataset into and training and testing set.
● Normalize and reshape.
Libraries and Tools used
22
● Keras
● Sklearn
● NumPy
● SpyDer - IDE
● TextBlob
Model.summary()
23
4x[(input shape + 1)xoutput
shape + output shape^2]
Therefore,
4*[(1+1)*256+256*256]
= 4*[2*256+65,536]
= 4*[66,048] = 2,64,192.
Model Fitting using
Back Propagation
▪ Back propagate errors(error calculation with loss function)
▪ Loss optimization (optimizer-update weights)
▪ Calculate gradient.
24
Positive Gradient Decrease weight
Negative Gradient Increase weight
Transfer Learning
25
DESIGN
Sentiment Analysis
26
7
Sentiment Analysis
27
Sentiment Analysis is the process of determining(computationally) whether a piece of
writing is positive, negative or neutral. It is also known as opinion mining.
There are already many APIs developed for sentiment analysis so we decided to use
those existing APIs. The APIs or python library which we planned to use are as
follows,
● Tweepy - which is python client
● TextBlob - Textual Data Parser and provides built program of sentiment
analysis for textual data.
● Natural language toolkit corpora
Implementation
Sentiment Analysis
28
8
Step wise procedure
29
Step 1. Created a Developer application in twitter
Step 2. Parse the tweets data through TextBlob
Step 3. Returned parsed tweets and perform statistical analysis
Tweepy : python client To Twitter API through twitter
developer application
Request
TextBlob : used to process textual data,
remove hashtags, focuses on
adjectives/adverbs, removes stopwords,
used to apply sentiment analysis.
Access to tweets data
Visualization of the implementation
Testing
Last step in the process of
Development
31
9
Types Of Testing
Testing is the last step before the completion of any web application/ program/ website. Like it is mandatory to check
all weapons before going for a war, similarly it is necessary to check that the application works well for any standard
input and produces desired output, serving the purpose of the application. For the above means, the checklist includes
the following testing methods we used in the project:
● Unit Testing : In this level of testing the individual units/ components of a software are tested. The main
purpose is to testify that each unit of the software performs as designed. A unit is the smallest testable part of
any software. It usually has one or a few inputs and usually a single output.
● Integration Testing : In this level of software testing , individual units are combined and tested as a group
together. The purpose of this level of testing is to expose faults in the interaction between integrated units.
● System Testing : It is a level of software testing where a complete and integrated software is tested. The
purpose of this test is to evaluate the system's compliance with the specified requirements.
32
Results
33
10
34
35
Results of GRU Model
Prediction
Sentiment Analysis
37
Future Scope
Future Aspects and Incremental Work
possible
38
11
39
1. Use to predict the prices of other cryptocurrencies like litecoin, ether etc.,
2. We tried to incorporate the idea of transfer learning, this model can be
optimized for better performance.
3. The web application which is the final software product of this project can
provide numerous other applications on single site like - live sentiment
analysis of bitcoin, tutorial to do trading using bitcoin crypto currency etc.,
4. The result predict from the model and the idea of sentiment analysis can
be combined to predict the prices more accurately, this predicted price will
use both - historical data and current events related to Bitcoin.
THANK YOU
40
👍

Weitere ähnliche Inhalte

Was ist angesagt?

Stock price prediction using Neural Net
Stock price prediction using Neural NetStock price prediction using Neural Net
Stock price prediction using Neural NetRajat Sharma
 
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...Simplilearn
 
Fake News Detection using Machine Learning
Fake News Detection using Machine LearningFake News Detection using Machine Learning
Fake News Detection using Machine Learningijtsrd
 
Supervised vs Unsupervised vs Reinforcement Learning | Edureka
Supervised vs Unsupervised vs Reinforcement Learning | EdurekaSupervised vs Unsupervised vs Reinforcement Learning | Edureka
Supervised vs Unsupervised vs Reinforcement Learning | EdurekaEdureka!
 
BitCoin Price Predictor.pptx
BitCoin Price Predictor.pptxBitCoin Price Predictor.pptx
BitCoin Price Predictor.pptxIrfan Anjum
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}FellowBuddy.com
 
Issues in knowledge representation
Issues in knowledge representationIssues in knowledge representation
Issues in knowledge representationSravanthi Emani
 
artificial neural network
artificial neural networkartificial neural network
artificial neural networkPallavi Yadav
 
Metaverse the future.pptx
Metaverse the future.pptxMetaverse the future.pptx
Metaverse the future.pptxNinaiqbal
 
Stock Market Prediction
Stock Market PredictionStock Market Prediction
Stock Market PredictionMRIDUL GUPTA
 

Was ist angesagt? (20)

FAKE NEWS DETECTION PPT
FAKE NEWS DETECTION PPT FAKE NEWS DETECTION PPT
FAKE NEWS DETECTION PPT
 
Blockchain
BlockchainBlockchain
Blockchain
 
Metaverse
Metaverse Metaverse
Metaverse
 
Stock price prediction using Neural Net
Stock price prediction using Neural NetStock price prediction using Neural Net
Stock price prediction using Neural Net
 
Blockchain by Aman Thakur.pptx
Blockchain by Aman Thakur.pptxBlockchain by Aman Thakur.pptx
Blockchain by Aman Thakur.pptx
 
metaverse presentation
metaverse presentation metaverse presentation
metaverse presentation
 
Bitcoin & Bitcoin Mining
Bitcoin & Bitcoin MiningBitcoin & Bitcoin Mining
Bitcoin & Bitcoin Mining
 
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...
Machine Learning Algorithms | Machine Learning Tutorial | Data Science Algori...
 
Fake News Detection using Machine Learning
Fake News Detection using Machine LearningFake News Detection using Machine Learning
Fake News Detection using Machine Learning
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
Supervised vs Unsupervised vs Reinforcement Learning | Edureka
Supervised vs Unsupervised vs Reinforcement Learning | EdurekaSupervised vs Unsupervised vs Reinforcement Learning | Edureka
Supervised vs Unsupervised vs Reinforcement Learning | Edureka
 
BitCoin Price Predictor.pptx
BitCoin Price Predictor.pptxBitCoin Price Predictor.pptx
BitCoin Price Predictor.pptx
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}
 
Housing price prediction
Housing price predictionHousing price prediction
Housing price prediction
 
Issues in knowledge representation
Issues in knowledge representationIssues in knowledge representation
Issues in knowledge representation
 
Cryptocurrency
CryptocurrencyCryptocurrency
Cryptocurrency
 
artificial neural network
artificial neural networkartificial neural network
artificial neural network
 
Metaverse the future.pptx
Metaverse the future.pptxMetaverse the future.pptx
Metaverse the future.pptx
 
Stock Market Prediction
Stock Market PredictionStock Market Prediction
Stock Market Prediction
 
Smart contracts
Smart contractsSmart contracts
Smart contracts
 

Ähnlich wie Bitcoin Price Prediction

Week 4 Assignment - Software Development PlanScenario-Your team has be.docx
Week 4 Assignment - Software Development PlanScenario-Your team has be.docxWeek 4 Assignment - Software Development PlanScenario-Your team has be.docx
Week 4 Assignment - Software Development PlanScenario-Your team has be.docxestefana2345678
 
Transfer Leaning Using Pytorch synopsis Minor project pptx
Transfer Leaning Using Pytorch  synopsis Minor project pptxTransfer Leaning Using Pytorch  synopsis Minor project pptx
Transfer Leaning Using Pytorch synopsis Minor project pptxAnkit Gupta
 
IRJET- Recruitment Chatbot
IRJET- Recruitment ChatbotIRJET- Recruitment Chatbot
IRJET- Recruitment ChatbotIRJET Journal
 
Jubatus talk at HadoopSummit 2013
Jubatus talk at HadoopSummit 2013Jubatus talk at HadoopSummit 2013
Jubatus talk at HadoopSummit 2013Preferred Networks
 
STOCK MARKET PREDICTION USING NEURAL NETWORKS
STOCK MARKET PREDICTION USING NEURAL NETWORKSSTOCK MARKET PREDICTION USING NEURAL NETWORKS
STOCK MARKET PREDICTION USING NEURAL NETWORKSIRJET Journal
 
Basic of python for data analysis
Basic of python for data analysisBasic of python for data analysis
Basic of python for data analysisPramod Toraskar
 
Stock Market Prediction
Stock Market Prediction Stock Market Prediction
Stock Market Prediction SalmanShezad
 
A practical look at how to build & run IoT business logic
A practical look at how to build & run IoT business logicA practical look at how to build & run IoT business logic
A practical look at how to build & run IoT business logicVeselin Pizurica
 
Program concep sequential statements
Program concep sequential statementsProgram concep sequential statements
Program concep sequential statementsankurkhanna
 
AlgoB – Cryptocurrency price prediction system using LSTM
AlgoB – Cryptocurrency price prediction system using LSTMAlgoB – Cryptocurrency price prediction system using LSTM
AlgoB – Cryptocurrency price prediction system using LSTMIRJET Journal
 
House price prediction
House price predictionHouse price prediction
House price predictionSabahBegum
 
Bitcoin Price Prediction Using LSTM
Bitcoin Price Prediction Using LSTMBitcoin Price Prediction Using LSTM
Bitcoin Price Prediction Using LSTMIRJET Journal
 
Performance Comparison between Pytorch and Mindspore
Performance Comparison between Pytorch and MindsporePerformance Comparison between Pytorch and Mindspore
Performance Comparison between Pytorch and Mindsporeijdms
 
Maximizing Innovation through ChatGPT Powered Patent Analysis
Maximizing Innovation through ChatGPT Powered Patent AnalysisMaximizing Innovation through ChatGPT Powered Patent Analysis
Maximizing Innovation through ChatGPT Powered Patent AnalysisAlex G. Lee, Ph.D. Esq. CLP
 
Python for Machine Learning
Python for Machine LearningPython for Machine Learning
Python for Machine LearningStudent
 
IRJET- Python Libraries and Packages for Deep Learning-A Survey
IRJET-  	  Python Libraries and Packages for Deep Learning-A SurveyIRJET-  	  Python Libraries and Packages for Deep Learning-A Survey
IRJET- Python Libraries and Packages for Deep Learning-A SurveyIRJET Journal
 
IRJET - Network Traffic Monitoring and Botnet Detection using K-ANN Algorithm
IRJET - Network Traffic Monitoring and Botnet Detection using K-ANN AlgorithmIRJET - Network Traffic Monitoring and Botnet Detection using K-ANN Algorithm
IRJET - Network Traffic Monitoring and Botnet Detection using K-ANN AlgorithmIRJET Journal
 
Currency Recognition using Machine Learning
Currency Recognition using Machine LearningCurrency Recognition using Machine Learning
Currency Recognition using Machine LearningIRJET Journal
 

Ähnlich wie Bitcoin Price Prediction (20)

Week 4 Assignment - Software Development PlanScenario-Your team has be.docx
Week 4 Assignment - Software Development PlanScenario-Your team has be.docxWeek 4 Assignment - Software Development PlanScenario-Your team has be.docx
Week 4 Assignment - Software Development PlanScenario-Your team has be.docx
 
Transfer Leaning Using Pytorch synopsis Minor project pptx
Transfer Leaning Using Pytorch  synopsis Minor project pptxTransfer Leaning Using Pytorch  synopsis Minor project pptx
Transfer Leaning Using Pytorch synopsis Minor project pptx
 
IRJET- Recruitment Chatbot
IRJET- Recruitment ChatbotIRJET- Recruitment Chatbot
IRJET- Recruitment Chatbot
 
Jubatus talk at HadoopSummit 2013
Jubatus talk at HadoopSummit 2013Jubatus talk at HadoopSummit 2013
Jubatus talk at HadoopSummit 2013
 
STOCK MARKET PREDICTION USING NEURAL NETWORKS
STOCK MARKET PREDICTION USING NEURAL NETWORKSSTOCK MARKET PREDICTION USING NEURAL NETWORKS
STOCK MARKET PREDICTION USING NEURAL NETWORKS
 
Basic of python for data analysis
Basic of python for data analysisBasic of python for data analysis
Basic of python for data analysis
 
Stock Market Prediction
Stock Market Prediction Stock Market Prediction
Stock Market Prediction
 
A practical look at how to build & run IoT business logic
A practical look at how to build & run IoT business logicA practical look at how to build & run IoT business logic
A practical look at how to build & run IoT business logic
 
Program concep sequential statements
Program concep sequential statementsProgram concep sequential statements
Program concep sequential statements
 
AlgoB – Cryptocurrency price prediction system using LSTM
AlgoB – Cryptocurrency price prediction system using LSTMAlgoB – Cryptocurrency price prediction system using LSTM
AlgoB – Cryptocurrency price prediction system using LSTM
 
House price prediction
House price predictionHouse price prediction
House price prediction
 
Bitcoin Price Prediction Using LSTM
Bitcoin Price Prediction Using LSTMBitcoin Price Prediction Using LSTM
Bitcoin Price Prediction Using LSTM
 
Performance Comparison between Pytorch and Mindspore
Performance Comparison between Pytorch and MindsporePerformance Comparison between Pytorch and Mindspore
Performance Comparison between Pytorch and Mindspore
 
Maximizing Innovation through ChatGPT Powered Patent Analysis
Maximizing Innovation through ChatGPT Powered Patent AnalysisMaximizing Innovation through ChatGPT Powered Patent Analysis
Maximizing Innovation through ChatGPT Powered Patent Analysis
 
Python for Machine Learning
Python for Machine LearningPython for Machine Learning
Python for Machine Learning
 
Deep Learning Demystified
Deep Learning DemystifiedDeep Learning Demystified
Deep Learning Demystified
 
IRJET- Python Libraries and Packages for Deep Learning-A Survey
IRJET-  	  Python Libraries and Packages for Deep Learning-A SurveyIRJET-  	  Python Libraries and Packages for Deep Learning-A Survey
IRJET- Python Libraries and Packages for Deep Learning-A Survey
 
IRJET - Network Traffic Monitoring and Botnet Detection using K-ANN Algorithm
IRJET - Network Traffic Monitoring and Botnet Detection using K-ANN AlgorithmIRJET - Network Traffic Monitoring and Botnet Detection using K-ANN Algorithm
IRJET - Network Traffic Monitoring and Botnet Detection using K-ANN Algorithm
 
Currency Recognition using Machine Learning
Currency Recognition using Machine LearningCurrency Recognition using Machine Learning
Currency Recognition using Machine Learning
 
Obj report
Obj reportObj report
Obj report
 

Kürzlich hochgeladen

Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction managementMariconPadriquez1
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxPurva Nikam
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniquesugginaramesh
 

Kürzlich hochgeladen (20)

Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction management
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptx
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniques
 

Bitcoin Price Prediction

  • 1. Bitcoin Price Prediction Using Deep Learning Algorithm LSTM and Sentiment Analysis on Bitcoin.
  • 2. Contents Overview 2 1. Introduction 2. Why this project? 3. What is NN and RNN? 4. Why LSTM over RNN? 5. Software model - Agile Process 6. User and System Requirements 7. Design 8. Implementation 9. Testing 10. Results 11. Future Work References
  • 3. Introduction ● Bitcoin is an innovative payment network and a new kind of money or a cryptocurrency, where cryptocurrency is a digital asset designed to work as a exchange medium that uses strong cryptography to secure financial transactions, control the creation of additional units, and verify the transfer of assets. BITCOIN, the first cryptocurrency was introduced in a paper published in 2008 by an author under pseudonym of SATOSHI NAKAMOTO. ● We aim to incorporate machine learning to analyse past fluctuations in currency prices, and attempt to decipher a trend in prices, this is because we can’t predict accurately and sentiment analysis of bitcoin from twitter tweets. 3
  • 4. 4 ● As we reach, in the final year, we will soon be responsible, earning individuals, who will want to save money and invest it properly to gain huge benefits. ● Since stocks and cryptocurrency trading are in trend, we choose to help common man to learn how this works, and enable them to invest judiciously by studying this Trend Analysis. Why this project
  • 5. NN and RNN Neural Networks Conventional Feed-Forward Neural Network Feed-forward Neural Network is an unidirectional that moves the information only in one direction from input layers,through the hidden layers,to the output layers. Feed-forward Neural Network ,have no memory of previously received input hence cannot predict the coming next input and it considers only current input. Simply they cannot remember the past inputs except their training 5
  • 6. NN and RNN Neural Networks Recurrent neural network ● Recurrent neural network(RNN) falls under the class of artificial neural network or advanced artificial neural network in which direct cycles in memory are involved. Recurrent neural networks has the ability to build networks with fixed sized input and output layers.In RNN the information cycles in the form of a loop. Hence,RNN not only considers the current input but also the previously received inputs. ● Thus RNN contains two inputs one is the current and the other is previous inputs.Also Feed-forward maps one input to one output but RNN can map one to many,many to one and many to many. 6
  • 7. Why LSTM Over Other Neural Networks Drawbacks of RNN neural network 1. Long term dependencies is the drawback of RNN neural networks.The RNN neural networks consider both previous and present input to perform the task. But, in some cases it doesn’t need to consider the previous input as the output purely depends on current input.Consider the example “the clouds are in the sky”, in which we are trying to predict the last word based on previous word and following example needs small context or small gap between relevant information.But in some cases it needs large context. 7
  • 8. Why LSTM Over Other Neural Networks Consider trying to predict the last word in the text “I grew up in France… I speak fluent French.” Recent information suggests that the next word is probably the name of a language, but if we want to narrow down which language, we need the context of France, from further back. It’s entirely possible for the gap between the relevant information and the point where it is needed to become very large. Unfortunately, as that gap grows, RNNs become unable to learn to connect the information. In theory, RNNs are absolutely capable of handling such “long-term dependencies”. But in practical they don’t.This problem is solved in LSTM 8
  • 9. Agile Process Model 9 1. Requirements Analysis 3. Development and Implementation 4. Testing Each iteration develops the small part of the software product. 2. Planning and Design Each iteration develops the small part of the software product.
  • 10. User And System Requirements User Requirements ● To get the predicted price of a bitcoin ● To see the trend in variation of bitcoin System requirements ● To incorporate machine learning algorithms in order decipher the a trend in prices . ● To use various API which provides user-friendly UI. 10
  • 11. “ ALGORITHM 1111 LSTM (Long Short Term Memory) is an artificial recurrent neural network (RNN) architecture used in the field of deep learning. A common LSTM unit is composed of a cell, an input gate, an output gate and a forget gate. The cell remembers values over arbitrary time intervals and the three gates regulate the flow of information in and out of the cell.
  • 12. 12 Step 1: First step is to discard cell state. This decision is taken by the Sigmoid layer. Step 2: The input gate layer then decides which information to store in the cell state. Then the tanh layer creates a vector of new candidate values. Step 3: Next, We multiply the old state by ft. This is the new value, scaled by how much we decided to update each state value. Step 4: First, we run a sigmoid layer which decides what parts of the cell state .That is our going to output. Then, we put the cell state through tanh (to push the values to be between −1 and 1) and multiply it by the output of the sigmoid gate, so that we only output the parts we decided to.
  • 13. 13
  • 14. SHORT EXAMPLE 14 Ex : Mady and Monica walk in to the room together , later Richard walks in to the room. Mady Said “hi” to ____?? The assumption I am making is memory might change from Monica to Richard.
  • 17. 17
  • 20. STEP WISE PROCEDURE 01 Dataset preparation 02 Import Libraries 03 Build the Model and feed the data. 04 Train and validate 20
  • 21. Data Preparation 21 Source: https://coinmarketcap.com/ Data Preprocessing: ● Divide the dataset into and training and testing set. ● Normalize and reshape.
  • 22. Libraries and Tools used 22 ● Keras ● Sklearn ● NumPy ● SpyDer - IDE ● TextBlob
  • 23. Model.summary() 23 4x[(input shape + 1)xoutput shape + output shape^2] Therefore, 4*[(1+1)*256+256*256] = 4*[2*256+65,536] = 4*[66,048] = 2,64,192.
  • 24. Model Fitting using Back Propagation ▪ Back propagate errors(error calculation with loss function) ▪ Loss optimization (optimizer-update weights) ▪ Calculate gradient. 24 Positive Gradient Decrease weight Negative Gradient Increase weight
  • 27. Sentiment Analysis 27 Sentiment Analysis is the process of determining(computationally) whether a piece of writing is positive, negative or neutral. It is also known as opinion mining. There are already many APIs developed for sentiment analysis so we decided to use those existing APIs. The APIs or python library which we planned to use are as follows, ● Tweepy - which is python client ● TextBlob - Textual Data Parser and provides built program of sentiment analysis for textual data. ● Natural language toolkit corpora
  • 29. Step wise procedure 29 Step 1. Created a Developer application in twitter Step 2. Parse the tweets data through TextBlob Step 3. Returned parsed tweets and perform statistical analysis
  • 30. Tweepy : python client To Twitter API through twitter developer application Request TextBlob : used to process textual data, remove hashtags, focuses on adjectives/adverbs, removes stopwords, used to apply sentiment analysis. Access to tweets data Visualization of the implementation
  • 31. Testing Last step in the process of Development 31 9
  • 32. Types Of Testing Testing is the last step before the completion of any web application/ program/ website. Like it is mandatory to check all weapons before going for a war, similarly it is necessary to check that the application works well for any standard input and produces desired output, serving the purpose of the application. For the above means, the checklist includes the following testing methods we used in the project: ● Unit Testing : In this level of testing the individual units/ components of a software are tested. The main purpose is to testify that each unit of the software performs as designed. A unit is the smallest testable part of any software. It usually has one or a few inputs and usually a single output. ● Integration Testing : In this level of software testing , individual units are combined and tested as a group together. The purpose of this level of testing is to expose faults in the interaction between integrated units. ● System Testing : It is a level of software testing where a complete and integrated software is tested. The purpose of this test is to evaluate the system's compliance with the specified requirements. 32
  • 34. 34
  • 38. Future Scope Future Aspects and Incremental Work possible 38 11
  • 39. 39 1. Use to predict the prices of other cryptocurrencies like litecoin, ether etc., 2. We tried to incorporate the idea of transfer learning, this model can be optimized for better performance. 3. The web application which is the final software product of this project can provide numerous other applications on single site like - live sentiment analysis of bitcoin, tutorial to do trading using bitcoin crypto currency etc., 4. The result predict from the model and the idea of sentiment analysis can be combined to predict the prices more accurately, this predicted price will use both - historical data and current events related to Bitcoin.