Wani has been a great help, but I thought others might have related questions in the future.
1) As I understand, svm.stats.other_output{1} is to be the basis for testing a classifier on a new cohort. Can you please tell me which method I'm supposed to use with this array as input to test a validation cohort?
2) I can't figure out if the SVM algorithm has a regularization method associated with it. I'd like to use LASSO penalization, but I'm not sure if that is possible... thoughts?
3) I'd like to ensemble predictors. Given map1 (dti), map2 (gm volume), and map3 (fc-fmri) from separate SVC runs. Can I combine the prediction weights with a logistic regression in predict.m?
Would it be something like:
imgs = [map1_svm.stats.weight_obj;
map2_svm.stats.weight_obj;
map3_svm.stats.weight_obj;]
dat_combined = fmri_data(imgs,mask)
dat_svm_combined = dat_combined
.
.
.
[~,combined_svm.stats] = predict(dat_svm_combined, 'algorithm_name', 'logistic')
or maybe:
[~,combined_svm.stats] = predict(dat_svm_combined, 'algorithm_name', 'cv_lassopcr', 'lasso_num', 1]
Thanks for your help!
Brianne
Brianne Mohl, PhD
Postdoctoral Fellow
School of Medicine | Radiology
University of Colorado - Denver | Anschutz Medical Campus
briann...@ucdenver.edu
Hi all,
Wani has been a great help, but I thought others might have related questions in the future.
1) As I understand, svm.stats.other_output{1} is to be the basis for testing a classifier on a new cohort. Can you please tell me which method I'm supposed to use with this array as input to test a validation cohort?
2) I can't figure out if the SVM algorithm has a regularization method associated with it. I'd like to use LASSO penalization, but I'm not sure if that is possible... thoughts?
3) I'd like to ensemble predictors. Given map1 (dti), map2 (gm volume), and map3 (fc-fmri) from separate SVC runs. Can I combine the prediction weights with a logistic regression in predict.m?
Would it be something like:
imgs = [map1_svm.stats.weight_obj;
map2_svm.stats.weight_obj;
map3_svm.stats.weight_obj;]
dat_combined = fmri_data(imgs,mask)
dat_svm_combined = dat_combined
.
.
.
[~,combined_svm.stats] = predict(dat_svm_combined, 'algorithm_name', 'logistic')
or maybe:
[~,combined_svm.stats] = predict(dat_svm_combined, 'algorithm_name', 'cv_lassopcr', 'lasso_num', 1]
Thanks for your help!
Brianne
Brianne Mohl, PhD
Postdoctoral Fellow
School of Medicine | Radiology
University of Colorado - Denver | Anschutz Medical Campus
briann...@ucdenver.edu
--
You received this message because you are subscribed to the Google Groups "WagerlabTools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wagerlabtools+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to wagerlabtools+unsubscribe@googlegroups.com.