skip to Main Content
bitcoin
Bitcoin (BTC) $ 94,480.31 1.39%
ethereum
Ethereum (ETH) $ 3,326.22 0.29%
tether
Tether (USDT) $ 0.998918 0.02%
xrp
XRP (XRP) $ 2.15 0.42%
bnb
BNB (BNB) $ 691.35 0.03%
solana
Solana (SOL) $ 185.25 2.33%
dogecoin
Dogecoin (DOGE) $ 0.312449 0.27%
usd-coin
USDC (USDC) $ 1.00 0.06%
staked-ether
Lido Staked Ether (STETH) $ 3,322.80 0.16%
cardano
Cardano (ADA) $ 0.881601 2.41%

Data Scientist Uses Deep Learning to Predict BTC Price in Real-Time

A data scientist at India’s prestigious Vellore Institute of Technology has outlined a method for how to purportedly predict crypto prices in real-time using a Long Short-Term Memory (LSTM) neural network.

In a blog post published on Dec. 2, researcher Abinhav Sagar demonstrated a four-step process for how to use machine learning technology to forecast prices in a sector he purported is “relatively unpredictable” as compared with traditional markets. 

Machine learning for crypto price prediction has been “restricted”

Sagar prefaced his demonstration by noting that while machine learning has achieved some success in predicting stock market prices, its application in the cryptocurrency field has been restricted. In support of this claim, he argued that cryptocurrency prices fluctuate in accordance with fast-paced technological developments, as well as economic, security and political factors.

Sagar’s four-step proposed method involves 1) collecting real-time cryptocurrency data; 2) preparing the data for neural network training; 3) testing the prediction using the LSTM neural network; 4) visualizing the results of the prediction.

As software developer Aditi Mittal has outlined, LSTM is an acronym for “Long Short-Term Memory” — a type of neural network that is designed to classify, process and predict time series given time lags of unknown duration. 

To train his network, Sagar used a dataset from CryptoCompare, making use of features such as price, volume and open, high and low values.

He provides a link to the code for the complete project on GitHub and outlines the functions he used to normalize data values in preparation for machine learning.

Before plotting and visualizing the results of the network’s predictions, Sagar notes he used Mean Absolute Error as an evaluation metric, which, he notes, measures the average magnitude of the errors in a set of predictions, without considering their direction.

Sagar’s visualization of his cryptocurrency predictions in real-time using an LSTM neural network

Sagar’s visualization of his cryptocurrency predictions in real-time using an LSTM neural network. Source: towardsdatascience.com

From the markets to outer space

Beyond market predictions, the convergence of new decentralized technologies such as blockchain with machine learning has been gaining ever more traction.

As reported this fall, NASA recently published a listing for a data scientist role, singling out cryptocurrency and blockchain expertise as “a plus.” 

The agency — whose primary function is the construction and operation of planetary robotic spacecraft and conducting Earth-orbit missions — further required qualifications in one or more related fields including machine learning, big data, Internet of Things, analytics, statistics and cloud computing.

Loading data ...
Comparison
View chart compare
View table compare
Back To Top