title: Keras - Is there a Function to read out the prediction probability of face images and set a threshold for unknown faces
body: <p>The idea is to add a further class for unknown faces. It would be fine if there is a chance to set a threshold prediction to classify all faces to classes a-z and if they don't reach the threshold value classify it as unknown.</p>
  
  <pre><code>**Pseudo Code:**
  if prediction_acc &lt; 70%:
       prediction = unknown
  </code></pre>