ea80e4bf2033628822e2b0f92e2e373d1b3c147b,fancyimpute/auto_encoder.py,AutoEncoder,complete,#AutoEncoder#,163
Before Change
assert self.network is not None, \
"Network should have been constructed but was found to be None"
if not self.n_training_epochs:
n_updates_per_epoch = int(np.ceil(n_samples / self.batch_size))
// heuristic of ~1M updates for each model
epochs = min(2000, int(np.ceil(10 ** 5 / n_updates_per_epoch)))
else:
epochs = self.n_training_epochs
X_with_observed_mask = np.hstack([X, missing_mask])
self.network.fit(
After Change
"Network should have been constructed but was found to be None"
if not self.n_training_epochs:
actual_batch_size = min(self.batch_size, n_samples)
n_updates_per_epoch = int(np.ceil(n_samples / actual_batch_size))
// heuristic of ~1M updates for each model
epochs = int(np.ceil(0.5 * 10 ** 6 / n_updates_per_epoch))
print("Epochs: %d" % epochs)
else:
epochs = self.n_training_epochs
X_with_observed_mask = np.hstack([X, missing_mask])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: iskandr/fancyimpute
Commit Name: ea80e4bf2033628822e2b0f92e2e373d1b3c147b
Time: 2015-12-31
Author: alex.rubinsteyn@gmail.com
File Name: fancyimpute/auto_encoder.py
Class Name: AutoEncoder
Method Name: complete
Project Name: WheatonCS/Lexos
Commit Name: e64a027b9a50e6a10e520aeaa540adf60ceeb87c
Time: 2017-08-15
Author: darias0826@gmail.com
File Name: lexos/processors/prepare/cutter.py
Class Name:
Method Name: cut_by_number
Project Name: oarriaga/face_classification
Commit Name: e90157e7f01c85e9ef22f9679f1a40bda0efb51f
Time: 2017-06-30
Author: arriaga.camargo@gmail.com
File Name: src/utils/utils.py
Class Name:
Method Name: split_data