MCPcopy Create free account
hub / github.com/VivekPa/AIAlpha / test_model

Method test_model

models/autoencoder.py:43–48  ·  view source on GitHub ↗
(self, model, data)

Source from the content-addressed store, hash-verified

41 model.save(f"models/saved_models/{model_name}.h5")
42
43 def test_model(self, model, data):
44 test = data
45 ntest = np.array(test)
46 test_data = np.reshape(ntest, (len(ntest), 1, self.input_shape))
47
48 print(model.evaluate(test_data, test_data))
49
50 def encode_data(self, data, csv_path, save_csv=True):
51 coded_train = []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected