# | Likes | Tech tags | Title | Creator | Created date |
---|---|---|---|---|---|
1 | 0 |
TensorFlow
Keras
|
2022-10-01 23:38
|
Returns the probabilities of the output categories for each entry of the input data using some given neural network.
def predict_probabilities(model, x_test):
# model - An object of type keras.Model corresponding to our neural network
# x_test - A numpy array of our data inputs
return model.predict(x_test)
functions | |
tensorflow.keras.Model.predict |
tensorflow.org |
Use a given neural network to predict the probabilities of specific labels on some given input data. Samples should strive for simplicity.