tf.contrib.learn.TensorFlowRNNRegressor.predict_proba()

tf.contrib.learn.TensorFlowRNNRegressor.predict_proba(x, batch_size=None)

Predict class probability of the input samples x.

Args:
  • x: array-like matrix, [n_samples, n_features...] or iterator.
  • batch_size: If test set is too big, use batch size to split it into mini batches. By default the batch_size member variable is used.
Returns:
  • y: array of shape [n_samples, n_classes]. The predicted probabilities for each class.
doc_TensorFlow
2016-10-14 13:07:07
Comments
Leave a Comment

Please login to continue.