<?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:05:27</id>


    <entry>
      <title>LabVIEW Real&#45;Time compatibility</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/310/" />      
      <id>tag:perclass.com,2011:index.php/forums/viewthread/.310</id>
      <published>2011-05-19T15:06:50Z</published>
      <updated></updated>
      <author><name>Dugal Harris</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi
</p>
<p>
I am looking into deploying a prsd classifier onto a “LabVIEW Real-Time” system.&nbsp; Basically this is a VxWorks OS.&nbsp; Only a limited subset of the standard windows API is provided.&nbsp; There is a utility at <a href="http://perclass.com/index.php?URL=http%3A%2F%2Fdigital.ni.com%2Fpublic.nsf%2Fallkb%2F0BF52E6FAC0BF9C286256EDB00015230">http://digital.ni.com/public.nsf/allkb/0BF52E6FAC0BF9C286256EDB00015230</a> that allows you to check if dll’s are compatible with LabVIEW real-time (we are using the 2009 version).&nbsp; When I run it on the libprsd.dll deployment dll, I get a very long list of “bad imports”.&nbsp; Are all of these imports necessary?&nbsp; Is there any way of linking libprsd.dll that omits some/all of these imports?&nbsp; I realise that this is a long-shot, but thought I’d try anyway.
</p>
<p>
Thanks
<br />
Dugal
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>datalength</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/301/" />      
      <id>tag:perclass.com,2011:index.php/forums/viewthread/.301</id>
      <published>2011-04-22T08:57:48Z</published>
      <updated></updated>
      <author><name>Jean-Michel</name></author>
      <content type="html">
      <![CDATA[
        <p>Dear PRSD team,
</p>
<p>
When evaluating the number of samples in a dataset I always type length(data) or numel(data) before realizing that I should type instead length(+data) or size(+data,1).
</p>
<p>
To my opnion since we can adress the dataset samples using data(a:b) (i.e data could be considered as an array of 1-sample datasets), it would make sense that length(data) returns the number of samples contained in the dataset. Does it make sense?
</p>
<p>
I&#8217;m still using the version of December 2010. So please forget my question is this functionality has already been implemented since then.
</p>
<p>
Best regards,
</p>
<p>
JM
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>relabeling sddata objects</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/299/" />      
      <id>tag:perclass.com,2011:index.php/forums/viewthread/.299</id>
      <published>2011-04-13T09:42:41Z</published>
      <updated></updated>
      <author><name>Jean-Michel</name></author>
      <content type="html">
      <![CDATA[
        <p>Hello,
</p>
<p>
I have a couple of questions about relabeling. Originally it was about feature request but progressively I realized that these requests could possibly be &#8220;senseless&#8221; so I turned them into questions :-)
</p>
<p>
To relabel sddata object there exist the function sdrelab.
</p>
<p>
There is also another (maybe less powerful) way to relabel the data using indexing
<br />
</p><div class="codeblock"><code>
<span style="color: #007700">&gt;&gt;&nbsp;</span><span style="color: #0000BB">proto<br />2&nbsp;by&nbsp;63&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">'Cluster&nbsp;1'</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'Cluster&nbsp;2'</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">proto</span><span style="color: #007700">.</span><span style="color: #0000BB">lab</span><span style="color: #007700">(</span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">proto</span><span style="color: #007700">.</span><span style="color: #0000BB">lab</span><span style="color: #007700">==</span><span style="color: #DD0000">'Cluster&nbsp;1'</span><span style="color: #007700">))=</span><span style="color: #DD0000">'Cluster&nbsp;Centroid&nbsp;1'<br /></span><span style="color: #0000BB">2&nbsp;by&nbsp;63&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">'Cluster&nbsp;Centroid&nbsp;1'</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'Cluster&nbsp;2'</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">)</span>
</code></div><p>
</p>
<p>
Note that logical array indexing is forbidden. 
<br />
</p><div class="codeblock"><code>
<span style="color: #007700">&gt;&gt;&nbsp;</span><span style="color: #0000BB">proto</span><span style="color: #007700">.</span><span style="color: #0000BB">lab</span><span style="color: #007700">(</span><span style="color: #0000BB">proto</span><span style="color: #007700">.</span><span style="color: #0000BB">lab</span><span style="color: #007700">==</span><span style="color: #DD0000">'Cluster&nbsp;1'</span><span style="color: #007700">)=</span><span style="color: #DD0000">'Cluster&nbsp;Centroid&nbsp;1'<br /></span><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">subsasgn&nbsp;at&nbsp;11<br />Indices&nbsp;expected<br /><br />Error&nbsp;in&nbsp;</span><span style="color: #007700">==&gt;&nbsp;/</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">sddata</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;25</span>
</code></div><p>
(1) Is there a reason behind?
</p>
<p>
(2) Shouldn&#8217;t it be also good to allow the following syntax:
<br />
</p><div class="codeblock"><code>
<span style="color: #0000BB">proto</span><span style="color: #007700">(</span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">proto</span><span style="color: #007700">.</span><span style="color: #0000BB">lab</span><span style="color: #007700">==</span><span style="color: #DD0000">'Cluster&nbsp;1'</span><span style="color: #007700">)).</span><span style="color: #0000BB">lab</span><span style="color: #007700">=</span><span style="color: #DD0000">'Cluster&nbsp;Centroid&nbsp;1'</span><span style="color: #007700">;</span>
</code></div><p>
or even better with logical indexing:
<br />
</p><div class="codeblock"><code>
<span style="color: #0000BB">proto</span><span style="color: #007700">(</span><span style="color: #0000BB">proto</span><span style="color: #007700">.</span><span style="color: #0000BB">lab</span><span style="color: #007700">==</span><span style="color: #DD0000">'Cluster&nbsp;1'</span><span style="color: #007700">).</span><span style="color: #0000BB">lab</span><span style="color: #007700">=</span><span style="color: #DD0000">'Cluster&nbsp;Centroid&nbsp;1'</span><span style="color: #007700">;</span>
</code></div><p>
Of course here I assume that proto and proto.lab have the same (internal) dimension.
</p>
<p>
Best regards,
</p>
<p>
JM
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Concatenation of label objects</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/278/" />      
      <id>tag:perclass.com,2011:index.php/forums/viewthread/.278</id>
      <published>2011-01-03T10:22:33Z</published>
      <updated></updated>
      <author><name>Jean-Michel</name></author>
      <content type="html">
      <![CDATA[
        <p>Hello,
</p>
<p>
The concatenation of sdlab objects is a nice feature however unwanted/unnecessary white spaces are introduced (probably due to the string concatenation operator).
</p>
<p>
For instance:
<br />
</p><div class="codeblock"><code>
<span style="color: #007700">&gt;&gt;&nbsp;</span><span style="color: #0000BB">&#91;zedataval</span><span style="color: #007700">.</span><span style="color: #0000BB">lab&nbsp;</span><span style="color: #DD0000">'-'&nbsp;</span><span style="color: #0000BB">zedataval</span><span style="color: #007700">*(</span><span style="color: #0000BB">P</span><span style="color: #007700">*</span><span style="color: #0000BB">R</span><span style="color: #007700">)</span><span style="color: #0000BB">&#93;<br />sdlab&nbsp;with&nbsp;452&nbsp;entries</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">4&nbsp;groups</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">'FA&nbsp;&nbsp;-FA'</span><span style="color: #007700">(</span><span style="color: #0000BB">53</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'FA&nbsp;&nbsp;-STOP'</span><span style="color: #007700">(</span><span style="color: #0000BB">7</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'STOP-FA'</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'STOP-STOP'</span><span style="color: #007700">(</span><span style="color: #0000BB">390</span><span style="color: #007700">)</span>
</code></div><p>
</p>
<p>
Is it a desired behavior? If you&#8217;re looking for FA-FA or FA-STOP you won&#8217;t find it easily.
</p>
<p>
To solve this &#8220;issue&#8221; I remove systematically white speces as follows:&nbsp; 
<br />
</p><div class="codeblock"><code>
<span style="color: #007700">&gt;&gt;</span><span style="color: #0000BB">sdlab</span><span style="color: #007700">(</span><span style="color: #0000BB">regexprep</span><span style="color: #007700">(</span><span style="color: #0000BB">cellstr</span><span style="color: #007700">(+(</span><span style="color: #0000BB">&#91;zedataval</span><span style="color: #007700">.</span><span style="color: #0000BB">lab&nbsp;</span><span style="color: #DD0000">'-'&nbsp;</span><span style="color: #0000BB">zedataval</span><span style="color: #007700">*(</span><span style="color: #0000BB">P</span><span style="color: #007700">*</span><span style="color: #0000BB">R</span><span style="color: #007700">)</span><span style="color: #0000BB">&#93;</span><span style="color: #007700">)),</span><span style="color: #DD0000">'&nbsp;'</span><span style="color: #007700">,</span><span style="color: #DD0000">''</span><span style="color: #007700">))<br /></span><span style="color: #0000BB">sdlab&nbsp;with&nbsp;452&nbsp;entries</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">4&nbsp;groups</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">'FA-FA'</span><span style="color: #007700">(</span><span style="color: #0000BB">53</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'FA-STOP'</span><span style="color: #007700">(</span><span style="color: #0000BB">7</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'STOP-FA'</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'STOP-STOP'</span><span style="color: #007700">(</span><span style="color: #0000BB">390</span><span style="color: #007700">)</span>
</code></div><p>
</p>
<p>
However if there are white spaces in the original labels they would be lost.
</p>
<p>
For instance:
<br />
</p><div class="codeblock"><code>
<span style="color: #007700">&gt;&gt;&nbsp;</span><span style="color: #0000BB">a&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">sdlab</span><span style="color: #007700">(</span><span style="color: #DD0000">'class&nbsp;A'</span><span style="color: #007700">);<br />&gt;&gt;&nbsp;</span><span style="color: #0000BB">b&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">sdlab</span><span style="color: #007700">(</span><span style="color: #DD0000">'class&nbsp;BB'</span><span style="color: #007700">);<br />&gt;&gt;&nbsp;</span><span style="color: #0000BB">&#91;&#91;a</span><span style="color: #007700">;</span><span style="color: #0000BB">a</span><span style="color: #007700">;</span><span style="color: #0000BB">a</span><span style="color: #007700">;</span><span style="color: #0000BB">b</span><span style="color: #007700">;</span><span style="color: #0000BB">b</span><span style="color: #007700">;</span><span style="color: #0000BB">b&#93;&nbsp;</span><span style="color: #DD0000">'-'&nbsp;</span><span style="color: #0000BB">&#91;a</span><span style="color: #007700">;</span><span style="color: #0000BB">b</span><span style="color: #007700">;</span><span style="color: #0000BB">a</span><span style="color: #007700">;</span><span style="color: #0000BB">b</span><span style="color: #007700">;</span><span style="color: #0000BB">a</span><span style="color: #007700">;</span><span style="color: #0000BB">b&#93;&#93;<br />sdlab&nbsp;with&nbsp;6&nbsp;entries</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">4&nbsp;groups</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">'class&nbsp;A&nbsp;-class&nbsp;A'</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'class&nbsp;A&nbsp;-class&nbsp;BB'</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'class&nbsp;BB-class&nbsp;A'</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'class&nbsp;BB-class&nbsp;BB'</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">)<br />&gt;&gt;&nbsp;</span><span style="color: #0000BB">sdlab</span><span style="color: #007700">(</span><span style="color: #0000BB">regexprep</span><span style="color: #007700">(</span><span style="color: #0000BB">cellstr</span><span style="color: #007700">(+(</span><span style="color: #0000BB">&#91;&#91;a</span><span style="color: #007700">;</span><span style="color: #0000BB">a</span><span style="color: #007700">;</span><span style="color: #0000BB">a</span><span style="color: #007700">;</span><span style="color: #0000BB">b</span><span style="color: #007700">;</span><span style="color: #0000BB">b</span><span style="color: #007700">;</span><span style="color: #0000BB">b&#93;&nbsp;</span><span style="color: #DD0000">'-'&nbsp;</span><span style="color: #0000BB">&#91;a</span><span style="color: #007700">;</span><span style="color: #0000BB">b</span><span style="color: #007700">;</span><span style="color: #0000BB">a</span><span style="color: #007700">;</span><span style="color: #0000BB">b</span><span style="color: #007700">;</span><span style="color: #0000BB">a</span><span style="color: #007700">;</span><span style="color: #0000BB">b&#93;&#93;</span><span style="color: #007700">)),</span><span style="color: #DD0000">'&nbsp;'</span><span style="color: #007700">,</span><span style="color: #DD0000">''</span><span style="color: #007700">))<br /></span><span style="color: #0000BB">sdlab&nbsp;with&nbsp;6&nbsp;entries</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">4&nbsp;groups</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">'classA-classA'</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'classA-classBB'</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'classBB-classA'</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'classBB-classBB'</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">)</span>
</code></div><p>
In this case it would be nice to have an object having the following labels:
<br />
</p><div class="codeblock"><code>
<span style="color: #0000BB">sdlab&nbsp;with&nbsp;6&nbsp;entries</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">4&nbsp;groups</span><span style="color: #007700">:&nbsp;</span><span style="color: #DD0000">'class&nbsp;A-class&nbsp;A'</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'class&nbsp;A-class&nbsp;BB'</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'class&nbsp;BB-class&nbsp;A'</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;</span><span style="color: #DD0000">'class&nbsp;BB-class&nbsp;BB'</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">)</span>
</code></div><p>
i.e. having an object conserving original spaces and not introducing new ones.
</p>
<p>
To me this is not really a bug but it can be an annoying behavior that may be solved by e.g., the implementation of extra concatenation options :-)
</p>
<p>
Best regards,
</p>
<p>
Jean-Michel
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>cosine distance mapping</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/271/" />      
      <id>tag:perclass.com,2010:index.php/forums/viewthread/.271</id>
      <published>2010-12-24T12:27:07Z</published>
      <updated></updated>
      <author><name>Jean-Michel</name></author>
      <content type="html">
      <![CDATA[
        <p>Dear PRSD Studio team,
</p>
<p>
I really enjoy the new similarity measure in PRSD namely the spectral angle mapper distance.
<br />
However for computation complexity reasons I would appreciate to have the cosine distance implemented as well. This is yielding (in my case at least) almost the same classification performance but it seems a bit cheaper to compute
</p>
<p>
Dcos(A,B) is defined as 1-AB&#8217;/(||A||.||B||) in PRTools
<br />
and Dsam(A,B) = acos(AB&#8217;/(||A||.||B||)) if I refer myself to Pavel&#8217;s publication.
</p>
<p>
Best regards,
</p>
<p>
Jean-Michel
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>getname for sdClassifiers</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/219/" />      
      <id>tag:perclass.com,2010:index.php/forums/viewthread/.219</id>
      <published>2010-07-21T11:16:27Z</published>
      <updated></updated>
      <author><name>Carlas</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi Pavel,
</p>
<p>
For plotting purposes I would like to obtain the name of sdClassifiers:
</p>
<p>
getname(sdlinear)
<br />
ans =
</p>
<p>
     &#8216;&#8217;
<br />
getname(ldc)
<br />
ans =
</p>
<p>
Bayes-Normal-1
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>More criteria in sdfeatsel</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/212/" />      
      <id>tag:perclass.com,2010:index.php/forums/viewthread/.212</id>
      <published>2010-06-29T15:36:33Z</published>
      <updated></updated>
      <author><name>Jean-Michel</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi,
</p>
<p>
I find the floating search very useful but it would be nice to be able to evaluate another classifier than the default one (1-NN). 
</p>
<p>
best regards,
</p>
<p>
JM
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>More info in sdscater titles</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/208/" />      
      <id>tag:perclass.com,2010:index.php/forums/viewthread/.208</id>
      <published>2010-06-28T10:26:38Z</published>
      <updated></updated>
      <author><name>Jean-Michel</name></author>
      <content type="html">
      <![CDATA[
        <p>Dear PRSD team,
</p>
<p>
Would it be possible to make more information available on demand in the title of the sdscatter figrue? 
<br />
Until now I can only see the property which is setup using the scatter toolbar.
</p>
<p>
For instance if I&#8217;m referring to machine condition monitoring it would be nice to see at the same time the machine condition i.e. the class (OK/NOT OK) + the machine group + for instance the time stamp (among other properties).
</p>
<p>
Thanks in advance
</p>
<p>
cheers
</p>
<p>
JM
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>how can i creat dataset of 29 image&#63;</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/97/" />      
      <id>tag:perclass.com,2009:index.php/forums/viewthread/.97</id>
      <published>2009-09-13T06:37:44Z</published>
      <updated>2009-09-14T09:39:12Z</updated>
      <author><name>jahansedaghat</name></author>
      <content type="html">
      <![CDATA[
        <p>I HAVE 29 texture images and i want to put all of these in a .mat file like this <a href="http://perclass.com/index.php?URL=http%3A%2F%2Fifile.it%2Fuehg2qd%2Ftexturet.mat">http://ifile.it/uehg2qd/texturet.mat</a>   please help me. you can see these pictures by:
<br />
&gt;&gt; load texturet
<br />
&gt;&gt;show(a,7)
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>dataset.m renaming into prdataset</title>
      <link rel="alternate" type="text/html" href="http://perclass.com/index.php/forums/viewthread/80/" />      
      <id>tag:perclass.com,2009:index.php/forums/viewthread/.80</id>
      <published>2009-08-06T18:12:25Z</published>
      <updated>2009-08-06T18:13:22Z</updated>
      <author><name>sascha</name></author>
      <content type="html">
      <![CDATA[
        <p>matlab&#8217;s statistic toolbox defines a class dataset which yields errors due to class redefinition conflicts e.g. within boxplot.m in matlab 2009a
</p>
      ]]>
      </content>
    </entry>


</feed>
