Thread: [Dclib-devel] Multiclass classification
Brought to you by:
davisking
From: Mani A. <man...@gm...> - 2016-02-04 04:04:57
Attachments:
image003.jpg
|
Hi, I am looking for a multiclass classification algorithm in Dlib that can classify inputs into three classes. The inputs are 3-dimensional (x,y,z) and like the following picture. After the training phase, the algorithm should be able to classify the input into class 1,2 or 3. Can you please give me a hint or show me a skeleton example that I can start with? Thanks! - Mani |
From: Davis K. <dav...@us...> - 2016-02-04 11:52:21
Attachments:
image003.jpg
|
I would try the one_vs_one_trainer. See http://dlib.net/ml.html#one_vs_one_trainer On Wed, Feb 3, 2016 at 11:04 PM, Mani Amoozadeh <man...@gm...> wrote: > Hi, > > > > I am looking for a multiclass classification algorithm in Dlib that can > classify inputs into three classes. > > The inputs are 3-dimensional (x,y,z) and like the following picture. After > the training phase, the algorithm > > should be able to classify the input into class 1,2 or 3. > > > > > > Can you please give me a hint or show me a skeleton example that I can > start with? > > Thanks! > > > > - Mani > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > _______________________________________________ > Dclib-devel mailing list > Dcl...@li... > https://lists.sourceforge.net/lists/listinfo/dclib-devel > > |
From: Mani A. <man...@gm...> - 2016-02-04 18:32:57
|
<html> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1252"> </head> <body text="#000000" bgcolor="#FFFFFF"> Thanks! I also noticed there is a <b>one_vs_all</b> trainer (<a class="moz-txt-link-freetext" href="http://dlib.net/ml.html#one_vs_all_trainer">http://dlib.net/ml.html#one_vs_all_trainer</a>)<br> Isn't it more efficient and faster than <b>one_vs_one</b> trainer for multiclass classification since it does not train N*(N-1)/2 binary classifiers.<br> <br> <br> - Mani<br> <br> <br> <br> -------- Forwarded Message -------- <table class="moz-email-headers-table" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject: </th> <td>Multiclass classification</td> </tr> <tr> <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th> <td>Wed, 3 Feb 2016 20:04:47 -0800</td> </tr> <tr> <th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th> <td>Mani Amoozadeh <a class="moz-txt-link-rfc2396E" href="mailto:man...@gm..."><man...@gm...></a></td> </tr> <tr> <th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th> <td><a class="moz-txt-link-abbreviated" href="mailto:dcl...@li...">dcl...@li...</a></td> </tr> </tbody> </table> <br> <br> <br> <br> <div class="moz-forward-container"> <meta http-equiv="content-type" content="text/html; charset=windows-1252"> <span style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;">I would try the one_vs_one_trainer.=C2=A0 See=C2=A0 </span><a href="=3D%22http://dlib.net/ml.html#one_vs_one_trainer%22" style="font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><a class="moz-txt-link-freetext" href="http://dlib.net/ml.html#one=">http://dlib.net/ml.html#one=</a> _vs_one_trainer</a><br> <br> <br> <br> -------- Forwarded Message -------- <table class="moz-email-headers-table" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject: </th> <td>Multiclass classification</td> </tr> <tr> <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th> <td>Wed, 3 Feb 2016 20:04:47 -0800</td> </tr> <tr> <th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th> <td>Mani Amoozadeh <a class="moz-txt-link-rfc2396E" href="mailto:man...@gm..."><man...@gm...></a></td> </tr> <tr> <th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th> <td><a class="moz-txt-link-abbreviated" href="mailto:dcl...@li...">dcl...@li...</a></td> </tr> </tbody> </table> <br> <br> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="Generator" content="Microsoft Word 15 (filtered medium)"> <!--[if !mso]><style>v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style><![endif]--> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:#0563C1; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:#954F72; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri",sans-serif;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> <div class="WordSection1"> <p class="MsoNormal">Hi,<o:p></o:p></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">I am looking for a multiclass classification algorithm in Dlib that can classify inputs into three classes.<o:p></o:p></p> <p class="MsoNormal">The inputs are 3-dimensional (x,y,z) and like the following picture. After the training phase, the algorithm<o:p></o:p></p> <p class="MsoNormal">should be able to classify the input into class 1,2 or 3.<br> </p> <p class="MsoNormal">Can you please give me a hint or show me a skeleton example that I can start with?<o:p></o:p></p> <p class="MsoNormal">Thanks!<o:p></o:p></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">- Mani<o:p></o:p></p> </div> <br> </div> <br> </body> </html> |
From: Mani A. <man...@gm...> - 2016-02-04 18:43:53
|
Thanks! I also noticed there is a *one_vs_all* trainer (http://dlib.net/ml.html#one_vs_all_trainer) Isn't it more efficient and faster than *one_vs_one* trainer for multiclass classification since it does not train N*(N-1)/2 binary classifiers. - Mani -------- Forwarded Message -------- Subject: Multiclass classification Date: Wed, 3 Feb 2016 20:04:47 -0800 From: Mani Amoozadeh <man...@gm...> To: dcl...@li... I would try the one_vs_one_trainer.=C2=A0 See=C2=A0 http://dlib.net/ml.html#one= _vs_one_trainer -------- Forwarded Message -------- Subject: Multiclass classification Date: Wed, 3 Feb 2016 20:04:47 -0800 From: Mani Amoozadeh <man...@gm...> To: dcl...@li... Hi, I am looking for a multiclass classification algorithm in Dlib that can classify inputs into three classes. The inputs are 3-dimensional (x,y,z) and like the following picture. After the training phase, the algorithm should be able to classify the input into class 1,2 or 3. Can you please give me a hint or show me a skeleton example that I can start with? Thanks! - Mani |
From: Davis K. <dav...@us...> - 2016-02-04 20:17:29
|
Yes, you could try that one as well and it might be faster, depending on the value of N. |