Helper Module for Deep Learning.
Module that provides functions to prepare geomic dataset.
-
class
pynet.datasets.genomic.Item(input_path, output_path, metadata_path, labels)¶ -
property
input_path¶ Alias for field number 0
-
property
labels¶ Alias for field number 3
-
property
metadata_path¶ Alias for field number 2
-
property
output_path¶ Alias for field number 1
-
property
-
pynet.datasets.genomic.fetch_genomic_pred(datasetdir, to_categorical=False)[source]¶ Fetch/prepare the genomic prediction dataset for pynet.
Matrix Y contains the average grain yield, column 1: Grain yield for environment 1 and so on. Matrix X contains marker genotypes.
- Parameters
datasetdir: str
the dataset destination folder.
to_categorical: bool, default False
if set convert the observation to categories.
- Returns
item: namedtuple
a named tuple containing ‘input_path’, ‘output_path’, and ‘metadata_path’.
Follow us
© 2019, pynet developers .
Inspired by AZMIND template.
Inspired by AZMIND template.