Which algorithms involves in deep learning? [closed]

It is a common missconception to mix concepts of “algorithm”, “method”, “model” and “implementation” of particular ML concepts. Most of things defined in ML community is a model or method, not an algorithm or implementation. Roughly speaking: model is a form of representing actual, real processes in the form of mathematical equations/formulas. One of such … Read more

Extract email id from text file by showing path

Something like the following will work: with open(‘resume.txt’, ‘r’) as f_input: print re.findall(r’\b([a-z0-9-_.]+?@[a-z0-9-_.]+)\b’, f_input.read(), re.I) It will display: [‘[email protected]’] But the exact logic can be far more complicated. It all depends on how accurate it needs to be. This will display all email addresses in the text file, just in case there is more than … Read more

How can I use a weight matrix created by a trained neural network to make predictions in another file?

Save your model or the weights of your model: model.save(filename) np.save(filename, model.get_weights()) For loading, in the first case: from keras.models import load_model model = load_model(filename) In the second case: #recreate the model then: model.set_weights(np.load(filename)) Then: results = model.predict(batch_of_data)