* Adding Collector for handling data sampling/collection before dataset/dataloader
* Modify domain by adding sample_mode, variables as property * Small change concatenate -> cat in lno/avno * Create different factory classes for conditions
This commit is contained in:
committed by
Nicola Demo
parent
aef5a5d590
commit
1bd3f40f54
@@ -74,9 +74,10 @@ class SimplexDomain(DomainInterface):
|
||||
# build cartesian_bound
|
||||
self._cartesian_bound = self._build_cartesian(self._vertices_matrix)
|
||||
|
||||
# sampling mode
|
||||
self.sample_modes = "random"
|
||||
|
||||
@property
|
||||
def sample_modes(self):
|
||||
return ["random"]
|
||||
|
||||
@property
|
||||
def variables(self):
|
||||
return sorted(self._vertices_matrix.labels)
|
||||
|
||||
Reference in New Issue
Block a user