<?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: Neural nets_validation sets get higher model fits than training sets in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241490#M47712</link>
    <description>&lt;P&gt;Dear Mr. Bailey,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thanks. I have one more question:&amp;nbsp; can we use K-fold cross-validation with standard least squares regression in JMP?&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jan 2020 09:00:15 GMT</pubDate>
    <dc:creator>Adele</dc:creator>
    <dc:date>2020-01-16T09:00:15Z</dc:date>
    <item>
      <title>Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241112#M47613</link>
      <description>&lt;P&gt;Problem: Why my validation sets worked better than the training sets?&lt;/P&gt;&lt;P&gt;Data: 200 data points; 90% for training and 10% for validation&lt;/P&gt;&lt;P&gt;Statistical:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 1. make validation column&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Make Validation Column(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Training Set( 0.90 ),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Validation Set( 0.10 ),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Test Set( 0.00 ),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Formula Random);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 2. neural nets:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;one hidden layer, 3 nodes TanH&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Boosting: number of models (10), learning rate (0.1)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fitting options: Number of Tours( 10 )&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 3. the above steps were repeated for 1000 times&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 4. calculate the mean of the R squares for training sets and validation sets&lt;/P&gt;&lt;P&gt;Description of the problems:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; The mean R square for the validation sets was much bigger than that of the training sets. Why would that happen? We even tried without a penalty method, the validation sets still worked better than the training.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; How does JMP optimize the estimates parameters for the validation sets?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Why this is not the case if we use bootstrap forests? i.e., for bootstrap forests, training sets worked better than the validation sets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 14:35:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241112#M47613</guid>
      <dc:creator>Adele</dc:creator>
      <dc:date>2020-01-14T14:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241125#M47615</link>
      <description>&lt;P&gt;You are right that this is not a typical result - although it can and does happen.&amp;nbsp; I suspect, in this case, that it is predominantly the result of your initial split.&amp;nbsp; A 10% validation set, particularly with such small number of observations, means that the validation results are for a model applied to a very small number of data points.&amp;nbsp; Neural networks may compound the problem, but even an OLS model will do a good job of fitting 20 data points.&amp;nbsp; I believe if you change the training/validation split to 70%/30% (and particularly if you also have more data) that this anomaly will disappear.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 14:40:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241125#M47615</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2020-01-14T14:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241128#M47617</link>
      <description>&lt;P&gt;Please confirm my understanding of your study. You re-assigned rows to the training and validation hold out sets before each of the 1000 training events?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;JMP does not optimize the training for the validation hold out set. It only evaluates the validation hold out set after the training is complete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the mean and standard deviation of the R square sample statistics for the training and validation hold out sets?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the nature of the response? Is it continuous? Is it categorical? If so, how many levels in the response?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 14:48:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241128#M47617</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-01-14T14:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241129#M47618</link>
      <description>&lt;P&gt;I forgot to mention that K-fold cross-validation is specifically for cases with small sample sizes. Did you try this method instead of a validation hold out set?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 14:50:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241129#M47618</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-01-14T14:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241137#M47620</link>
      <description>&lt;P&gt;Thank you. To further explain my study:&lt;/P&gt;&lt;P&gt;For each iteration I used a new splitting in training and validation set.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are the results for training and validation: mean &lt;EM&gt;R2train&lt;/EM&gt; = .58, &lt;EM&gt;SDtrain&lt;/EM&gt; = .09; &amp;nbsp;mean &lt;EM&gt;R2val&lt;/EM&gt; = .71, &lt;EM&gt;SDval&lt;/EM&gt; = .12&lt;/P&gt;&lt;P&gt;The response parameter is a continuous variable.&lt;/P&gt;&lt;P&gt;The pattern is the same for a 70%/30% splitting.&amp;nbsp;So, I did not really understand what happens in validation. There should be more than just testing the model?&lt;/P&gt;&lt;P&gt;For example, when I use a 3-step procedure (training, validation and test), mean R square for validation sets is again higher than that for training, while there is a drop down for test. So what is the difference between test and validation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 16:24:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241137#M47620</guid>
      <dc:creator>Adele</dc:creator>
      <dc:date>2020-01-14T16:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241138#M47621</link>
      <description>&lt;P&gt;How many features do you have?&amp;nbsp; I am still suspicious about the small sample size.&amp;nbsp; Notice that both the R-square and Std dev are larger for the validation data.&amp;nbsp; I think, if you have enough features, that you can get a good "fit" to the relatively small validation set (even with 30% split) that will not carry over to the test data.&amp;nbsp; Perhaps mbailey can shed some light on this - but my impression is that the validation data is used in tuning the neural net, so it is not the same as the test data which is not at all used in the modeling process.&amp;nbsp; So, with few data points and enough features, you can fit the validation data very well, but with poor performance on the test data.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 15:21:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241138#M47621</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2020-01-14T15:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241140#M47623</link>
      <description>&lt;P&gt;The training set is used to estimate the model parameters.The validation set is used to select from the candidate models. The test set is used to assess the selected model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I agree with&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/1701"&gt;@dale_lehman&lt;/a&gt;&amp;nbsp;that your data set is too small to use the hold-out cross-validation method. I recommend K-fold cross-validation.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 15:37:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241140#M47623</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-01-14T15:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241142#M47625</link>
      <description>&lt;P&gt;Thank you for your suggestions. We have seven features to be used as the predictors. And in some cases the Std is not bigger for the validation sets: mean R2train = .56, SDtrain = .11; mean R2val = .70, SDval = .11.&lt;/P&gt;&lt;P&gt;And we also tried with twelve predictors. The patterns of our results are the same: the mean R squares of the validation sets from 1000 iterations were always bigger than that of the training sets.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 16:34:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241142#M47625</guid>
      <dc:creator>Adele</dc:creator>
      <dc:date>2020-01-14T16:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241143#M47626</link>
      <description>&lt;P&gt;If I understand your description then I am a bit puzzled.&amp;nbsp; By 1000 iterations, do you mean you ran the neural net on 1000 random splits of the data set?&amp;nbsp; If so, then I think it is strange if every one of those splits resulted in better performance on the validation data than on the training data.&amp;nbsp; My concerns about the sample size and number of features would account for a number (even many) of the iterations behaving that way, but probably not all 1000.&amp;nbsp; If I am understanding you correctly, then it may be something particular to your data and the particular features you have.&amp;nbsp; If you are willing to post the data, I might be able to help more, but I think this exhausts my thoughts based on what you have said - unless I do not understand what you have done.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 16:46:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241143#M47626</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2020-01-14T16:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241148#M47628</link>
      <description>&lt;P&gt;I am not sure but I think that the claim is not of superiority. It is based on the difference in the mean R square between the training and the validation sets. In fact, one can't be superior because the sampling distributions overlap. Using a normal distribution to approximate the sampling distribution of R square, I get these two graphs of the normal PDF using the stated distribution parameter values:&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.JPG" style="width: 694px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/20947iE837DA9DABDF40C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: I know that R square is not normally distributed because of its bounds [0,1] but this case is far enough away from both boundaries for the approximation to work well enough.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 17:14:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241148#M47628</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-01-14T17:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241153#M47630</link>
      <description>&lt;P&gt;&amp;nbsp; &amp;nbsp; Thanks for the suggestions. Yes, 1000 iterations mean that we have 1000 random splits of the data set. And it is true that the R squares for the validation sets are not always bigger than the training sets (see the Figure). But the mean of the R squares oth the validation sets is always bigger than that of the training sets for all our response parameters. I am doing the analyses with k-fold now. Let's see what would happen.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; As Mr. Bailey mentioned:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "The training set is used to estimate the model parameters. The validation set is used to select from the candidate models. The test set is used to assess the selected model."&lt;/P&gt;&lt;P&gt;I have two questions related to the above sentences:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In the process of training, how many candidates would be prepared? How do the candidates calculate? Is it decided by the boosting – “fit an additive sequence of models scaled by the learning rate”?&lt;/LI&gt;&lt;LI&gt;How does the software choose the best candidate? What is the criterion for the best candidate? Is it the candidate which gives the best R Square for the validation sets?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; As for the k-fold, I also have two questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If we have 200 data points and we used a division of 90%/10% for the training and validation set (no overlap), then we will probably get a training set of 180 data points and a validation set of 20 data points. This is the same if we use a 10-fold validation method. Is that right? What is the difference between k-fold validation and 90%/10% validation?&lt;/LI&gt;&lt;LI&gt;In the K-fold cross-validation, again what is the criterion for the best candidate? How could find the optimized model? Is it the same method as for the 90%/10% validation?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;In the manual I read “When K-fold crossvalidation is used, the procedure described is applied to each of the K training-holdback partitions of the data for each trial value of the penalty parameter. After the model has been fit to all the folds, the validation set likelihood is &lt;STRONG&gt;summed &lt;/STRONG&gt;across the folds using each of the individual fold's parameter estimates. This is the value that is optimized in the selection of the penalty parameter. The fold whose parameter estimates give the best value on the complete dataset are the parameter estimates that are kept and used by the platform. The training-holdback pair that led to the model that was the best are the pair whose model diagnostics are given in the report.” &amp;nbsp;Does this mean that model which has the biggest &lt;STRONG&gt;summed likelihood&lt;/STRONG&gt; is the best?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thank you again.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Graph Builder.jpg" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/20948iE12439C52ACCC890/image-size/large?v=v2&amp;amp;px=999" role="button" title="Graph Builder.jpg" alt="Graph Builder.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 18:55:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241153#M47630</guid>
      <dc:creator>Adele</dc:creator>
      <dc:date>2020-01-14T18:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241275#M47659</link>
      <description>&lt;P&gt;Thank you for your suggestions. We tried k-fold, and it works better in our case. However, new problems come out: how could we do k-fold cross-validation for bootstrap forests?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 12:53:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241275#M47659</guid>
      <dc:creator>Adele</dc:creator>
      <dc:date>2020-01-15T12:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241335#M47668</link>
      <description>&lt;P&gt;You cannot use K-fold cross-validation with Bootstrap Forest model selection in JMP. You can only use hold-out sets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Remember that most predictive model types are intended for large data sets. You might do as well with multiple regression in your case if the data meet the model assumptions.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 14:34:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241335#M47668</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-01-15T14:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241368#M47676</link>
      <description>&lt;P&gt;Thank you. Yes, I only found the scripts below. But I could not combine it with the bootstrap forest model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;obj = Open( "$SAMPLE_DATA/Car Poll.jmp" ) &amp;lt;&amp;lt; Partition(
	Y( :country ),
	X( :sex, :marital status, :age, :type, :size )
);

obj &amp;lt;&amp;lt; K Fold Crossvalidation( 5 );

obj &amp;lt;&amp;lt; Go;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much for your helping.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 16:57:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241368#M47676</guid>
      <dc:creator>Adele</dc:creator>
      <dc:date>2020-01-15T16:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241490#M47712</link>
      <description>&lt;P&gt;Dear Mr. Bailey,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thanks. I have one more question:&amp;nbsp; can we use K-fold cross-validation with standard least squares regression in JMP?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 09:00:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241490#M47712</guid>
      <dc:creator>Adele</dc:creator>
      <dc:date>2020-01-16T09:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241528#M47719</link>
      <description>&lt;P&gt;No, the Fit Least Squares platform in JMP does not provide any cross-validation. The Generalized Regression platform in JMP Pro, which includes the standard linear regression model, provides both hold-out cross-validation in the launch dialog box and K-fold cross-validation as a platform validation option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might consider using AICc for model selection in place of cross-validation because of the small sample size.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might also consider using open source software if it provides the flexibility you demand. You can connect to R or Python, for example, with JMP and work with both software.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 13:22:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241528#M47719</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-01-16T13:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241550#M47723</link>
      <description>&lt;P&gt;JMP Pro does offer k-fold for regression analysis under the Stepwise Platform. It is used to determine which terms to keep in the model. From the JMP Documentation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;K-Fold Crossvalidation (Available only for continuous responses.) Performs K-Fold cross validation in the selection process. When selected, this option enables the Max K-Fold RSquare stopping rule (“Stepwise Regression Control Panel” on page 250). For more&lt;BR /&gt;information about validation, see “Using Validation” on page 275.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 14:34:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/241550#M47723</guid>
      <dc:creator>Dan_Obermiller</dc:creator>
      <dc:date>2020-01-16T14:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/242278#M47838</link>
      <description>&lt;P&gt;Dear Mr. Bailey,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; As recommended, I used k-fold cross-validation with neural nets and stepwise regression (enter all). I wrote a loop and ran each analysis for 100 times. The results show that the mean R squares for the validation sets are not higher than that of the training sets.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Now I am wondering why K-fold cross-validation works better with small sample sizes and why holdout validation with neural nets will get awkward result, i.e., validation sets get higher mean R squares. What is the theoretical or the mathematical reason?&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Thank you.&amp;nbsp;Sorry for bothering you again.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 10:27:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/242278#M47838</guid>
      <dc:creator>Adele</dc:creator>
      <dc:date>2020-01-22T10:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Neural nets_validation sets get higher model fits than training sets</title>
      <link>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/242295#M47842</link>
      <description>&lt;P&gt;You are not bothering anyone here! Questions like yours are one of the main reasons for having the Discussions area in the JMP Community! On the other hand, some discussions might be beyond the scope or capability of this format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: we are discussing &lt;EM&gt;predictive models&lt;/EM&gt;, not &lt;I&gt;explanatory models&lt;/I&gt;. As such, we only care about the ability of the model to predict the future. The future is unavailable while &lt;I&gt;training&lt;/I&gt; the model and selecting a model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cross-validation of any kind is not the result of a theory. It is a solution to the problem of how to perform an&amp;nbsp;&lt;I&gt;honest assessment&lt;/I&gt; of the performance of models before and after selecting one model. The hold out set approach was developed first for cases of large data sets. Inference is not helpful to model selection in such cases. The future is not available. What to do? Set aside, or hold out, a portion of the data (&lt;I&gt;validation&lt;/I&gt;). These data are not available to the training procedure. Then apply the fitted model to the hold out set to obtain model predictions. How did the model do? How do other models do?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since the validation data was used to select the model, some modelers hold out a third portion (&lt;I&gt;test&lt;/I&gt;) to evaluate the selected model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cross-validation is a very good solution but relies on the large size of the original set of observations. What to do when the sample size is small? The K-fold approach was developed specifically for such cases. Some modelers take it to the extreme and set K to the sample size. This version is known as '&lt;I&gt;leave one out&lt;/I&gt;.' It works better than hold out sets in such cases because you are using the data more efficiently.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 12:40:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Neural-nets-validation-sets-get-higher-model-fits-than-training/m-p/242295#M47842</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-01-22T12:40:09Z</dc:date>
    </item>
  </channel>
</rss>

