<?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) 2011</rights>
    <generator uri="http://expressionengine.com/" version="1.6.3">ExpressionEngine</generator>
    <id>tag:perclass.com,2011:08:03</id>


    <entry>
      <title>Use Mappings for an external Application</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/336/" />      
      <id>tag:perclass.com,2011:index.php/forums/viewthread/.336</id>
      <published>2011-08-02T12:45:49Z</published>
      <updated></updated>
      <author><name>FMac</name></author>
      <content type="html">
      <![CDATA[
        <p>Dear All,
</p>
<p>
We are using an inspection system for the inspection of glass. The inspection system finds all kinds of objects (glass inclusions, scratches, stains, dust, etc.), assigns features to each object, and sorts - based on Boolean operators - into defect classes. The system allows to derive additional features using base features (NewFeature = 3*Feature1-sqrt(Feature2)). So far we are using simple Boolean expressions to sort. Playing with the PRtools on our datasets we have learned that we could improve sorting if we could make use of your classifiers&#8230;
</p>
<p>
Now my questions: Is it possible to use PRtools to figure out &#8220;Derived Features&#8221; &amp; &#8220;Boolean Operators&#8221; for my external software?
</p>
<p>
For example I prepared a ldc-classifier from my data using a reference data set then applied it to data-dump from the system. The data contained 2 different types of objects which we would like to distinguish. 
</p>
<p>
I understood that the classifier had mapped my approximately 140 features to an output of 2 features. The plot of my objects against these 2 new features shows that my two different object classes are now separated in my new 2d feature space and can be distinguished by a Boolean operator....now we dream of making somehow use of this.
</p>
<p>
I hope this is not complete gibberish to you people&#8230;
</p>
<p>
Best regards,
</p>
<p>
FMac
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Normalizing SVM output</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/319/" />      
      <id>tag:perclass.com,2011:index.php/forums/viewthread/.319</id>
      <published>2011-06-14T17:18:26Z</published>
      <updated></updated>
      <author><name>Jean-Michel</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi Pavel,
</p>
<p>
It seems that in the 2-class case sdsvc returns only a one-dimensional array of soft outputs.
</p>
<p>
Does it correspond to some distances? To the svm decision function? In this case is it possible to obtain the decision function for the other class without retraining in order to have an output on which we can apply sdnorm ?
<br />
Is there a way to have a 2-dimensional soft output array? 
<br />
I actually need probabilistic outputs :-)
</p>
<p>
thanks in advance for your help
</p>
<p>
Best regards
</p>
<p>
Jm
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Building a scaling pipeline using sdp_affine</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/321/" />      
      <id>tag:perclass.com,2011:index.php/forums/viewthread/.321</id>
      <published>2011-06-16T10:43:45Z</published>
      <updated></updated>
      <author><name>Jean-Michel</name></author>
      <content type="html">
      <![CDATA[
        <p>Dear PRSD Team,
</p>
<p>
I&#8217;m trying to reproduce some results from a previous study and threfore I&#8217;m trying to reconstruct the appropriate objects. I already had the parameters of a trained SVM and therefore I could first construct a svm pipeline using sdp_svc
<br />
However I cannot make sure that the scaling pipeline is correct.
<br />
Is something like that correct as a standardization procedure?
<br />
</p><div class="codeblock"><code>
<span style="color: #0000BB">wscale&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">sdp_affine</span><span style="color: #007700">(</span><span style="color: #0000BB">diag</span><span style="color: #007700">(</span><span style="color: #0000BB">&#91;10&nbsp;30&#93;</span><span style="color: #007700">),</span><span style="color: #0000BB">&#91;</span><span style="color: #007700">-</span><span style="color: #0000BB">1&nbsp;4&#93;</span><span style="color: #007700">,</span><span style="color: #0000BB">sdlab</span><span style="color: #007700">(</span><span style="color: #0000BB">&#123;</span><span style="color: #DD0000">'GOOD'</span><span style="color: #007700">,</span><span style="color: #DD0000">'BAD'</span><span style="color: #0000BB">&#125;</span><span style="color: #007700">))</span>
</code></div><p>
</p>

<p>
Best regards,
</p>
<p>
JM
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Modifying class name in a trained GMM pipeline</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/322/" />      
      <id>tag:perclass.com,2011:index.php/forums/viewthread/.322</id>
      <published>2011-06-16T17:44:34Z</published>
      <updated></updated>
      <author><name>Jean-Michel</name></author>
      <content type="html">
      <![CDATA[
        <p>Hello,
</p>
<p>
I would like to know whether it is possible to modify class names in a trained gmm pipeline.
</p>
<p>
I&#8217;ve tried the following code but it does not work
<br />
</p><div class="codeblock"><code>
<span style="color: #007700">&gt;&gt;&nbsp;</span><span style="color: #0000BB">PGMM&#123;1&#125;</span><span style="color: #007700">.</span><span style="color: #0000BB">mean<br />2&nbsp;by&nbsp;10&nbsp;sddata</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">2&nbsp;classes</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">'FA'</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'STOP'</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;<br />&gt;&gt;&nbsp;</span><span style="color: #0000BB">sdrelab</span><span style="color: #007700">(</span><span style="color: #0000BB">PGMM&#123;1&#125;</span><span style="color: #007700">.</span><span style="color: #0000BB">mean</span><span style="color: #007700">,</span><span style="color: #0000BB">&#123;</span><span style="color: #DD0000">'FA'</span><span style="color: #007700">,</span><span style="color: #DD0000">'NONSTOP'</span><span style="color: #0000BB">&#125;</span><span style="color: #007700">)<br />&nbsp;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">FA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&gt;&nbsp;</span><span style="color: #0000BB">NONSTOP<br />&nbsp;&nbsp;2</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">STOP&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&gt;&nbsp;</span><span style="color: #0000BB">STOP<br />2&nbsp;by&nbsp;10&nbsp;sddata</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">2&nbsp;classes</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">'STOP'</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'NONSTOP'</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;<br />&gt;&gt;</span><span style="color: #0000BB">PGMM&#123;1&#125;</span><span style="color: #007700">.</span><span style="color: #0000BB">mean&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">sdrelab</span><span style="color: #007700">(</span><span style="color: #0000BB">PGMM&#123;1&#125;</span><span style="color: #007700">.</span><span style="color: #0000BB">mean</span><span style="color: #007700">,</span><span style="color: #0000BB">&#123;</span><span style="color: #DD0000">'FA'</span><span style="color: #007700">,</span><span style="color: #DD0000">'NONSTOP'</span><span style="color: #0000BB">&#125;</span><span style="color: #007700">);<br />&nbsp;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">FA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&gt;&nbsp;</span><span style="color: #0000BB">NONSTOP<br />&nbsp;&nbsp;2</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">STOP&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">-&gt;&nbsp;</span><span style="color: #0000BB">STOP<br /></span><span style="color: #007700">???&nbsp;SWITCH&nbsp;</span><span style="color: #0000BB">expression&nbsp;comma&nbsp;separated&nbsp;</span><span style="color: #007700">list&nbsp;</span><span style="color: #0000BB">must&nbsp;have&nbsp;exactly&nbsp;one&nbsp;item</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">matlab</span><span style="color: #007700">/</span><span style="color: #0000BB">PRSD_Studio</span><span style="color: #007700">/</span><span style="color: #0000BB">prsd_toolbox</span><span style="color: #007700">/@</span><span style="color: #0000BB">sdppl</span><span style="color: #007700">/</span><span style="color: #0000BB">subsasgn</span><span style="color: #007700">.</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">subsasgn&nbsp;at&nbsp;4</span>
</code></div><p>
</p>
<p>
Is there a method to set/replace P&#123;1&#125;.mean?
</p>
<p>
At the moment the only way I&#8217;ve found is to re-build a pipeline each time I want to change something:
<br />
</p><div class="codeblock"><code>
<span style="color: #0000BB">P&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">sdp_normal</span><span style="color: #007700">(</span><span style="color: #0000BB">sdrelab</span><span style="color: #007700">(</span><span style="color: #0000BB">PGMM&#123;1&#125;</span><span style="color: #007700">.</span><span style="color: #0000BB">mean</span><span style="color: #007700">,</span><span style="color: #0000BB">&#123;</span><span style="color: #DD0000">'FA'</span><span style="color: #007700">,</span><span style="color: #DD0000">'NONSTOP'</span><span style="color: #0000BB">&#125;</span><span style="color: #007700">),</span><span style="color: #0000BB">PGMM&#123;1&#125;</span><span style="color: #007700">.</span><span style="color: #0000BB">cov</span><span style="color: #007700">,</span><span style="color: #0000BB">PGMM&#123;1&#125;</span><span style="color: #007700">.</span><span style="color: #0000BB">prior</span><span style="color: #007700">);</span>
</code></div><p>
</p>
<p>
Thanks in advance for your assistance
</p>
<p>
Best regards,
</p>
<p>
Jean-Michel
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>No GMM components left</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/318/" />      
      <id>tag:perclass.com,2011:index.php/forums/viewthread/.318</id>
      <published>2011-06-14T14:55:57Z</published>
      <updated></updated>
      <author><name>Jean-Michel</name></author>
      <content type="html">
      <![CDATA[
        <p>Hello,
</p>
<p>
Could you tell me why when I use more than 1 component per class the sdmixture cannot find a model 
<br />
</p><div class="codeblock"><code>
<span style="color: #007700">&gt;&gt;&nbsp;</span><span style="color: #0000BB">P&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">sdmixture</span><span style="color: #007700">(</span><span style="color: #0000BB">dataGMM</span><span style="color: #007700">,</span><span style="color: #DD0000">'comp'</span><span style="color: #007700">,</span><span style="color: #0000BB">&#91;1&nbsp;1&#93;</span><span style="color: #007700">,</span><span style="color: #DD0000">'priors'</span><span style="color: #007700">,</span><span style="color: #0000BB">dataGMM</span><span style="color: #007700">.</span><span style="color: #0000BB">lab</span><span style="color: #007700">.</span><span style="color: #0000BB">priors</span><span style="color: #007700">,</span><span style="color: #DD0000">'reg'</span><span style="color: #007700">,</span><span style="color: #0000BB">1e-6</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">&#91;class&nbsp;</span><span style="color: #DD0000">'FA'&nbsp;</span><span style="color: #0000BB">EM</span><span style="color: #007700">:..............................&nbsp;</span><span style="color: #0000BB">1&nbsp;comp&#93;&nbsp;&#91;class&nbsp;</span><span style="color: #DD0000">'STOP'&nbsp;</span><span style="color: #0000BB">EM</span><span style="color: #007700">:..............................&nbsp;</span><span style="color: #0000BB">1&nbsp;comp&#93;</span>
</code></div><p>
</p><div class="codeblock"><code>
<span style="color: #007700">&gt;&gt;&nbsp;</span><span style="color: #0000BB">P&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">sdmixture</span><span style="color: #007700">(</span><span style="color: #0000BB">dataGMM</span><span style="color: #007700">,</span><span style="color: #DD0000">'comp'</span><span style="color: #007700">,</span><span style="color: #0000BB">&#91;2&nbsp;1&#93;</span><span style="color: #007700">,</span><span style="color: #DD0000">'priors'</span><span style="color: #007700">,</span><span style="color: #0000BB">dataGMM</span><span style="color: #007700">.</span><span style="color: #0000BB">lab</span><span style="color: #007700">.</span><span style="color: #0000BB">priors</span><span style="color: #007700">,</span><span style="color: #DD0000">'reg'</span><span style="color: #007700">,</span><span style="color: #0000BB">1e-6</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">&#91;class&nbsp;</span><span style="color: #DD0000">'FA'&nbsp;</span><span style="color: #0000BB">EM</span><span style="color: #007700">:</span><span style="color: #0000BB">no&nbsp;components&nbsp;left</span><span style="color: #007700">&gt;&gt;</span>
</code></div><p>
</p>
<p>
thanks in advance
</p>
<p>
regards,
</p>
<p>
JM
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>(lazy) labeling of a reasonably big  amount of data</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/297/" />      
      <id>tag:perclass.com,2011:index.php/forums/viewthread/.297</id>
      <published>2011-04-08T09:30:11Z</published>
      <updated></updated>
      <author><name>Jean-Michel</name></author>
      <content type="html">
      <![CDATA[
        <p>Dear Prsdstudio Team,
</p>
<p>
I have a 14000x64 dataset representing a set of 64 point profiles. If I quickly browse over my dataset I can visually discriminate between 3 profiles. In preparation for a preliminary study I would like to label them in a lazy (but smart) way.
</p>
<p>
I suppose I can run the sdkcentres with say 3 clusters. Could you let me know how to label easily the points &#8220;belonging&#8221; to each cluster?
</p>
<p>
To make things easier and lower a bit the dimensionality of the problem I could of course choose some prototypes and go for the dissimilarity representation, but still I need the label the 14000 samples....
</p>
<p>
Thanks in advance for your assistance,
</p>
<p>
Best regards,
</p>
<p>
Jean-Michel
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>confidence of decision tree</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/284/" />      
      <id>tag:perclass.com,2011:index.php/forums/viewthread/.284</id>
      <published>2011-01-19T19:53:41Z</published>
      <updated></updated>
      <author><name>Tunker</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi everyone
</p>
<p>
I have one question about decision trees (DT). After Training, I tested my single DT classifier (W) on Test data set like: R = Test*W*classc
</p>
<p>
Then I wrote: +R
</p>
<p>
and here comes the question: How the confidences for classes are made? My problem with understanding that is because DT is a group of rules, and there is no way to give confidences for all classes. DT simply gives you the answer, doesnt it?
</p>
<p>
Thank you all in advanced.
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Feature sets applicability</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/281/" />      
      <id>tag:perclass.com,2011:index.php/forums/viewthread/.281</id>
      <published>2011-01-07T10:56:16Z</published>
      <updated></updated>
      <author><name>strantis</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi all. I have two different feature sets representing the same objects. I am trying to verify which of them is the most distinctive, (Actually what I interesting of verifying the applicability of the algorithms that produce the feature sets from the specific objects. My first thought was to just use variable classifiers and compare the errors. However, I don&#8217;t think that this is the right way, since the results can vary depending on the classifier itself. Next I tried to use some clustering validity methods like Davies-Bouldin index or Rand index, in order to see the clustering ability of the two sets of features. This last approach seems to be ok, but I am still not very sure which the most preferable way is. Any thoughts please?
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Class priors in Gaussian mixture models</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/270/" />      
      <id>tag:perclass.com,2010:index.php/forums/viewthread/.270</id>
      <published>2010-12-23T01:11:20Z</published>
      <updated></updated>
      <author><name>Jean-Michel</name></author>
      <content type="html">
      <![CDATA[
        <p>Hello,
</p>
<p>
When learning a GMM using sdmixture, the default priors are normally calculated from the training set
<br />
</p><div class="codeblock"><code>
<span style="color: #007700">&gt;&gt;&nbsp;</span><span style="color: #0000BB">P&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">sdmixture</span><span style="color: #007700">(</span><span style="color: #0000BB">zedata</span><span style="color: #007700">,</span><span style="color: #DD0000">'comp'</span><span style="color: #007700">,</span><span style="color: #0000BB">&#91;1&nbsp;1&#93;</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">&#91;class&nbsp;</span><span style="color: #DD0000">'FA'&nbsp;</span><span style="color: #0000BB">EM</span><span style="color: #007700">:..............................&nbsp;</span><span style="color: #0000BB">1&nbsp;comp&#93;&nbsp;&#91;class&nbsp;</span><span style="color: #DD0000">'STOP'&nbsp;</span><span style="color: #0000BB">EM</span><span style="color: #007700">:..............................&nbsp;</span><span style="color: #0000BB">1&nbsp;comp&#93;&nbsp;<br /></span><span style="color: #007700">&gt;&gt;&nbsp;+</span><span style="color: #0000BB">P<br /><br />ans&nbsp;</span><span style="color: #007700">=&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mean</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">&#91;2x10x2&nbsp;sddata&#93;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cov</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">&#91;10x10x2&nbsp;double&#93;<br />&nbsp;&nbsp;&nbsp;&nbsp;prior</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">&#91;0.5000&nbsp;0.5000&#93;</span>
</code></div><p>
However from the dataset itself I get:
<br />
</p><div class="codeblock"><code>
<span style="color: #007700">&gt;&gt;&nbsp;</span><span style="color: #0000BB">zedata</span><span style="color: #007700">.</span><span style="color: #0000BB">lab</span><span style="color: #DD0000">'<br />&nbsp;ind&nbsp;name&nbsp;&nbsp;&nbsp;&nbsp;size&nbsp;percentage<br />&nbsp;&nbsp;&nbsp;1&nbsp;FA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;60&nbsp;(42.3%)<br />&nbsp;&nbsp;&nbsp;2&nbsp;STOP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;82&nbsp;(57.7%)<br />&gt;&gt;</span>
</code></div><p>
or equivalently
<br />
</p><div class="codeblock"><code>
<span style="color: #007700">&gt;&gt;&nbsp;</span><span style="color: #0000BB">zedata</span><span style="color: #007700">.</span><span style="color: #0000BB">lab</span><span style="color: #007700">.</span><span style="color: #0000BB">priors<br /><br />ans&nbsp;</span><span style="color: #007700">=<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">0.4225&nbsp;&nbsp;&nbsp;&nbsp;0.5775</span>
</code></div><p>
or 
<br />
</p><div class="codeblock"><code>
<span style="color: #007700">&gt;&gt;&nbsp;</span><span style="color: #0000BB">getpriors</span><span style="color: #007700">(</span><span style="color: #0000BB">zedata</span><span style="color: #007700">)<br /><br /></span><span style="color: #0000BB">ans&nbsp;</span><span style="color: #007700">=<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">0.4225&nbsp;&nbsp;&nbsp;&nbsp;0.5775</span>
</code></div><p>
</p>
<p>
Why do the priors in the GMM not correspond to the priors computed from the dataset in this case?
</p>
<p>
thanks in advance for your assistance,
</p>
<p>
Best regards,
</p>
<p>
Jean-Michel
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>prex_datafile problem</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/268/" />      
      <id>tag:perclass.com,2010:index.php/forums/viewthread/.268</id>
      <published>2010-12-18T19:50:40Z</published>
      <updated></updated>
      <author><name>strantis</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi all. I&#8217;m trying to run the prex_datafile example in PRTools but I get a message that the &#8216;&#8217;hyddata&#8217;&#8217; file is missing. Indeed there is no such a datafile in prdatafiles folder. Has anybody have an idea how to get it? Thanks.
</p>
      ]]>
      </content>
    </entry>


</feed>
