OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:class_weight
(Results
1 - 7
of
7
) sorted by null
/external/tensorflow/tensorflow/contrib/learn/python/learn/ops/
losses_ops.py
48
class_weight
=None,
64
class_weight
: Tensor, optional, [n_classes], weight for each class.
73
if
class_weight
is not None:
74
logits = math_ops.multiply(logits,
class_weight
)
ops_test.py
41
class_weight
= constant_op.constant([0.1, 0.9])
43
biases,
class_weight
)
/external/tensorflow/tensorflow/python/keras/_impl/keras/engine/
training_eager_test.py
345
class_weight
= dict([(i, 1.) for i in range(num_classes)])
346
class_weight
[weighted_class] = 2.
357
class_weight
=
class_weight
,
365
class_weight
=
class_weight
)
372
class_weight
=
class_weight
,
376
x_train[:batch_size], y_train[:batch_size],
class_weight
=
class_weight
)
[
all
...]
training.py
159
"""Maps `sample_weight` or `
class_weight
` to model outputs.
162
x_weight: User-provided `sample_weight` or `
class_weight
` argument.
167
A list of `sample_weight` or `
class_weight
` where there are exactly
202
def _standardize_class_weights(
class_weight
, output_names):
203
return _standardize_sample_or_class_weights(
class_weight
, output_names,
204
'
class_weight
')
423
class_weight
=None,
433
class_weight
: User-provided `
class_weight
` argument.
486
elif isinstance(
class_weight
, dict)
[
all
...]
training_test.py
429
class_weight
= dict([(i, 1.) for i in range(num_classes)])
430
class_weight
[weighted_class] = 2.
441
class_weight
=
class_weight
,
449
class_weight
=
class_weight
)
456
class_weight
=
class_weight
,
460
x_train[:batch_size], y_train[:batch_size],
class_weight
=
class_weight
)
[
all
...]
/external/tensorflow/tensorflow/contrib/learn/python/learn/
models.py
112
class_weight
=None,
122
class_weight
: tensor, [n_classes], where for each class
124
will check if graph contains tensor `
class_weight
:0`.
165
if not
class_weight
:
167
class_weight
= ops.get_default_graph().get_tensor_by_name(
168
'
class_weight
:0')
173
x, y, weights, bias,
class_weight
=
class_weight
)
/external/tensorflow/tensorflow/python/keras/_impl/keras/
models.py
735
by `sample_weight` or `
class_weight
` during training and testing.
789
class_weight
=None,
842
class_weight
: Optional dictionary mapping class indices (integers)
[
all
...]
Completed in 351 milliseconds