Just provide your valid desired value for the ' ClassWeights' name-value pair arguments while creating the pixelClassificationLayer. For more information you can refer to the documentation of ClassWeights name-value pair, pixelClassificationLayer & Use Weighting to Balance Classes in Training Data.
セマンティックセグメンテーションにおける重みづけの方法
3 次查看(过去 30 天)
显示 更早的评论
重みづけの際に上の例では,中央周波数クラスの重みを計算していますが,自分で重みを設定したいと考えています.
このとき,どのように書き換えることでこれを実現することができますでしょうか?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!