public class MovingWindowMatrix extends Object
| Constructor and Description |
|---|
MovingWindowMatrix(INDArray toSlice,
int windowRowSize,
int windowColumnSize)
Same as calling new MovingWindowMatrix(toSlice,windowRowSize,windowColumnSize,false)
|
MovingWindowMatrix(INDArray toSlice,
int windowRowSize,
int windowColumnSize,
boolean addRotate) |
| Modifier and Type | Method and Description |
|---|---|
List<INDArray> |
windows()
Returns a list of non flattened moving window matrices
|
List<INDArray> |
windows(boolean flattened)
Moving window, capture a row x column moving window of
a given matrix
|
public MovingWindowMatrix(INDArray toSlice, int windowRowSize, int windowColumnSize, boolean addRotate)
toSlice - matrix to slicewindowRowSize - the number of rows in each windowwindowColumnSize - the number of columns in each windowaddRotate - whether to add the possible rotations of each moving windowpublic MovingWindowMatrix(INDArray toSlice, int windowRowSize, int windowColumnSize)
toSlice - windowRowSize - windowColumnSize - Copyright © 2018. All rights reserved.