how to plot predicted labels as circles of the same color over original data?

1 回表示 (過去 30 日間)
Anon97
Anon97 2020 年 3 月 21 日
回答済み: Bhargavi Maganuru 2020 年 3 月 26 日
I am giving two classes (class 1 (red) and class 2 (blue)) at which after using neural networking, I am given a decision boundary (a line). Depending on that line, determines the predicted label of that point. Given my data and line, what are the plot specs to put these predicted labels (the circles around the data points) on the plot?

回答 (1 件)

Bhargavi Maganuru
Bhargavi Maganuru 2020 年 3 月 26 日
Once you have data with their classes known, you could seperate the data based on classes and plot them using "LineSpec" input argument of plot function.
Hope this helps!

カテゴリ

Help Center および File ExchangeAI for Signals についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by