How can I perform a classification with a custom function?
이전 댓글 표시
I plotted two data sets on a two-dimensional space. Imagine a scatterplot with points that can either be 'x' or 'o'.
I want to compute and draw a decision function, which is given except for one parameter b, simplified: y = ln(b * exp(-6x+7) -b)/10 The decision function with the ideal b should divide the scatterplot into 'x' and 'o' points and minimize the error.
As a start I read this: http://www.mathworks.co.uk/products/statistics/examples.html?file=/products/demos/shipping/stats/classdemo.html
As my function is neither linear nor quadratic I would like to know how I can use my custom ln function.
채택된 답변
추가 답변 (1개)
Image Analyst
2013년 8월 28일
0 개 추천
How about using SVM?
카테고리
도움말 센터 및 File Exchange에서 Design of Experiments (DOE)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!