
function a = example_lasso(hyper) 

%====================================================================
% EXAMPLE_WEIBULL_MULTI a censoring example data generation object.
%                 The covariates z are generated uniformly on the segment [-1,1]^10. 
%                 The failure time follows the Weibull distribution.
%                 The censoring variable is distributed uniformly
%==================================================================== 
%
% Methods:
%  generate,train,test

  a.n=100;
  a.seed=-1;
  
  a.coef_r=10;
  a.dim=10;%dimensions of the set
  a.corrdim=2;
  a.output_r=1;
  
  
  %risk parameters
  
  p=algorithm('example_lasso');
  a= class(a,'example_lasso',p);

  if nargin==1
    eval_hyper;
  end  
