Skip to content

Commit

Permalink
Merge pull request #129 from Qzy568/main
Browse files Browse the repository at this point in the history
AOA Code
  • Loading branch information
MooreZheng authored Aug 13, 2024
2 parents 4de73b2 + ea6c066 commit bfaf267
Show file tree
Hide file tree
Showing 106 changed files with 28,846 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/aoa/single_task_bench/TForest/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Introduction

To solve the problem of flexible model prediction (FMP) in DeepAOA work, an online vehicular AoA estimation scheme based on a deep learning method, TForest was used to divide the scenarios.

The proposed algorithm has wide applicability and can operate effectively in a variety of different scenarios. It mainly processes the collected car wireless signal data, and uses the TForest algorithm to intelligently divide the scene tasks according to the distribution characteristics of the data. In this way, the algorithm can not only distinguish different data scenarios, but also allocate the most suitable prediction model according to the specific requirements of each scenario.

In terms of task allocation, the algorithm will identify the key features in each scene and select the optimal model to process according to these features. This processing method ensures the applicability of the model and the accuracy of prediction, especially when predicting the Angle between vehicles, it can predict and analyze the relative Angle direction between vehicles more accurately.

Other attempts are in the `other_attempts` folder, but due to the conflict between the data characteristics and the task of this project, and the data is not authorized to be disclosed, looking forward to the subsequent update.
42 changes: 42 additions & 0 deletions examples/aoa/single_task_bench/TForest/allocation.out

Large diffs are not rendered by default.

Binary file added examples/aoa/single_task_bench/TForest/cdf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions examples/aoa/single_task_bench/TForest/forest_analysis.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import joblib
from tree import Tree


def forest_number():
tree_final = joblib.load('tree_final.joblib')

for tree_index in range(len(tree_final)):
print(len(tree_final[tree_index].train_features))


if __name__ == '__main__':
forest_number()

Loading

0 comments on commit bfaf267

Please sign in to comment.