Update method/Readme.md
Browse files- method/Readme.md +82 -0
method/Readme.md
CHANGED
|
@@ -6,6 +6,88 @@ RQ2: Can this dataset be extended to apply to other algorithms, enhancing its ut
|
|
| 6 |
|
| 7 |
Our analysis indicates that among the four machine learning models evaluated, DNN demonstrated the best prediction performance in both fungible token airdrop and normal periods. Specifically, DNN models showed superior predictive accuracy for gas usage during these periods. The results highlighted minimal disparity in prediction loss when comparing a DNN trained on data from normal periods to a DNN trained on data specifically from the token-airdrop period. This finding suggests that DNN models exhibit robust scalability on this dataset, eliminating the need to train a new neural network specifically for token-airdrop events. In addition to evaluating DNN models, we explored the extensibility of incorporating monotonicity constraints and sentiment analysis within the Neural Additive Model (NAM). Although these enhancements did not significantly improve the predictive accuracy of the NAM model on our test dataset, the intrinsic variability and complexity of blockchain data imply that different datasets from different time periods might yield different results. This opens a significant platform for other researchers to utilize and further explore the dataset, enabling comprehensive analyses and advancing financial machine-learning models. Our contributions include developing a comprehensive dataset that integrates both on-chain and off-chain data, compatible with various machine learning algorithms for financial prediction. This dataset forms the cornerstone of a novel research framework, enabling a deeper exploration of the financial market and its mechanisms. By offering a robust and versatile dataset, we facilitate advanced exploration and optimization efforts, driving innovation and enhancing the accuracy and reliability of financial machine-learning models in blockchain technology.
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
# Hypothesis Development
|
| 11 |
## Machine Learning Algorithm Selection
|
|
|
|
| 6 |
|
| 7 |
Our analysis indicates that among the four machine learning models evaluated, DNN demonstrated the best prediction performance in both fungible token airdrop and normal periods. Specifically, DNN models showed superior predictive accuracy for gas usage during these periods. The results highlighted minimal disparity in prediction loss when comparing a DNN trained on data from normal periods to a DNN trained on data specifically from the token-airdrop period. This finding suggests that DNN models exhibit robust scalability on this dataset, eliminating the need to train a new neural network specifically for token-airdrop events. In addition to evaluating DNN models, we explored the extensibility of incorporating monotonicity constraints and sentiment analysis within the Neural Additive Model (NAM). Although these enhancements did not significantly improve the predictive accuracy of the NAM model on our test dataset, the intrinsic variability and complexity of blockchain data imply that different datasets from different time periods might yield different results. This opens a significant platform for other researchers to utilize and further explore the dataset, enabling comprehensive analyses and advancing financial machine-learning models. Our contributions include developing a comprehensive dataset that integrates both on-chain and off-chain data, compatible with various machine learning algorithms for financial prediction. This dataset forms the cornerstone of a novel research framework, enabling a deeper exploration of the financial market and its mechanisms. By offering a robust and versatile dataset, we facilitate advanced exploration and optimization efforts, driving innovation and enhancing the accuracy and reliability of financial machine-learning models in blockchain technology.
|
| 8 |
|
| 9 |
+
# Operational Measures
|
| 10 |
+
|
| 11 |
+
## Variables
|
| 12 |
+
<!DOCTYPE html>
|
| 13 |
+
<html lang="en">
|
| 14 |
+
<head>
|
| 15 |
+
<meta charset="UTF-8">
|
| 16 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
</head>
|
| 23 |
+
<body>
|
| 24 |
+
|
| 25 |
+
<table>
|
| 26 |
+
<caption>Variable Description</caption>
|
| 27 |
+
<tr>
|
| 28 |
+
<th>Variable Name</th>
|
| 29 |
+
<th>Description</th>
|
| 30 |
+
<th>Unit</th>
|
| 31 |
+
<th>Type</th>
|
| 32 |
+
</tr>
|
| 33 |
+
<tr>
|
| 34 |
+
<td>timestamp</td>
|
| 35 |
+
<td>Recording of the time of each block</td>
|
| 36 |
+
<td></td>
|
| 37 |
+
<td>String</td>
|
| 38 |
+
</tr>
|
| 39 |
+
<tr>
|
| 40 |
+
<td>number</td>
|
| 41 |
+
<td>The number of blocks on the chain</td>
|
| 42 |
+
<td></td>
|
| 43 |
+
<td>Numeric</td>
|
| 44 |
+
</tr>
|
| 45 |
+
<tr>
|
| 46 |
+
<td>gas_used</td>
|
| 47 |
+
<td>Actual Gas Used</td>
|
| 48 |
+
<td>Gwei</td>
|
| 49 |
+
<td>Numeric</td>
|
| 50 |
+
</tr>
|
| 51 |
+
<tr>
|
| 52 |
+
<td>gas_limit</td>
|
| 53 |
+
<td>The maximum allowed gas per block</td>
|
| 54 |
+
<td>Gwei</td>
|
| 55 |
+
<td>Numeric</td>
|
| 56 |
+
</tr>
|
| 57 |
+
<tr>
|
| 58 |
+
<td>base_fee_per_gas</td>
|
| 59 |
+
<td>The base fee set for each block</td>
|
| 60 |
+
<td>Ether</td>
|
| 61 |
+
<td>Numeric</td>
|
| 62 |
+
</tr>
|
| 63 |
+
<tr>
|
| 64 |
+
<td>gas_fraction</td>
|
| 65 |
+
<td>Fraction between Gas Used and Gas Limit</td>
|
| 66 |
+
<td></td>
|
| 67 |
+
<td>Numeric</td>
|
| 68 |
+
</tr>
|
| 69 |
+
<tr>
|
| 70 |
+
<td>gas_target</td>
|
| 71 |
+
<td>The optimal gas used for each block</td>
|
| 72 |
+
<td></td>
|
| 73 |
+
<td>Numeric</td>
|
| 74 |
+
</tr>
|
| 75 |
+
<tr>
|
| 76 |
+
<td>Y</td>
|
| 77 |
+
<td>Normalized Gas Used</td>
|
| 78 |
+
<td></td>
|
| 79 |
+
<td>Numeric</td>
|
| 80 |
+
</tr>
|
| 81 |
+
<tr>
|
| 82 |
+
<td>$Y_t$</td>
|
| 83 |
+
<td>Response variable equals to the gas_fraction</td>
|
| 84 |
+
<td></td>
|
| 85 |
+
<td>Numeric</td>
|
| 86 |
+
</tr>
|
| 87 |
+
</table>
|
| 88 |
+
|
| 89 |
+
</body>
|
| 90 |
+
</html>
|
| 91 |
|
| 92 |
# Hypothesis Development
|
| 93 |
## Machine Learning Algorithm Selection
|