-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added new experiment for training without cross validation
- Loading branch information
Raffaello Camoriano
committed
Oct 21, 2015
1 parent
87d57fd
commit 0b10cf5
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
load breastcancer | ||
|
||
% Customize configuration | ||
config = config_set('filter.fixedIterations' , 100 , ... % Set a fixed number of iterations (no cross validation is performed in this case) | ||
'kernel.m' , 200 , ... % Modify the subsampling level (default m = 100) | ||
'kernel.kernelParameters' , 0.9 ); % Change gaussian kernel parameter (sigma) | ||
|
||
% Perform default cross validation | ||
[ training_output ] = nytro_train( Xtr , Ytr , config); | ||
|
||
% Perform predictions on the test set and evaluate results | ||
[ prediction_output ] = nytro_test( Xtr , Xte , Yte , training_output); |