Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to estimate the accuracy of an outcome based on the last 10 outcomes?

1 次查看(过去 30 天)
I am working on a visual lane detection system which is required to predict the direction of the road. Possible outcomes are l, s, and r (left, straight, and right). Say the last 10 outcomes are given by
outcomes = [l, l, l, l, s, s, s, l, l, s];
and the lane detection code generates a new outcome as s. How can I check the accuracy of the new outcome based on my last 10 outcomes by given a greater weight to the latest outcomes?
Note: I am using a threshold value (the difference between the slopes of left and right lanes) which I manually tuned to distinguish between l, s, and r. Although, this approach generally works fine, it also causes a fluctuation between two successive states ( l, s, and r) during transitions. I am trying to eliminate this issue by employing a probabilistic approach.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by