Re: data sequencing

2020-02-01 Thread DL Neil via Python-list
On 1/02/20 7:19 PM, khisho...@gmail.com wrote: I have a data sequence of around 30 sets. I need to batch the sequence into an input-output format. for example data= [1,2,3,4,5,6,7,8,9,10,..,100] X1= [1,2,3,4,5,6,7,8,9,10] y1 = [11,12] X2= [3,4,5,6,7,8,9,11,12] y2 = [13,14] and it

data sequencing

2020-01-31 Thread khishorks
I have a data sequence of around 30 sets. I need to batch the sequence into an input-output format. for example data= [1,2,3,4,5,6,7,8,9,10,..,100] X1= [1,2,3,4,5,6,7,8,9,10] y1 = [11,12] X2= [3,4,5,6,7,8,9,11,12] y2 = [13,14] and it continues till 100. here X is input and y is o