SPIDER The Spider Objects

INDEP object

   A=INDEP(C,H) returns a indep object initialized with density
   estimator(s) C and hyperparameters H. 
   Training will try to fit the estimator C to each feature independently,
   C can be an array of algorithms, one for each feature.
   Testing will return the density estimate for each data point tested,
   or if passed the empty dataset will generate new 
   class data according to the densities in the model. 
    l=50            -- number of data points to generate if asked to generate   
    child={gauss}   -- array of underlying density estimators
    train, test, generate
     gen(indep({gauss([-1]) gauss([1])}))
     get_mean(train(cv(bayes(indep)),toy))      run naive bayes