SELECT * FROM SupervisedShapeletTrainer ( ON (SELECT 1) PARTITION BY 1 InputTable ('shapelets_train') IdColumn ('id') TimeColumn ('period') ValueColumn ('stockprice') CategoryColumn ('stock_category') SaxMinWindowSize (3) SaxMaxWindowSize (6) SaxOutputFrequency (1) SaxSymbolsPerWindow (3) RandomProjections (10) TimeInterval (1) ModelTable ('shapelets_model') OverwriteOutput ('true') );