Banksea Finance
  • Banksea NFT Oracle
  • White Paper
    • Instruction
    • Services
    • Application Scenarios
    • Technical Theory
      • Data Aggregator
      • AI Analyst
      • User Interface
      • Core Technology - AI
    • Governance
    • Plan And Vision
  • CONTACT BANKSEA
    • Contact Us
    • Social Media
Powered by GitBook
On this page
  • Model building
  • Model Evaluation

Was this helpful?

  1. White Paper
  2. Technical Theory

Core Technology - AI

PreviousUser InterfaceNextGovernance

Last updated 2 years ago

Was this helpful?

Model building

The time series is an ordered collection of measurements at regular intervals, such as daily stock prices or weekly sales data. The time-series modeling approach assumes that history will always repeat itself. Even if not exactly the same but close, so it is enough to make better decisions about the future by studying the past. At present, Banksea has completed the construction of the NFT valuation model on Solana, Moonbeam and part of Ethereum. It is constantly keeping optimizing and updating. We will provide the NFT valuation for more chains soon.

Model Evaluation

There are many methods to evaluate the time series models. Commonly used time series model evaluation methods are as follows:

Since the prices of different NFT collection vary greatly, it is not appropriate to compare them directly by deviation. Therefore, we use MAPE to comprehensively evaluate the model and refer to other evaluation indicators.

Mean Absolute Percentage Error (MAPE), also known as Mean Absolute Percentage Deviation (MAPD), is a measure of the predictive accuracy of a forecasting method in statistics. It usually expresses precision as a ratio defined by the formula:

$y_i$ is the actual value and $\hat{y}_{i}$ is the predicted value. Their difference divided by the actual value $y_i$. The absolute value of this ratio is the sum of each predicted time point divided by the number of fitting points, $n$.

More model evaluation methods are as follows:

  • $ R^2$ - coefficient of determination

  • MAE - Mean Absolute Error

  • MSE - Mean Squared Error

  • MedAE - Median absolute error regression loss

MAPE=100%n∑i=1nyi−y^iyiMAPE={\frac {100\%}{n}}\sum _{i=1}^{n}{\frac {y_{i}-\hat{y}_{i}}{{y}_{i}}}MAPE=n100%​i=1∑n​yi​yi​−y^​i​​
R2=SSRSST=∑(y^i−yˉ)2∑(yi−yˉ)2R^{2}=\frac{S S R}{S S T}=\frac{\sum\left(\hat{y}_{i}-\bar{y}\right)^{2}}{\sum\left(y_{i}-\bar{y}\right)^{2}}R2=SSTSSR​=∑(yi​−yˉ​)2∑(y^​i​−yˉ​)2​
MAE=1n∑i=1n∣yi−y^i∣M A E=\frac{1}{n} \sum_{i=1}^{n}\left|y_{i}-\hat{y}_{i}\right|MAE=n1​i=1∑n​∣yi​−y^​i​∣
MSE=1n∑i=1n(yi−y^i)2M S E=\frac{1}{n} \sum_{i=1}^{n}\left(y_{i}-\hat{y}_{i}\right)^{2}MSE=n1​i=1∑n​(yi​−y^​i​)2
MedAE⁡=median⁡(∣y^1−y1∣,…,∣y^n−yn∣)\operatorname{MedAE}=\operatorname{median}\left(\left|\hat{y}_{1}-y_{1}\right|, \ldots,\left|\hat{y}_{n}-y_{n}\right|\right)MedAE=median(∣y^​1​−y1​∣,…,∣y^​n​−yn​∣)
model-building
model-evaluation