diff options
Diffstat (limited to 'tensorflow/contrib/learn/python/learn/evaluable.py')
-rw-r--r-- | tensorflow/contrib/learn/python/learn/evaluable.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tensorflow/contrib/learn/python/learn/evaluable.py b/tensorflow/contrib/learn/python/learn/evaluable.py index 14cf5f01b8..aff0d70cd5 100644 --- a/tensorflow/contrib/learn/python/learn/evaluable.py +++ b/tensorflow/contrib/learn/python/learn/evaluable.py @@ -51,12 +51,14 @@ class Evaluable(object): for which this evaluation was performed. Args: - x: Matrix of shape [n_samples, n_features...] containing the input samples - for fitting the model. Can be iterator that returns arrays of features. - If set, `input_fn` must be `None`. + x: Matrix of shape [n_samples, n_features...] or dictionary of many matrices + containing the input samples for fitting the model. Can be iterator that returns + arrays of features or dictionary of array of features. If set, `input_fn` must + be `None`. y: Vector or matrix [n_samples] or [n_samples, n_outputs] containing the label values (class labels in classification, real numbers in - regression). Can be iterator that returns array of labels. If set, + regression) or dictionary of multiple vectors/matrices. Can be iterator + that returns array of targets or dictionary of array of targets. If set, `input_fn` must be `None`. Note: For classification, label values must be integers representing the class index (i.e. values from 0 to n_classes-1). |