a classifier and it's implementation should be under src/shogun/<appropriate directory> and not part of an example. Examples are strictly for small examples where you 'show' how one can use a given module of shogun