adding constraints to the objective function with svmtarin

조회 수: 1 (최근 30일)
Rini
Rini 2014년 8월 31일
I am working on a problem where I have two sets of data- say X (NxT) and Z(KxT). For each z(1xT), I want to classify those X' which are related to the z, from those (X-X') which are not. 1. I have prior information of a relationship binary matrix between Z and X (say C,NxK)), and 2. I know Z and X are negatively correlated. 3. I want to impose sparsity on the number of X' related to each z to reduce false positive I have formulated the problem as below -
where w is the weight of the classifier, lambda is the sparsity constant. I have used Matlab's svmtrain and svmclassify before on simple data but I am not sure how to add the constraints to the objective function and then use the two functions. Can someone please help me? Thanks!

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by