cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
%3CLINGO-SUB%20id%3D%22lingo-sub-751578%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E7%95%99%E4%B8%80%E6%B3%95%E6%88%96k%E6%8A%98%E4%BA%A4%E5%8F%89%E9%A9%97%E8%AD%89%E6%96%B9%E6%B3%95%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-751578%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E5%80%91%E6%94%B6%E5%88%B0%E5%AF%A9%E7%A8%BF%E8%80%85%E6%84%8F%E8%A6%8B%E5%A6%82%E4%B8%8B%EF%BC%9A%3C%2FP%3E%3CP%3E%3CSPAN%3E%E7%82%BA%E4%BA%86%E7%A2%BA%E8%AA%8D%E6%88%AA%E6%AD%A2%E5%80%BC%E7%9A%84%E6%95%88%E7%94%A8%EF%BC%8C%E9%9C%80%E8%A6%81%E9%80%B2%E8%A1%8C%E9%A9%97%E8%AD%89%E3%80%82%E7%84%B6%E8%80%8C%EF%BC%8C%E5%9C%A8%E9%80%99%E5%80%8B%E9%9A%8A%E5%88%97%E4%B8%AD%EF%BC%8C%E6%B2%92%E6%9C%89%E9%80%B2%E8%A1%8C%E9%A9%97%E8%AD%89%E5%88%86%E6%9E%90%E3%80%82%E7%94%B1%E6%96%BC%E6%A8%A3%E6%9C%AC%E9%87%8F%E8%BC%83%E5%B0%8F%EF%BC%8C%E5%BE%88%E9%9B%A3%E9%80%B2%E8%A1%8C%E5%A4%96%E9%83%A8%E9%A9%97%E8%AD%89%E7%A0%94%E7%A9%B6%E3%80%82%E7%84%B6%E8%80%8C%EF%BC%8C%E5%85%A7%E9%83%A8%E9%A9%97%E8%AD%89%EF%BC%88%E6%88%96%E4%BA%A4%E5%8F%89%E9%A9%97%E8%AD%89%EF%BC%89%E5%88%86%E6%9E%90%E5%8F%AF%E8%83%BD%E5%8F%AF%E4%BB%A5%E9%80%8F%E9%81%8E%E7%95%99%E4%B8%80%E6%B3%95%E6%88%96%20k%20%E6%8A%98%E4%BA%A4%E5%8F%89%E9%A9%97%E8%AD%89%E6%96%B9%E6%B3%95%E7%AD%89%E7%B5%B1%E8%A8%88%E6%96%B9%E6%B3%95%E9%80%B2%E8%A1%8C%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%20%3C%2FP%3E%3CP%3E%3CSPAN%3E%E6%88%91%E7%84%A1%E6%B3%95%E7%90%86%E8%A7%A3%E5%AF%A9%E7%A8%BF%E4%BA%BA%E6%83%B3%E8%A6%81%E7%9A%84%E7%B5%B1%E8%A8%88%E6%96%B9%E6%B3%95%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%E4%BD%A0%E8%83%BD%E7%94%A8JMP%E8%A7%A3%E6%B1%BA%E9%80%99%E5%80%8B%E5%95%8F%E9%A1%8C%E5%97%8E%EF%BC%9F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-751578%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3E%E8%A6%96%E7%AA%97%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-751691%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E8%A6%86%EF%BC%9A%E7%95%99%E4%B8%80%E6%B3%95%E6%88%96k%E6%8A%98%E4%BA%A4%E5%8F%89%E9%A9%97%E8%AD%89%E6%96%B9%E6%B3%95%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-751691%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F56941%22%20target%3D%22_blank%22%3E%40Marimo%3C%2FA%3E%20%2C%3C%2FP%3E%0A%3CP%3E%E7%95%99%E4%B8%80%E6%B3%95%E6%98%AF%20k%20%E9%87%8D%E4%BA%A4%E5%8F%89%E9%A9%97%E8%AD%89%E7%9A%84%E4%B8%80%E7%A8%AE%E7%89%88%E6%9C%AC%EF%BC%8C%E5%85%B6%E4%B8%AD%E8%B3%87%E6%96%99%E9%9B%86%E4%B8%AD%E7%9A%84%E6%89%80%E6%9C%89%E8%A1%8C%E4%B8%80%E6%AC%A1%E4%B8%80%E6%AC%A1%E7%94%A8%E4%BD%9C%E9%A9%97%E8%AD%89%E3%80%8C%E9%9B%86%E3%80%8D%E3%80%82%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E4%BE%8B%E5%A6%82%EF%BC%8C%E5%A6%82%E6%9E%9C%E6%82%A8%E7%9A%84%E8%B3%87%E6%96%99%E9%9B%86%E4%B8%AD%E6%9C%89%2020%20%E8%A1%8C%EF%BC%8C%E6%82%A8%E5%8F%AF%E4%BB%A5%E6%8E%A1%E7%94%A8%20k%20%E5%80%8D%205%20%E4%BA%A4%E5%8F%89%E9%A9%97%E8%AD%89%EF%BC%8C%E9%80%99%E5%B0%87%E4%BD%BF%E7%94%A8%2020%25%20%E7%9A%84%E8%B3%87%E6%96%99%205%20%E6%AC%A1%E3%80%82%E5%9C%A8%E9%80%99%E7%A8%AE%E6%83%85%E6%B3%81%E4%B8%8B%EF%BC%8C%E5%B0%87%E6%9C%89%204%20%E8%A1%8C%E7%94%A8%E6%96%BC%E4%BA%A4%E5%8F%89%E9%A9%97%E8%AD%89%EF%BC%8C16%20%E8%A1%8C%E7%94%A8%E6%96%BC%E8%A8%93%E7%B7%B4%E3%80%82%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E6%AF%8F%2020%25%20%E7%9A%84%E4%BA%BA%E9%83%BD%E4%BD%BF%E7%94%A8%E4%B8%80%E7%A8%AE%E7%A8%B1%E7%82%BA%E6%94%BE%E5%9B%9E%E6%8A%BD%E6%A8%A3%E7%9A%84%E6%96%B9%E6%B3%95%E4%BE%86%E5%98%97%E8%A9%A6%E7%A2%BA%E4%BF%9D%E6%89%80%E6%9C%89%E8%B3%87%E6%96%99%E9%83%BD%E5%8C%85%E5%90%AB%E5%9C%A8%205%20%E5%80%8B%20k%20%E6%8A%98%E7%96%8A%E4%B9%8B%E4%B8%80%E4%B8%AD%E3%80%82%E6%AD%A4%E7%AF%84%E4%BE%8B%E4%B8%AD%E7%9A%84%E5%8F%A6%E4%B8%80%E5%80%8B%E9%81%B8%E9%A0%85%E6%98%AF%E9%80%B2%E8%A1%8C%20k%20%E5%80%8D%2020%EF%BC%8C%E7%84%B6%E5%BE%8C%E4%BD%BF%E7%94%A8%E8%B3%87%E6%96%99%E9%9B%86%E7%9A%84%E6%AF%8F%E4%B8%80%E8%A1%8C%E4%BD%9C%E7%82%BA%E9%A9%97%E8%AD%89%E9%9B%86%E3%80%82%E6%8A%98%E7%96%8A%E6%95%B8%E8%B6%8A%E9%AB%98%EF%BC%8C%E7%94%A8%E6%96%BC%E4%BA%A4%E5%8F%89%E9%A9%97%E8%AD%89%E7%9A%84%E8%B3%87%E6%96%99%E7%99%BE%E5%88%86%E6%AF%94%E5%B0%B1%E8%B6%8A%E4%BD%8E%E3%80%82%20K%20%E6%8A%98%E4%BA%A4%E5%8F%89%E9%A9%97%E8%AD%89%E5%8F%AF%E5%9C%A8%20JMP%20%E7%9A%84%E5%A4%A7%E5%A4%9A%E6%95%B8%E5%B9%B3%E5%8F%B0%E4%B8%AD%E6%89%BE%E5%88%B0%E3%80%82%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E5%8F%A6%E4%B8%80%E7%A8%AE%E9%81%B8%E6%93%87%E6%98%AF%E4%BD%BF%E7%94%A8%E5%83%8F%20Bootstrap%20Forest%20%E9%80%99%E6%A8%A3%E7%9A%84%E6%96%B9%E6%B3%95%EF%BC%8C%E8%A9%B2%E6%96%B9%E6%B3%95%E5%9C%A8%E6%BC%94%E7%AE%97%E6%B3%95%E4%B8%AD%E5%85%A7%E5%BB%BA%E4%BA%86%E6%9B%BF%E6%8F%9B%E6%8E%A1%E6%A8%A3%E3%80%82%E6%82%A8%E9%9C%80%E8%A6%81%20JMP%20Pro%20%E6%89%8D%E8%83%BD%E5%85%85%E5%88%86%E5%88%A9%E7%94%A8%E8%A9%B2%E5%B9%B3%E5%8F%B0%E3%80%82%20Bootstrap%20Forest%20%E9%80%8F%E9%81%8E%E4%BD%BF%E7%94%A8%E4%B8%8D%E5%90%8C%E7%9A%84%E8%B3%87%E6%96%99%E5%AD%90%E9%9B%86%E4%BE%86%E5%BB%BA%E7%AB%8B%E8%A8%B1%E5%A4%9A%E8%BC%83%E5%B0%8F%E7%9A%84%E6%A8%A1%E5%9E%8B%EF%BC%88%E6%A8%B9%EF%BC%89%EF%BC%8C%E4%BD%BF%E7%94%A8%E6%A8%A1%E5%9E%8B%E5%B9%B3%E5%9D%87%E4%BE%86%E5%B0%8B%E6%89%BE%E8%B3%87%E6%96%99%E9%9B%86%E4%B8%AD%E6%9C%80%E9%87%8D%E8%A6%81%E7%9A%84%E8%AE%8A%E6%95%B8%E3%80%82%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E8%8F%AF%E6%B3%B0%3C%2FP%3E%0A%3CP%3E%E5%B8%B3%E5%96%AE%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-751719%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E8%A6%86%EF%BC%9A%E7%95%99%E4%B8%80%E6%B3%95%E6%88%96k%E6%8A%98%E4%BA%A4%E5%8F%89%E9%A9%97%E8%AD%89%E6%96%B9%E6%B3%95%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-751719%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%95%8F%E9%A1%8C%EF%BC%9A%E5%A6%82%E6%9E%9C%E6%88%91%E6%9C%89%2020%20%E8%A1%8C%E4%B8%A6%E4%BD%BF%E7%94%A8%20K%3D20%20%E6%8A%98%E7%96%8A%EF%BC%8C%E9%80%99%E8%88%87%E3%80%8C%E7%95%99%E4%B8%80%E6%B3%95%E3%80%8D%E9%A9%97%E8%AD%89%E5%AE%8C%E5%85%A8%E7%9B%B8%E5%90%8C%E5%97%8E%EF%BC%9F%E6%88%91%E4%B8%80%E7%9B%B4%E8%AA%8D%E7%82%BA%E5%BE%8C%E8%80%85%E4%BD%BF%E7%94%A8%E6%AF%8F%E5%80%8B%E8%A7%80%E5%AF%9F%E7%B5%90%E6%9E%9C%E4%BD%9C%E7%82%BA%E9%A9%97%E8%AD%89%E9%9B%86%EF%BC%88%E5%9C%A8%E6%95%B4%E5%80%8B%E8%B3%87%E6%96%99%E9%9B%86%E4%B8%AD%E8%BC%AA%E6%8F%9B%EF%BC%89%EF%BC%8C%E8%80%8C%20K%20%E5%80%8D%E6%A8%A3%E6%9C%AC%E5%89%87%3CEM%3E%E5%B8%B6%E6%9C%89%20replacement%3C%2FEM%3E%20%EF%BC%8C%E6%89%80%E4%BB%A5%E6%88%91%E4%B8%8D%E6%B8%85%E6%A5%9A%E6%AF%8F%E5%80%8B%E8%A7%80%E5%AF%9F%E7%B5%90%E6%9E%9C%E9%83%BD%E7%94%A8%E6%96%BC%E9%A9%97%E8%AD%89%E3%80%82%E4%BD%A0%E8%83%BD%E6%BE%84%E6%B8%85%E4%B8%80%E4%B8%8B%E5%97%8E%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-751595%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E8%A6%86%EF%BC%9A%E7%95%99%E4%B8%80%E6%B3%95%E6%88%96k%E6%8A%98%E4%BA%A4%E5%8F%89%E9%A9%97%E8%AD%89%E6%96%B9%E6%B3%95%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-751595%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%97%A8%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F56941%22%20target%3D%22_blank%22%3E%40Marimo%3C%2FA%3E%20%EF%BC%8C%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E6%AD%A1%E8%BF%8E%E4%BE%86%E5%88%B0%E7%A4%BE%E5%8D%80%EF%BC%81%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E4%BB%A5%E4%B8%8B%E6%98%AF%E6%88%91%E5%9C%A8%E4%B8%8A%E4%B8%80%E7%AF%87%E6%96%87%E7%AB%A0%E4%B8%AD%E6%8F%90%E4%BE%9B%E7%9A%84%E6%9C%89%E9%97%9C%E9%A9%97%E8%AD%89%E3%80%81%E7%89%B9%E5%AE%9A%E9%A9%97%E8%AD%89%E6%96%B9%E6%B3%95%E7%9A%84%E4%BD%BF%E7%94%A8%E4%BB%A5%E5%8F%8A%E5%A6%82%E4%BD%95%E5%9C%A8%20JMP%20%E4%B8%AD%E5%9F%B7%E8%A1%8C%E6%AD%A4%E6%93%8D%E4%BD%9C%E7%9A%84%E4%B8%80%E4%BA%9B%E4%BF%A1%E6%81%AF%EF%BC%9A%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.jmp.com%2Ft5%2FDiscussions%2FCROSS-VALIDATION-VALIDATION-COLUMN-METHOD%2Fm-p%2F588349%2Fhighlight%2Ftrue%23M79332%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.jmp.com%2Ft5%2FDiscussions%2FCROSS-VALIDATION-VALIDATION%20-COLUMN-%E6%96%B9%E6%B3%95%2Fmp%2F588349%2Fhighlight%2Ftrue%23M79332%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%E6%88%91%E5%B8%8C%E6%9C%9B%E7%AC%AC%E4%B8%80%E5%80%8B%E7%AD%94%E6%A1%88%E5%B0%8D%E4%BD%A0%E6%9C%89%E5%B9%AB%E5%8A%A9%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
Marimo
Level I

leave-one-out or k-fold cross-validation methods??

We recieved the reviewer comment as follow:

to confirm the utility of the cut-off value, validation would be needed. However, in this cohort, validation analysis was not performed. As the sample size was small, it would be difficult to perform external validation study. however, internal validation (or cross-validation) analysis might be able by statistical methods such as leave-one-out or k-fold cross-validation methods.

 

I could not undersand statistical method which reviewer intend.

Could you solve this problem by JMP?

3 REPLIES 3
Victor_G
Super User

Re: leave-one-out or k-fold cross-validation methods??

Hi @Marimo,

 

Welcome in the Community !

 

Here are some information about validation, the use of specific validation methods, and how to do it in JMP from a previous post I gave: https://community.jmp.com/t5/Discussions/CROSS-VALIDATION-VALIDATION-COLUMN-METHOD/m-p/588349/highli...

 

I hope this first answer will help you,

Victor GUILLER
L'Oréal Data & Analytics

"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)

Re: leave-one-out or k-fold cross-validation methods??

@Marimo ,

Leave-one-out is a version of k-fold cross validation where all rows in your data set are used as a validation "set" one at a time. 

 

As an example, if you have 20 rows in your data set you could employ a k-fold 5 cross-validation which will use 20% of your data 5 times. In this case that would 4 rows for cross-validation and 16 rows for training. 

 

Each 20% is using something called sampling with replacement to try and ensure all of the data is included in one of the five k-folds.  The other option in this example is to make a k-fold 20 which then uses each row of the data set as a validation set.  The higher the number of folds, the lower the percentage of the data is used for cross-validation. K-fold cross-validation can be found in most platforms in JMP.

 

Another option would be to use a method like Bootstrap Forest which has sampling with replacement built into the algorithm.  You would need JMP Pro to take full advantage of this platform. Bootstrap Forest uses model averaging to find the most important variables in your data set by building many smaller models (trees) with different subsets of the data.

 

HTH

Bill

dlehman1
Level V

Re: leave-one-out or k-fold cross-validation methods??

Question:  if I have 20 rows and use K=20 folds, is that exactly the same thing as "leave-one-out" validation?  I've always thought the latter uses every observation as a validation set (rotated through the entire data set) whereas the K-fold samples with replacement, so it isn't clear to me that every observation is used for validation.  Can you clarify this?