summaryrefslogtreecommitdiff
path: root/macros/classifierToList.sci
blob: 98fad462a5e7e234c303b7e6158f2ab8082c480b (plain)
1
2
3
4
5
6
7
8
9
10
function classifier_list = classifierToList(classifier)
	/// classifier is a struct
	
	if ~isstruct(classifier)
		error(msprintf("Structure of classifier required\n"));
	end
	
	classifier_list = list("classifier",classifier.ClassifierLocation, classifier.BagofFeaturesLocation, classifier.Description);
	
endfunction