Help with findgroups/splitapply, and general deep learning help.
Show older comments
Hi All,
I am trying to use findgroups, and splitapply to organise a table into a cellarray in a certain way, but I am getting some issues. One of the issues is that the number of groups returned isn't what I am expecting, i.e. the number of uniques in group 1, and the number of uniques in group 2. The file is attached. What the end goal is, is having a cellarray, with the trade dates going down, and the EFAs going across. When I combine, just originally, it isn't dividable by either the trade dates, or the number of unique EFA. The code I used originally is this:
G=findgroups( dateshift(FCTable.tradeDate,'start','day'), categorical(FCTable.EFA));
xAll = splitapply(@(x) {x} , FCTable{:,[2:7,10:13]} , G);
The end goal is for use in Deep Learning, as I originally have a model that does predictions for sequence to label classification for trade dates, however, I want to have the individual blocks included as well. So if there's any hints regarding this as well - please let me know. I'm assuming I will have to combine LSTM's, but I'm not sure. i.e. for tomorrow, there will be a prediction made for each EFA (time period basically) of the trade date.
Accepted Answer
More Answers (0)
Categories
Find more on Parallel and Cloud in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!