<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LDA cross-validation in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/269168#M52402</link>
    <description>&lt;P&gt;Dear Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for responding so quickly and sorry for a naive question - but where do I find this 'Validation role' in the LDA platform? I'm quite new to JMP, and not everything is clear to me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only thing I found is the option on the main tab where I select variables for LDA. There I can tick the box 'Validate by excluded rows' which selects Train/Test data based on the validation column I've created. But this offers only a one-off split based on this column, not any iterative validation options (like leave-one-out or k-folds or Monte Carlo I'd like to run). But again, maybe I'm missing something very obvious here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't want to duplicate the posts, sorry about that! I wasn't sure if anyone will answer to my response to a very old post!&lt;/P&gt;</description>
    <pubDate>Wed, 27 May 2020 17:01:12 GMT</pubDate>
    <dc:creator>mkachl01</dc:creator>
    <dc:date>2020-05-27T17:01:12Z</dc:date>
    <item>
      <title>LDA cross-validation</title>
      <link>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/37349#M21917</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm a new user of JMP (JMP 13.1.0). I have a question please: Is it possible to perform an linear discriminant analysis with cross-validation (leave-one-out method) in this version of the software?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Adias&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 18:17:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/37349#M21917</guid>
      <dc:creator>Adias</dc:creator>
      <dc:date>2017-03-17T18:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: LDA cross-validation</title>
      <link>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/37911#M22197</link>
      <description>&lt;P&gt;Leave-one-out cross validation is not available in LDA, but it is in JMP Pro's GenReg. If your outcome is binary and you have JMP Pro, consider running a logistic regression&amp;nbsp;from GenReg, which is considered as an alternative approach to LDA and is often preferred.&amp;nbsp;&lt;A href="http://www.jstor.org/stable/2286261?seq=1#page_scan_tab_contents" target="_blank"&gt;http://www.jstor.org/stable/2286261?seq=1#page_scan_tab_contents&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 20:01:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/37911#M22197</guid>
      <dc:creator>jiancao</dc:creator>
      <dc:date>2017-04-07T20:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: LDA cross-validation</title>
      <link>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/37934#M22212</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need JMP Pro 13 to run Discriminant Analysis and Leave-one-out cross-validation is an option there as well. &amp;nbsp;You would run&amp;nbsp;this through the Fit Model platform.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2017 12:11:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/37934#M22212</guid>
      <dc:creator>Bill_Worley</dc:creator>
      <dc:date>2017-04-10T12:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: LDA cross-validation</title>
      <link>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/51036#M28978</link>
      <description>&lt;P&gt;Hello:&amp;nbsp; There are other great features in the discriminant platform like regularized discriminant analysis, canonical plots, interpretation of dimensions, etc.&amp;nbsp; If I want to stay in the discriminant platform and perform leave-one-out validation what are the choices?&lt;/P&gt;</description>
      <pubDate>Sat, 10 Feb 2018 16:44:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/51036#M28978</guid>
      <dc:creator>AN1</dc:creator>
      <dc:date>2018-02-10T16:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: LDA cross-validation</title>
      <link>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/66370#M34407</link>
      <description>&lt;P&gt;Within the Discriminant platform there is not a way to get leave-one-out validation. Within the Discriminant platform in JMP 14, there is an option "Cross Validate by Excluded Rows". In JMP Pro, you can create a Validation column with no more than 3 values to be used for Training, Validation, and Test sets. &lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 15:51:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/66370#M34407</guid>
      <dc:creator>susan_walsh1</dc:creator>
      <dc:date>2018-08-03T15:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: LDA cross-validation</title>
      <link>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/268969#M52351</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to validate my LDA analysis, but I can't seem to find the "&lt;SPAN&gt;Cross Validate by Excluded Rows" option in my JMP15 (not PRO). Could you please help me to navigate and find that function?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have already prepared a Validation Column and Excluded appropriate rows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 16:30:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/268969#M52351</guid>
      <dc:creator>mkachl01</dc:creator>
      <dc:date>2020-05-26T16:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: LDA cross-validation</title>
      <link>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/269132#M52394</link>
      <description>&lt;P&gt;The Discriminant platform in JMP Pro provides the Validation role to which you can assign the validation data column that you created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Please do not start another discussion when you do not get an answer right away.)&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 14:48:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/269132#M52394</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-05-27T14:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: LDA cross-validation</title>
      <link>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/269168#M52402</link>
      <description>&lt;P&gt;Dear Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for responding so quickly and sorry for a naive question - but where do I find this 'Validation role' in the LDA platform? I'm quite new to JMP, and not everything is clear to me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only thing I found is the option on the main tab where I select variables for LDA. There I can tick the box 'Validate by excluded rows' which selects Train/Test data based on the validation column I've created. But this offers only a one-off split based on this column, not any iterative validation options (like leave-one-out or k-folds or Monte Carlo I'd like to run). But again, maybe I'm missing something very obvious here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't want to duplicate the posts, sorry about that! I wasn't sure if anyone will answer to my response to a very old post!&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 17:01:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/269168#M52402</guid>
      <dc:creator>mkachl01</dc:creator>
      <dc:date>2020-05-27T17:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: LDA cross-validation</title>
      <link>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/269169#M52403</link>
      <description>&lt;P&gt;Select Analyze &amp;gt; Multivariate Methods &amp;gt; Discriminant. You will see a button to assign the column to the Validate role.&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 17:03:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/269169#M52403</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-05-27T17:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: LDA cross-validation</title>
      <link>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/269253#M52425</link>
      <description>Thank you! I don't know how I missed that!&lt;BR /&gt;&lt;BR /&gt;But, apart from being easier to use, doesn't it have the same effect as the function "Validate by excluding rows" mentioned earlier? Is that right?&lt;BR /&gt;&lt;BR /&gt;Maybe I'm doing something wrong, but it looks like I can use only one validation column at the time and 'Validation role' doesn't give me any option to select the validation method or generate multiple validation columns without repetition in the test set (i.e., so that the variable selected as Test in the first column will not be selected anymore in the following validation columns). Is it possible to do that in JMP?&lt;BR /&gt;&lt;BR /&gt;Once again, sorry for posting such naive questions, but I got totally lost in this!</description>
      <pubDate>Wed, 27 May 2020 20:24:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/269253#M52425</guid>
      <dc:creator>mkachl01</dc:creator>
      <dc:date>2020-05-27T20:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: LDA cross-validation</title>
      <link>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/269338#M52437</link>
      <description>&lt;P&gt;It is similar to excluding rows, but you can also specify a hold out set for testing the selected model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can create multiple data columns for the validation role, but you can only use one at a time. The idea is that once you decide on the size of the hold out sets, any of them are equally useful. Also, you can use the same validation column in more than one modeling platform for a fair and valid comparison of models. Why would you need more than one validation column? How would you use multiple validation columns?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not know what you mean by "option to select the validation method." There is only one cross-validation method with hold out sets represented by the Validation analysis role.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 11:43:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/269338#M52437</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-05-28T11:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: LDA cross-validation</title>
      <link>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/269386#M52450</link>
      <description>&lt;P&gt;I see, thanks a lot for explaining this!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By 'validation options' I meant different methods of validating the models like k-fold or Monte Carlo cross-validation explained here:&amp;nbsp;&lt;A href="https://www.statisticshowto.com/cross-validation-statistics/" target="_blank"&gt;https://www.statisticshowto.com/cross-validation-statistics/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I understand, to run 5-fold cross-validation, I'd need to have five validation columns. Each column would represent the 80-20 split, but where the 20% dedicated for the test in each of the 5 folds is different every time. Is there a way I can do this in JMP?&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 15:47:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/269386#M52450</guid>
      <dc:creator>mkachl01</dc:creator>
      <dc:date>2020-05-28T15:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: LDA cross-validation</title>
      <link>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/269394#M52453</link>
      <description>&lt;P&gt;JMP provides K-fold cross-validation in some platforms but not all of them. You would have to implement your own version of it. Here is one way to do it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a new data column called &lt;STRONG&gt;Fold&lt;/STRONG&gt;&amp;nbsp;that uses the Nominal modeling type and with a formula of &lt;STRONG&gt;Random Integer( 1, 5 )&lt;/STRONG&gt;. This column will identify the five folds for you.&lt;/LI&gt;
&lt;LI&gt;Create a series of five more data columns called &lt;STRONG&gt;Validation i&lt;/STRONG&gt;, also using the Nominal modeling type, and each with a formula of &lt;STRONG&gt;Fold == i&lt;/STRONG&gt;, where &lt;STRONG&gt;i&lt;/STRONG&gt; changes from 1 to 5 as you go from the first to the last of these new columns.&lt;/LI&gt;
&lt;LI&gt;Launch the Discriminant platform five times using the succession of &lt;STRONG&gt;Validation i&lt;/STRONG&gt; columns in the Validation analysis role.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;You should have new columns for 5-fold cross-validation in your data table like this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture 1.JPG" style="width: 431px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/24214i202875B47271E164/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture 1.JPG" alt="Capture 1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This first iteration of your model fitting might look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture 2.JPG" style="width: 235px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/24215i0AF4A76358625C82/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture 2.JPG" alt="Capture 2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use the cross-validation information for each of the folds, such as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture 3.JPG" style="width: 449px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/24216iB4DA2D7E42493DCA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture 3.JPG" alt="Capture 3.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can then combine the five sets of results into the overall training and validation results as you see fit such as described in your cited reference.&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 16:45:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/269394#M52453</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-05-28T16:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: LDA cross-validation</title>
      <link>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/269986#M52551</link>
      <description>That's exactly what I was looking for, thank you so much for this!</description>
      <pubDate>Mon, 01 Jun 2020 08:54:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/LDA-cross-validation/m-p/269986#M52551</guid>
      <dc:creator>mkachl01</dc:creator>
      <dc:date>2020-06-01T08:54:19Z</dc:date>
    </item>
  </channel>
</rss>

