metadata
Metadata(data_loader, splitting_conditions=None, value_fill_type='', data_subset=None)
¶
A Metadata is a class that defines the datasource for a certain Cellbox and the assocated splitting conditions.
Attributes:
| Name | Type | Description |
|---|---|---|
data_loader |
object of the DataLoader class that enable projecting to the cellbox data |
|
splitting_conditions |
list of conditions that determine how to split the data accessed by data_loader |
|
value_fill_type |
string
|
indicates how to fill a CellBox if it has void data (ex. use the data in the parent cellbox or assign 0 to the data) |
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data_loader
|
DataLoader
|
object of the DataLoader class that enables projecting to the cellbox data |
required |
splitting_conditions
|
List<dict>
|
list of conditions that determine how to split CellBox |
None
|
value_fill_tyep
|
string
|
represents the way the data of a cellbox will be filled in case it has void data (ex. parent , 0 ) |
required |
get_data_loader()
¶
returns the data loader
get_data_subset()
¶
gets the data subset
get_splitting_conditions()
¶
returns a list of the splitting conditions
get_value_fill_type()
¶
returns thevalue fill type
set_data_loader(data_loader)
¶
sets the data loader
set_data_subset(data_subset)
¶
sets the data subset
set_splitting_conditions(splitting_conditions)
¶
sets the splitting conditions
set_value_fill_type(value_fill_type)
¶
sets the value fill type