MCPcopy Create free account
hub / github.com/lazyprogrammer/machine_learning_examples / main

Function main

ann_class2/dropout_tensorflow.py:139–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137
138
139def main():
140 # step 1: get the data and define all the usual variables
141 Xtrain, Xtest, Ytrain, Ytest = get_normalized_data()
142
143 ann = ANN([500, 300], [0.8, 0.5, 0.5])
144 ann.fit(Xtrain, Ytrain, Xtest, Ytest)
145
146
147if __name__ == '__main__':

Callers 1

Calls 3

fitMethod · 0.95
get_normalized_dataFunction · 0.90
ANNClass · 0.70

Tested by

no test coverage detected