Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
d84a0eb
Add flags to TBContext
jameswex Mar 19, 2018
ab0e9cf
Add flags to TBContext in application
jameswex Mar 19, 2018
e72cbcf
Add flags to tbcontext
jameswex Mar 19, 2018
3803ab7
gitignore changes
jameswex Apr 11, 2018
b65f56c
Merge branch 'master' of https://github.com/tensorflow/tensorboard
jameswex Apr 11, 2018
77a5109
Merge remote-tracking branch 'upstream/master'
jameswex Apr 13, 2018
92e5a72
Merge remote-tracking branch 'upstream/master'
jameswex Apr 18, 2018
0611086
Merge branch 'master' of https://github.com/tensorflow/tensorboard
jameswex Apr 20, 2018
2758a2a
Merge remote-tracking branch 'upstream/master'
jameswex May 9, 2018
8820f4c
Merge remote-tracking branch 'upstream/master'
jameswex May 9, 2018
d1299c6
Merge remote-tracking branch 'upstream/master'
jameswex Aug 6, 2018
c0c8258
jwexler updated rules_closure version
jameswex Aug 6, 2018
019e6f7
Merge remote-tracking branch 'upstream/master'
jameswex Sep 5, 2018
1833317
Merge remote-tracking branch 'upstream/master'
jameswex Sep 10, 2018
286df31
Merge branch 'master' of https://github.com/tensorflow/tensorboard
jameswex Sep 14, 2018
4cebc83
Merge branch 'master' of https://github.com/jameswex/tensorboard
jameswex Sep 17, 2018
d37b198
Merge remote-tracking branch 'upstream/master'
jameswex Sep 19, 2018
9335a8b
Merge remote-tracking branch 'upstream/master'
jameswex Sep 20, 2018
96fe3be
Merge remote-tracking branch 'upstream/master'
jameswex Sep 24, 2018
e2f8e08
Merge remote-tracking branch 'upstream/master'
jameswex Sep 28, 2018
5cc285e
Fill in index labels when labels are blank
jameswex Sep 28, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2842,6 +2842,13 @@ <h2>Create a distance feature</h2>
for (let i = 0; i < this.inferences.indices.length; i++) {
if (isClassification) {
const result = this.inferences.results.classificationResult;
// For models that don't return any labels for the classes, fill
// them out with class indicies.
for (let j = 0; j < result.classifications[i].classes.length; j++) {
if (result.classifications[i].classes[j].label == '') {
result.classifications[i].classes[j].label = j.toString();
}
}
inferenceMap[this.inferences.indices[i]] =
result.classifications[i].classes.sort((a, b) => b.score - a.score);
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,11 @@ def make_json_formatted_for_single_chart(mutant_features,
inference_result_proto.result.classifications)
for mutant_feature, classification in zip(
mutant_features, inference_result_proto.result.classifications):
for classification_class in classification.classes:
for class_index, classification_class in enumerate(
classification.classes):
# Fill in class index when labels are missing
if classification_class.label == '':
classification_class.label = str(class_index)
# Special case to not include the "0" class in binary classification.
# Since that just results in a chart that is symmetric around 0.5.
if len(
Expand Down