SlideShare a Scribd company logo
BitCoin, Machine Learning
and Using Them together.
Bitcoins-Magic Internet Money
Bitcoin is a purely
● digital
● Open Source
● P2P
● secure
● Currency with no central regulating authority.
Problems with traditional Digital currencies
1. Double Spending Problem.
2. The problem of trust.
Short overview of how it works:
A Deeper Dive
The overall picture to keep in mind:
Why Cryptocurrency?
Because the integrity of the entire bitcoin network depends
on a few basic cryptographic principles.
As will be discussed in the following slides.
Hashing
Process of converting a message of arbitrary length into a fixed length string of
seemingly random alpha-numeric characters.
● Prime hashing example.
● 31662.
Calculation of nonce
Nonce is the random string that miners attach to the end of the transaction
message to create a desirable hash.
● Link the prime number to the nonce.
Remember introduction?
Note that the only way the bitcoins are introduced in the network is by the
miners rewarding themselves bitcoins for their effort of hashing the
transactions.
● We want to make sure that the introduction of bitcoins is not random and
occurs in a controlled manner.Why?
● The system has a tool for this called difficulty.
Difficulty
● The hashes created by the miners can not be random.
● The system dictates that the nodes only create hashes that are less that a
challenge.
● The challenge is auto generated by the system looking at how quickly the
previous transactions were hashed.
● The system maintains hashing time at 10 min per block .
Remember Nonce?
● To meet the challenge of the system the miners add an appropriate nonce
so that the hash created by them is less than the challenge.
● Finding this nonce is not simple it involves trial and error of around
300,000,000,000,000(300 trillion) nonces.
● This is because no one knows how to back predict the SHA-256 hashing
algorithm.
● If you do you become a billionaire just by mining faster than any man alive.
The Block chain-20GB of transactions
● The Ledger that has all transaction on it since the beginning of bitcoin
time.
● Once hashed and accepted by nodes in the network, the block of
transactions along with its nonce and hash is added to the Blockchain and
the new Blockchain is synced up with all nodes in the network.
The security of the network
● Any node in the network can potentially change the block chain. So how is
this ever secure.
● Well there is this assumption that Good always Beats Evil.
● Remember the nodes when presented with 2 blockchains always choose
the longer and more complex block-chain.
Good beats Evil
● The evil node that wants to change a past transaction in the block-chain
would have to do the following .
● First he would have to modify the transaction then create a hash based on
the difficulty of that time.
● Then he would have to recompute the hashes of all subsequent blocks as
they include the hash of the previous block.
● The hope is the good nodes have enough computing power to always stay
ahead in the block-chain and never give evil a chance.
Empty Block problem
● The problem is that miners can keep creating blocks with no transactions
except their rewards this is detrimental to the system.
● This is countered by producing only a finite number of bitcoins ever and
the reward for mining is also reduced to half after every 210,000 bitcoins
mined starting from 50 bitcoins for the first block(Genesis block).
● Finally only 21million bitcoins can be produced.
● After which miners live on transaction fees.
Predicting BitCoin Exchange
Rates
The Problem
Due to the absence of any regulatory
mechanisms BitCoin exchange rates
are extremely volatile.
We set out to solve the problem of
finding the best model and features
to fit the BitCoin exchange data.
20XX 20XX 20XX 20XX
Machine Learning Introduction:
Predicting the future from past values.
The obvious next point can be predicted by
using intuition.
In more complicated models we need a bit
more mathematics to figure out the next
point. This mathematics is called machine
learning.
Error in prediction:
Which line fits the points best ?
Error in prediction:
The Aim is to minimize error. So the net
residual in prediction is minimized to find
the best fit.
The models we tested
SVM
Lowest error for all time
marching models
tested.
NN
The NN regression from
R was used it gave a
less accurate result.
Random Forest
The random forest gave
the highest rms error.
Features Used
The features we used to train our models
include:
● The mining difficulty of the bitcoins.
● The number of trades per minute.
● The volume of trades occurring in past days.
● The number of transactions in past days.
Method Used to train the model
After deciding on the
features based on
covariance calculations
We trained a model to
predict the price on a
given day based on the
value of features on that
given day.
Next we created models
for predicting the features
based on time i.e how the
features varied w.r.t time.
Finally to make
predictions we
calculated the value of
the features based on
the model that we had
and then predicted the
value of the price based
on the predicted feature
values.
Transactions per minute model
Trade volume with model
Price model using SVM
Price model using NN
Price Model using Random Forest method
Appendix
Data Sources:
● Bitcoinity.org
● Wikipedia for data on time series
analysis
● R tutorials for help regarding
application of R for our project.
The team
Srinivas Sakshi
Thank You
For the opportunity given to us.

More Related Content

What's hot

Bitcoin data mining
Bitcoin data miningBitcoin data mining
Bitcoin data mining
malathieswaran29
 
Bitcoin
BitcoinBitcoin
Bitcoin
Nawaz Sharif
 
Introduction to BitCoin
Introduction to BitCoinIntroduction to BitCoin
Introduction to BitCoin
Rajesh Kumar
 
Withum cryptocurrency 101
Withum   cryptocurrency 101Withum   cryptocurrency 101
Withum cryptocurrency 101
Withum
 
Bitcoin buying-guide
Bitcoin buying-guide Bitcoin buying-guide
Bitcoin buying-guide
A Phu
 
Report on Bitcoin- The cryptocurrency (November 2017)
Report on Bitcoin- The cryptocurrency (November 2017)Report on Bitcoin- The cryptocurrency (November 2017)
Report on Bitcoin- The cryptocurrency (November 2017)
AJSH & Co LLP
 
Investment Club Presentation 1 2021
Investment Club Presentation 1 2021Investment Club Presentation 1 2021
Investment Club Presentation 1 2021
SamPurcell4
 
Introduction to bitcoin
Introduction to bitcoinIntroduction to bitcoin
Introduction to bitcoin
Wolf McNally
 
Bitcoins
BitcoinsBitcoins
Bitcoins
Fatima Radi
 
Bitcoins & Blockchain
Bitcoins & BlockchainBitcoins & Blockchain
Bitcoins & Blockchain
Alberto Kroff
 
Economic Aspects of Bitcoins : Report
Economic Aspects of Bitcoins : ReportEconomic Aspects of Bitcoins : Report
Economic Aspects of Bitcoins : Report
Shivek Khurana
 
White Paper
White PaperWhite Paper
White Paper
Omar Storm
 
Bitcoin technology
Bitcoin technologyBitcoin technology
Bitcoin technology
aartrajpurohit
 
Bitcoin
BitcoinBitcoin
Bitcoins - A Primer on Bitcoins & Digital Currencies by Ankur Vats
Bitcoins - A Primer on Bitcoins & Digital Currencies by Ankur VatsBitcoins - A Primer on Bitcoins & Digital Currencies by Ankur Vats
Bitcoins - A Primer on Bitcoins & Digital Currencies by Ankur Vats
OWASP Delhi
 
Bitcoin: The Internet of Money Seminar Report
Bitcoin: The Internet of Money Seminar ReportBitcoin: The Internet of Money Seminar Report
Bitcoin: The Internet of Money Seminar Report
MaheshInder2
 
Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and Bitcoin
Hugo Rodrigues
 
Bitcoin Breakthrough Training Guide.
Bitcoin Breakthrough Training Guide.Bitcoin Breakthrough Training Guide.
Bitcoin Breakthrough Training Guide.
KepharsKunda
 
Cryptocurrencies and bitcoin
Cryptocurrencies and  bitcoinCryptocurrencies and  bitcoin
Cryptocurrencies and bitcoin
AdityaAshutosh1
 
Blockchain and bitcoin fundamentals (usages and applications)
Blockchain and bitcoin fundamentals (usages and applications)Blockchain and bitcoin fundamentals (usages and applications)
Blockchain and bitcoin fundamentals (usages and applications)
Amir Rafati
 

What's hot (20)

Bitcoin data mining
Bitcoin data miningBitcoin data mining
Bitcoin data mining
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Introduction to BitCoin
Introduction to BitCoinIntroduction to BitCoin
Introduction to BitCoin
 
Withum cryptocurrency 101
Withum   cryptocurrency 101Withum   cryptocurrency 101
Withum cryptocurrency 101
 
Bitcoin buying-guide
Bitcoin buying-guide Bitcoin buying-guide
Bitcoin buying-guide
 
Report on Bitcoin- The cryptocurrency (November 2017)
Report on Bitcoin- The cryptocurrency (November 2017)Report on Bitcoin- The cryptocurrency (November 2017)
Report on Bitcoin- The cryptocurrency (November 2017)
 
Investment Club Presentation 1 2021
Investment Club Presentation 1 2021Investment Club Presentation 1 2021
Investment Club Presentation 1 2021
 
Introduction to bitcoin
Introduction to bitcoinIntroduction to bitcoin
Introduction to bitcoin
 
Bitcoins
BitcoinsBitcoins
Bitcoins
 
Bitcoins & Blockchain
Bitcoins & BlockchainBitcoins & Blockchain
Bitcoins & Blockchain
 
Economic Aspects of Bitcoins : Report
Economic Aspects of Bitcoins : ReportEconomic Aspects of Bitcoins : Report
Economic Aspects of Bitcoins : Report
 
White Paper
White PaperWhite Paper
White Paper
 
Bitcoin technology
Bitcoin technologyBitcoin technology
Bitcoin technology
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Bitcoins - A Primer on Bitcoins & Digital Currencies by Ankur Vats
Bitcoins - A Primer on Bitcoins & Digital Currencies by Ankur VatsBitcoins - A Primer on Bitcoins & Digital Currencies by Ankur Vats
Bitcoins - A Primer on Bitcoins & Digital Currencies by Ankur Vats
 
Bitcoin: The Internet of Money Seminar Report
Bitcoin: The Internet of Money Seminar ReportBitcoin: The Internet of Money Seminar Report
Bitcoin: The Internet of Money Seminar Report
 
Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and Bitcoin
 
Bitcoin Breakthrough Training Guide.
Bitcoin Breakthrough Training Guide.Bitcoin Breakthrough Training Guide.
Bitcoin Breakthrough Training Guide.
 
Cryptocurrencies and bitcoin
Cryptocurrencies and  bitcoinCryptocurrencies and  bitcoin
Cryptocurrencies and bitcoin
 
Blockchain and bitcoin fundamentals (usages and applications)
Blockchain and bitcoin fundamentals (usages and applications)Blockchain and bitcoin fundamentals (usages and applications)
Blockchain and bitcoin fundamentals (usages and applications)
 

Viewers also liked

civil structure analysis
civil structure analysiscivil structure analysis
civil structure analysis
Srinivas Vaidyanathan
 
Bit coin fiat_barcampbangalore BCB11 Feb 2011
Bit coin fiat_barcampbangalore  BCB11 Feb 2011Bit coin fiat_barcampbangalore  BCB11 Feb 2011
Bit coin fiat_barcampbangalore BCB11 Feb 2011
Akhil Kodali
 
Buy ukash with PayPal
Buy ukash with PayPalBuy ukash with PayPal
Buy ukash with PayPal
michael stuart
 
Giving a Bit(coin)- cryptocurrency and philanthropy
Giving a Bit(coin)- cryptocurrency and philanthropyGiving a Bit(coin)- cryptocurrency and philanthropy
Giving a Bit(coin)- cryptocurrency and philanthropy
rhoddavies1
 
Women in Ecommerce presents: Bitcoin The internet of money
Women in Ecommerce presents: Bitcoin The internet of moneyWomen in Ecommerce presents: Bitcoin The internet of money
Women in Ecommerce presents: Bitcoin The internet of money
Heidi Richards Mooney
 
2014.04 Bit, Bit, Coin
2014.04 Bit, Bit, Coin2014.04 Bit, Bit, Coin
2014.04 Bit, Bit, Coin
Allison Miller
 
E-Payment
E-PaymentE-Payment
E-Payment
Pranay Panday
 
Mining Opportunities of Block Chain and BitCoin
Mining Opportunities of Block Chain and BitCoinMining Opportunities of Block Chain and BitCoin
Mining Opportunities of Block Chain and BitCoin
Deepu S Nath
 
E payment
E paymentE payment
E payment
Vishal Sancheti
 
Advantages,disadvantages,applications and economic aspects of bitcoin
Advantages,disadvantages,applications and economic aspects of bitcoinAdvantages,disadvantages,applications and economic aspects of bitcoin
Advantages,disadvantages,applications and economic aspects of bitcoin
Tabish Ansar
 
Development and Engagement in the Age of Social Media
Development and Engagement in the Age of Social Media Development and Engagement in the Age of Social Media
Development and Engagement in the Age of Social Media
Paul Brown
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
 
How We Caffeinate
How We CaffeinateHow We Caffeinate
How We Caffeinate
Food Insight
 
10 Better Ways to Add Text to #Images
10 Better Ways to Add Text to #Images 10 Better Ways to Add Text to #Images
10 Better Ways to Add Text to #Images
Presentation Panda
 
Our World is Hungry
Our World is HungryOur World is Hungry
Our World is Hungry
Empowered Presentations
 
Bitcoin: The Internet of Money
Bitcoin: The Internet of MoneyBitcoin: The Internet of Money
Bitcoin: The Internet of Money
winklevosscap
 
Squeezing Deep Learning Into Mobile Phones
Squeezing Deep Learning Into Mobile PhonesSqueezing Deep Learning Into Mobile Phones
Squeezing Deep Learning Into Mobile Phones
Anirudh Koul
 
The ABC’s of Living a Healthy Life
The ABC’s of Living a Healthy LifeThe ABC’s of Living a Healthy Life
The ABC’s of Living a Healthy Life
Dr. Omer Hameed
 

Viewers also liked (18)

civil structure analysis
civil structure analysiscivil structure analysis
civil structure analysis
 
Bit coin fiat_barcampbangalore BCB11 Feb 2011
Bit coin fiat_barcampbangalore  BCB11 Feb 2011Bit coin fiat_barcampbangalore  BCB11 Feb 2011
Bit coin fiat_barcampbangalore BCB11 Feb 2011
 
Buy ukash with PayPal
Buy ukash with PayPalBuy ukash with PayPal
Buy ukash with PayPal
 
Giving a Bit(coin)- cryptocurrency and philanthropy
Giving a Bit(coin)- cryptocurrency and philanthropyGiving a Bit(coin)- cryptocurrency and philanthropy
Giving a Bit(coin)- cryptocurrency and philanthropy
 
Women in Ecommerce presents: Bitcoin The internet of money
Women in Ecommerce presents: Bitcoin The internet of moneyWomen in Ecommerce presents: Bitcoin The internet of money
Women in Ecommerce presents: Bitcoin The internet of money
 
2014.04 Bit, Bit, Coin
2014.04 Bit, Bit, Coin2014.04 Bit, Bit, Coin
2014.04 Bit, Bit, Coin
 
E-Payment
E-PaymentE-Payment
E-Payment
 
Mining Opportunities of Block Chain and BitCoin
Mining Opportunities of Block Chain and BitCoinMining Opportunities of Block Chain and BitCoin
Mining Opportunities of Block Chain and BitCoin
 
E payment
E paymentE payment
E payment
 
Advantages,disadvantages,applications and economic aspects of bitcoin
Advantages,disadvantages,applications and economic aspects of bitcoinAdvantages,disadvantages,applications and economic aspects of bitcoin
Advantages,disadvantages,applications and economic aspects of bitcoin
 
Development and Engagement in the Age of Social Media
Development and Engagement in the Age of Social Media Development and Engagement in the Age of Social Media
Development and Engagement in the Age of Social Media
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
How We Caffeinate
How We CaffeinateHow We Caffeinate
How We Caffeinate
 
10 Better Ways to Add Text to #Images
10 Better Ways to Add Text to #Images 10 Better Ways to Add Text to #Images
10 Better Ways to Add Text to #Images
 
Our World is Hungry
Our World is HungryOur World is Hungry
Our World is Hungry
 
Bitcoin: The Internet of Money
Bitcoin: The Internet of MoneyBitcoin: The Internet of Money
Bitcoin: The Internet of Money
 
Squeezing Deep Learning Into Mobile Phones
Squeezing Deep Learning Into Mobile PhonesSqueezing Deep Learning Into Mobile Phones
Squeezing Deep Learning Into Mobile Phones
 
The ABC’s of Living a Healthy Life
The ABC’s of Living a Healthy LifeThe ABC’s of Living a Healthy Life
The ABC’s of Living a Healthy Life
 

Similar to Bit coin(2)

Bitclamp - A Permanent and Anonymous Publishing Platform Over Bitcoin
Bitclamp - A Permanent and Anonymous Publishing Platform Over BitcoinBitclamp - A Permanent and Anonymous Publishing Platform Over Bitcoin
Bitclamp - A Permanent and Anonymous Publishing Platform Over Bitcoin
BSidesROC
 
Blockchain, bitcoin, ethereum and ICOs
Blockchain, bitcoin, ethereum and ICOsBlockchain, bitcoin, ethereum and ICOs
Blockchain, bitcoin, ethereum and ICOs
Bogdan Fiedur
 
Every thing bitcoin in baby language
Every thing bitcoin in baby languageEvery thing bitcoin in baby language
Every thing bitcoin in baby language
Ossai Nduka
 
Understanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
Understanding Proof of Work (PoW) and Proof of Stake (PoS) AlgorithmsUnderstanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
Understanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
Gautam Anand
 
Bitcoin
BitcoinBitcoin
Bitcoin
Joel John
 
Bitcoin A Peer-to-Peer Electronic Cash System
Bitcoin A Peer-to-Peer Electronic Cash SystemBitcoin A Peer-to-Peer Electronic Cash System
Bitcoin A Peer-to-Peer Electronic Cash System
Flavio Vit
 
Bitcoin p2p money
Bitcoin p2p moneyBitcoin p2p money
Bitcoin p2p money
Roman Trukhin
 
Bitcoins: Application of blockchain technology
Bitcoins: Application of blockchain technologyBitcoins: Application of blockchain technology
Bitcoins: Application of blockchain technology
Shiv Sahni
 
CRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdfCRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdf
JESUNPK
 
Crypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies IntroCrypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies Intro
Tal Shmueli
 
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Codemotion
 
bitcoin
bitcoinbitcoin
bitcoin
AasimRasheed3
 
Blockchain and Bitcoin.pptx
Blockchain and Bitcoin.pptxBlockchain and Bitcoin.pptx
Blockchain and Bitcoin.pptx
ssuser3ab054
 
15-Bitcoin.pptx
15-Bitcoin.pptx15-Bitcoin.pptx
15-Bitcoin.pptx
ANKITKUMARNATH1
 
Crypto currency presentation
Crypto currency presentationCrypto currency presentation
Crypto currency presentation
obaid r
 
An in depth presentation of Cryptocurrency.
An in depth presentation of Cryptocurrency.An in depth presentation of Cryptocurrency.
An in depth presentation of Cryptocurrency.
SanjeebSamanta1
 
How does the Bitcoin network work?
How does the Bitcoin network work?How does the Bitcoin network work?
How does the Bitcoin network work?
Akshay Kumar
 
Blockchain
BlockchainBlockchain
Blockchain
Abhinand Valasseri
 
01 what is blockchain
01 what is blockchain01 what is blockchain
01 what is blockchain
BastianBlankenburg
 
A research-oriented introduction to the cryptographic currencies (starting wi...
A research-oriented introduction to the cryptographic currencies (starting wi...A research-oriented introduction to the cryptographic currencies (starting wi...
A research-oriented introduction to the cryptographic currencies (starting wi...
vpnmentor
 

Similar to Bit coin(2) (20)

Bitclamp - A Permanent and Anonymous Publishing Platform Over Bitcoin
Bitclamp - A Permanent and Anonymous Publishing Platform Over BitcoinBitclamp - A Permanent and Anonymous Publishing Platform Over Bitcoin
Bitclamp - A Permanent and Anonymous Publishing Platform Over Bitcoin
 
Blockchain, bitcoin, ethereum and ICOs
Blockchain, bitcoin, ethereum and ICOsBlockchain, bitcoin, ethereum and ICOs
Blockchain, bitcoin, ethereum and ICOs
 
Every thing bitcoin in baby language
Every thing bitcoin in baby languageEvery thing bitcoin in baby language
Every thing bitcoin in baby language
 
Understanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
Understanding Proof of Work (PoW) and Proof of Stake (PoS) AlgorithmsUnderstanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
Understanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Bitcoin A Peer-to-Peer Electronic Cash System
Bitcoin A Peer-to-Peer Electronic Cash SystemBitcoin A Peer-to-Peer Electronic Cash System
Bitcoin A Peer-to-Peer Electronic Cash System
 
Bitcoin p2p money
Bitcoin p2p moneyBitcoin p2p money
Bitcoin p2p money
 
Bitcoins: Application of blockchain technology
Bitcoins: Application of blockchain technologyBitcoins: Application of blockchain technology
Bitcoins: Application of blockchain technology
 
CRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdfCRYPTO CURRENCY-2022OD205.pdf
CRYPTO CURRENCY-2022OD205.pdf
 
Crypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies IntroCrypto & Crpyocurrencies Intro
Crypto & Crpyocurrencies Intro
 
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
Simone Bronzini - Weaknesses of blockchain applications - Codemotion Milan 2018
 
bitcoin
bitcoinbitcoin
bitcoin
 
Blockchain and Bitcoin.pptx
Blockchain and Bitcoin.pptxBlockchain and Bitcoin.pptx
Blockchain and Bitcoin.pptx
 
15-Bitcoin.pptx
15-Bitcoin.pptx15-Bitcoin.pptx
15-Bitcoin.pptx
 
Crypto currency presentation
Crypto currency presentationCrypto currency presentation
Crypto currency presentation
 
An in depth presentation of Cryptocurrency.
An in depth presentation of Cryptocurrency.An in depth presentation of Cryptocurrency.
An in depth presentation of Cryptocurrency.
 
How does the Bitcoin network work?
How does the Bitcoin network work?How does the Bitcoin network work?
How does the Bitcoin network work?
 
Blockchain
BlockchainBlockchain
Blockchain
 
01 what is blockchain
01 what is blockchain01 what is blockchain
01 what is blockchain
 
A research-oriented introduction to the cryptographic currencies (starting wi...
A research-oriented introduction to the cryptographic currencies (starting wi...A research-oriented introduction to the cryptographic currencies (starting wi...
A research-oriented introduction to the cryptographic currencies (starting wi...
 

Recently uploaded

5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
ssuser36d3051
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
IJNSA Journal
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
Divyam548318
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 

Recently uploaded (20)

5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
sieving analysis and results interpretation
sieving analysis and results interpretationsieving analysis and results interpretation
sieving analysis and results interpretation
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 

Bit coin(2)

  • 1. BitCoin, Machine Learning and Using Them together.
  • 2. Bitcoins-Magic Internet Money Bitcoin is a purely ● digital ● Open Source ● P2P ● secure ● Currency with no central regulating authority.
  • 3. Problems with traditional Digital currencies 1. Double Spending Problem. 2. The problem of trust.
  • 4. Short overview of how it works:
  • 6. The overall picture to keep in mind:
  • 7. Why Cryptocurrency? Because the integrity of the entire bitcoin network depends on a few basic cryptographic principles. As will be discussed in the following slides.
  • 8. Hashing Process of converting a message of arbitrary length into a fixed length string of seemingly random alpha-numeric characters. ● Prime hashing example. ● 31662.
  • 9. Calculation of nonce Nonce is the random string that miners attach to the end of the transaction message to create a desirable hash. ● Link the prime number to the nonce.
  • 10. Remember introduction? Note that the only way the bitcoins are introduced in the network is by the miners rewarding themselves bitcoins for their effort of hashing the transactions. ● We want to make sure that the introduction of bitcoins is not random and occurs in a controlled manner.Why? ● The system has a tool for this called difficulty.
  • 11. Difficulty ● The hashes created by the miners can not be random. ● The system dictates that the nodes only create hashes that are less that a challenge. ● The challenge is auto generated by the system looking at how quickly the previous transactions were hashed. ● The system maintains hashing time at 10 min per block .
  • 12. Remember Nonce? ● To meet the challenge of the system the miners add an appropriate nonce so that the hash created by them is less than the challenge. ● Finding this nonce is not simple it involves trial and error of around 300,000,000,000,000(300 trillion) nonces. ● This is because no one knows how to back predict the SHA-256 hashing algorithm. ● If you do you become a billionaire just by mining faster than any man alive.
  • 13. The Block chain-20GB of transactions ● The Ledger that has all transaction on it since the beginning of bitcoin time. ● Once hashed and accepted by nodes in the network, the block of transactions along with its nonce and hash is added to the Blockchain and the new Blockchain is synced up with all nodes in the network.
  • 14. The security of the network ● Any node in the network can potentially change the block chain. So how is this ever secure. ● Well there is this assumption that Good always Beats Evil. ● Remember the nodes when presented with 2 blockchains always choose the longer and more complex block-chain.
  • 15. Good beats Evil ● The evil node that wants to change a past transaction in the block-chain would have to do the following . ● First he would have to modify the transaction then create a hash based on the difficulty of that time. ● Then he would have to recompute the hashes of all subsequent blocks as they include the hash of the previous block. ● The hope is the good nodes have enough computing power to always stay ahead in the block-chain and never give evil a chance.
  • 16. Empty Block problem ● The problem is that miners can keep creating blocks with no transactions except their rewards this is detrimental to the system. ● This is countered by producing only a finite number of bitcoins ever and the reward for mining is also reduced to half after every 210,000 bitcoins mined starting from 50 bitcoins for the first block(Genesis block). ● Finally only 21million bitcoins can be produced. ● After which miners live on transaction fees.
  • 18. The Problem Due to the absence of any regulatory mechanisms BitCoin exchange rates are extremely volatile. We set out to solve the problem of finding the best model and features to fit the BitCoin exchange data. 20XX 20XX 20XX 20XX
  • 19. Machine Learning Introduction: Predicting the future from past values. The obvious next point can be predicted by using intuition. In more complicated models we need a bit more mathematics to figure out the next point. This mathematics is called machine learning.
  • 20. Error in prediction: Which line fits the points best ?
  • 21. Error in prediction: The Aim is to minimize error. So the net residual in prediction is minimized to find the best fit.
  • 22. The models we tested SVM Lowest error for all time marching models tested. NN The NN regression from R was used it gave a less accurate result. Random Forest The random forest gave the highest rms error.
  • 23. Features Used The features we used to train our models include: ● The mining difficulty of the bitcoins. ● The number of trades per minute. ● The volume of trades occurring in past days. ● The number of transactions in past days.
  • 24. Method Used to train the model After deciding on the features based on covariance calculations We trained a model to predict the price on a given day based on the value of features on that given day. Next we created models for predicting the features based on time i.e how the features varied w.r.t time. Finally to make predictions we calculated the value of the features based on the model that we had and then predicted the value of the price based on the predicted feature values.
  • 29. Price Model using Random Forest method
  • 30. Appendix Data Sources: ● Bitcoinity.org ● Wikipedia for data on time series analysis ● R tutorials for help regarding application of R for our project.
  • 32. Thank You For the opportunity given to us.