Home | Trees | Indices | Help |
---|
|
object --+ | aAnchorDataset
this dataset contains various tracks of epigenetic signal in the for a set of genome sites (e.g., TSS-cenetered regions) all of the same width. an instance maintains references to X (as a panel and ndarray), Y, and T
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|
|||
shX | |||
shY | |||
shT | |||
labels | |||
tracks | |||
width | |||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
wrap the data on a thean.shared variable
|
infinite loop over train/valid batches
|
create train and validation batches from the given params. the idea is to split the data into batches and allocate a 'valid_s' portion of them for validation. the position of the (continuous) validation block is w.r.t batches. E.g., for tot_size = 10, batch_s = 2, valid_idx=3, valid_s = 0.3 you get 4 + 1 train + valid batches: T T T V T
|
transform each component of flattened X examples to 0 mean and 1 std So the values of track t at position i are 0 mean and 1 std x: a pandas data panel of the form <anchors> X <tracks> X <genome position> return: (the shifted input, the mean for each input component, the sd of each input component) the latter 2 are arrays of shape(<tracks>, <genome position>) |
transform each **component** of X so that it fits on an interval [-1, 1]. So the values of track t at position i are all in [-1,1]
|
|
shX
|
shY
|
shT
|
labels
|
tracks
|
width
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Aug 21 01:14:52 2013 | http://epydoc.sourceforge.net |