Exemple #1
0
 def setUp(self):
     super().setUp()
     tf.random.set_seed(0)
     self.num_individuals = 100
     self.num_features = 30
     self.rank = 6
     self.synthetizer = data.SyntheticData(
         num_individuals=self.num_individuals,
         num_features=self.num_features,
         low_rank=self.rank)
     self.matrix = self.synthetizer.make()
Exemple #2
0
 def setUp(self):
     super().setUp()
     tf.random.set_seed(0)
     self._data = data.SyntheticData(num_features=50,
                                     num_individuals=200,
                                     low_rank=10)