<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">

    <title type="text">perClass</title>
    <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/" />
    <link rel="self" type="application/atom+xml" href="http://perclass.com/index.php/forums/atom/" />
    <updated></updated>
    <rights>Copyright (c) 2012</rights>
    <generator uri="http://expressionengine.com/" version="1.6.3">ExpressionEngine</generator>
    <id>tag:perclass.com,2012:02:02</id>


    <entry>
      <title>Index out of bounds in sdsvc</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/363/" />      
      <id>tag:perclass.com,2012:index.php/forums/viewthread/.363</id>
      <published>2012-01-31T22:25:13Z</published>
      <updated></updated>
      <author><name>tomasz</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi, 
<br />
training sdsvc with default settings on a particular dataset I obtain as follows:
<br />
</p><div class="codeblock"><code>
<span style="color: #007700">???&nbsp;</span><span style="color: #0000BB">Error&nbsp;using&nbsp;</span><span style="color: #007700">==&gt;&nbsp;</span><span style="color: #0000BB">ind2code&nbsp;at&nbsp;8<br />Index&nbsp;out&nbsp;of&nbsp;bounds</span><span style="color: #007700">.<br /><br /></span><span style="color: #0000BB">Error&nbsp;in&nbsp;</span><span style="color: #007700">==&gt;&nbsp;..</span><span style="color: #0000BB">\perClass_Demo\perclass\</span><span style="color: #007700">@</span><span style="color: #0000BB">sddata\subset</span><span style="color: #007700">.</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">subset&nbsp;at&nbsp;73<br /><br /><br />Error&nbsp;in&nbsp;</span><span style="color: #007700">==&gt;&nbsp;..</span><span style="color: #0000BB">\perClass_Demo\perclass\</span><span style="color: #007700">@</span><span style="color: #0000BB">sddata\subsref</span><span style="color: #007700">.</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">subsref&nbsp;at&nbsp;31<br /><br /><br />Error&nbsp;in&nbsp;</span><span style="color: #007700">==&gt;&nbsp;..</span><span style="color: #0000BB">\perClass_Demo\perclass\sdsvc</span><span style="color: #007700">.</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">sdsvc&nbsp;at&nbsp;210<br /><br /><br />Error&nbsp;in&nbsp;</span><span style="color: #007700">==&gt;&nbsp;..</span><span style="color: #0000BB">\perClass_Demo\perclass\</span><span style="color: #007700">@</span><span style="color: #0000BB">sdppl\apply_untrained</span><span style="color: #007700">.</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">apply_untrained&nbsp;at&nbsp;150<br /><br /><br />Error&nbsp;in&nbsp;</span><span style="color: #007700">==&gt;&nbsp;..</span><span style="color: #0000BB">\perClass_Demo\perclass\</span><span style="color: #007700">@</span><span style="color: #0000BB">sdppl\mtimes</span><span style="color: #007700">.</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">mtimes&nbsp;at&nbsp;72<br /><br /><br />Error&nbsp;in&nbsp;</span><span style="color: #007700">==&gt;&nbsp;</span><span style="color: #0000BB">par_classify_BR&nbsp;at&nbsp;20<br />&nbsp;&nbsp;&nbsp;&nbsp;trainedSvc</span><span style="color: #007700">=</span><span style="color: #0000BB">trainngData</span><span style="color: #007700">*</span><span style="color: #0000BB">untrainedSvc</span><span style="color: #007700">;</span>
</code></div><p>
Could you please help with the problem?
</p>
<p>
Thanks in advance.
<br />
Tomasz
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>sdparzen maxsamples</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/364/" />      
      <id>tag:perclass.com,2012:index.php/forums/viewthread/.364</id>
      <published>2012-02-01T10:24:24Z</published>
      <updated></updated>
      <author><name>Davy</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi,
</p>
<p>
When using the &#8216;maxsamples&#8217; option for the sdparzen classifier, how are the training samples chosen? Is this completely random?
</p>
<p>
Best regards,
<br />
Davy
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>sdimage label transparency</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/362/" />      
      <id>tag:perclass.com,2012:index.php/forums/viewthread/.362</id>
      <published>2012-01-30T16:26:26Z</published>
      <updated></updated>
      <author><name>Davy</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi,
</p>
<p>
When showing image data using the sdimage function, one can set the label transparency to &#8220;very transparent&#8221; using the GUI. Is it also possible to set this property automatically in the code itself?
</p>
<p>
Cheers,
<br />
Davy
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Center of SVDD</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/361/" />      
      <id>tag:perclass.com,2012:index.php/forums/viewthread/.361</id>
      <published>2012-01-24T22:20:09Z</published>
      <updated></updated>
      <author><name>Dia</name></author>
      <content type="html">
      <![CDATA[
        <p>Is there any ways to find the center of SVDD using Gaussian kernel ?
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>bug in fixedcc.m</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/360/" />      
      <id>tag:perclass.com,2012:index.php/forums/viewthread/.360</id>
      <published>2012-01-17T14:49:16Z</published>
      <updated></updated>
      <author><name>Mihai F.</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi, 
</p>
<p>
Line 204 in fixedcc.m function : 
<br />
par - w.data&#123;4&#125;;
</p>
<p>
Should it be replaced by ?
<br />
par = w.data&#123;4&#125;;
</p>
<p>
Thank you for your help.
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Internal error in sdtree</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/359/" />      
      <id>tag:perclass.com,2012:index.php/forums/viewthread/.359</id>
      <published>2012-01-13T17:57:08Z</published>
      <updated></updated>
      <author><name>tomasz</name></author>
      <content type="html">
      <![CDATA[
        <p>Please help figure out what is the problem.
</p>
<p>
&gt;&gt; sdtree(ds)
<br />
??? Error using ==&gt; perclass_mex
<br />
Tree training: Internal error
</p>
<p>
Error in ==&gt;
<br />
C:\Documents\Nauka\ResearchEnv\PerClass\perClass_Demo\perclass\sdtree.p&gt;sdtree at
<br />
181
</p>
<p>
I am using:
<br />
perClass Demo 3.1.2 (22-Dec-2011), Copyright (C) 2007-2011, PR Sys Design, All rights reserved
</p>
<p>
Regards.
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>PRTools Version 4.2.1 does not seem to contain the mapping class definition file.</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/358/" />      
      <id>tag:perclass.com,2012:index.php/forums/viewthread/.358</id>
      <published>2012-01-02T16:19:53Z</published>
      <updated></updated>
      <author><name>revs</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi, 
</p>
<p>
I had the previous version of PRTools and tried to install the newer version (4.2.1) instead. 
</p>
<p>
However, I was not able to find the mapping.p and mapping.m file with the newer version. I remember having it in the previous version. 
</p>
<p>
The &#8216;Contents.m&#8217; file in the newer version mentions the file. I downloaded the zip file containing the codes twice and tried. Is there any step of the installation that I am missing?
</p>
<p>
Thanks!
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>ROC questions</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/357/" />      
      <id>tag:perclass.com,2011:index.php/forums/viewthread/.357</id>
      <published>2011-12-14T09:30:50Z</published>
      <updated></updated>
      <author><name>Davy</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi,
</p>
<p>
I have 2 questions regarding ROC analysis in perClass:
</p>
<p>
(1) When I use sddecide to create an operating point using the weighting-based option (‘w’), is there a way to retrieve the actual operating point (e.g. to mark it in the ROC curve)?
</p>
<p>
(2) [Probably this is very simple, but I cannot seem to find it] When doing the ROC analysis, how can I choose the operating point that minimizes the overall classification error (not the operating point that minimizes the per-class classification errors)?
</p>
<p>
Cheers,
<br />
Davy
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>what exactly svc returns&#63;</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/356/" />      
      <id>tag:perclass.com,2011:index.php/forums/viewthread/.356</id>
      <published>2011-12-11T12:14:27Z</published>
      <updated>2011-12-11T18:26:38Z</updated>
      <author><name>theodora</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi dear forum members,
<br />
I’m new in this forum and in PRTools too and I have been a little bit confused .&nbsp; :-S 
<br />
Let Atrn be my train data which has: 100 objects by 2 features with 2 classes: [50  50] and Atrn be my testing data: 100 objects by 2 features with 2 classes: [50  50] .
<br />
I want to create and train a classifier combiner using a membership matrix U (100x2) with soft clustering weights calculated using trained SOM,so  I wrote the following code in order to create and train the combiner:
</p>
<p>
NumOfClassifiers=5;
</p>
<p>
for clf=1:NumOfClassifiers
</p>
<p>
    Wsvm&#123;clf&#125;=svc(); 
<br />
    Wsvmtrn&#123;clf&#125;=Atrn*Wsvm&#123;clf&#125;;
<br />
    str_Wsvmtrn=struct(Wsvmtrn&#123;clf&#125;);
<br />
    SupportVectorIndices=Wsvmtrn&#123;clf&#125;.data&#123;5&#125;;
<br />
    Wsvmtrn&#123;clf&#125;.data&#123;2&#125;.data=Usom(SupportVectorIndices,:); % include U here ????
<br />
end
</p>
<p>
From the workspace I saw that the data field of the struct str_Wsvmtrn is a 1x5 cell : The Wsvmtrn.data&#123;5&#125; field is a 42x1 vector which represent the support vector indices and Wsvmtrn.data&#123;3&#125; field is a 43x1 vector which represent the weights (but why 43x1 and not 42x1 ?).As for  the fields Wsvmtrn.data&#123;1&#125; (1x2 vector) and Wsvmtrn.data&#123;2&#125; ( a 42 by 2 data with 2 classes: [21  21]) ,what exactly do they represent? I thought that the Wsvmtrn.data&#123;2&#125; could be those Trainset&#8217;s objects that are pointed by the 42 
<br />
support vector indices(as they have the same dimensionality) but the values aren&#8217;t the same!Please help me!I have no idea!
</p>
<p>
From the 100 weights of the membership matrix , I take the 42 which corresponds to the 42 support vector indices and now I want to update the struct str_Wsvmtrn with them.But I don&#8217;t know how.
</p>
<p>
Any response will be appreciated.
<br />
Thanks a lot.
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Modifications of  dd_tools&#8217; simpleroc</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/355/" />      
      <id>tag:perclass.com,2011:index.php/forums/viewthread/.355</id>
      <published>2011-11-24T11:41:48Z</published>
      <updated>2011-11-24T11:43:33Z</updated>
      <author><name>Rodja</name></author>
      <content type="html">
      <![CDATA[
        <p>Hello,
<br />
i have made some modifications to simpleroc of dd_tools. I think they might be useful for others.
</p>
<p>
1) I have changed the branch that handles the &#8220;not uniquely defined ROC&#8221;. I have replaced the find (linear search on the whole vector) to a smaller loop, exploiting the fact that the thresholds are sorted. 
</p>
<p>
The code is much faster now. With 10000 objects of which 86288 are unique, these are the timings on my computer:
<br />
- original 15 secs
<br />
- modified 0.33 secs
</p>
<p>
2) I have added a threshold to the end of threshold vector in order to be of the same size of f (errors). 
<br />
Assume you have 10 thresholds, currently the tenth threshold thr(10) corresponds to objects having &#8220;posterior probability&#8221; GREATER EQUAL (right?) than that threshold (the number is stored in f(10)). Since this is the last threshold, the ≥ is satisfied only by one object and as strict equality.
</p>
<p>
f(11) is about all object reject by the classifier.&nbsp; 
<br />
Adding this line:
<br />
</p><div class="codeblock"><code>
<span style="color: #0000BB">uout&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#91;uout</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">uout</span><span style="color: #007700">(</span><span style="color: #0000BB">end</span><span style="color: #007700">)+</span><span style="color: #0000BB">10</span><span style="color: #007700">*</span><span style="color: #0000BB">eps</span><span style="color: #007700">(</span><span style="color: #0000BB">uout</span><span style="color: #007700">(</span><span style="color: #0000BB">end</span><span style="color: #007700">))</span><span style="color: #0000BB">&#93;</span><span style="color: #007700">;</span>
</code></div><p>
You will a have a u(11) greater than u(10). This threshold will be strictly greater than any posterior probability generated, so all object are rejected at this threshold (in accordance with f(11))  
</p>
<p>
the modified file is attached. Let me know what you think about.
</p>
<p>
Bye,
<br />
Giuseppe
</p>
      ]]>
      </content>
    </entry>


</feed>
