diff --git a/.dvc/plots/confusion_normalized.json b/.dvc/plots/confusion_normalized.json deleted file mode 100644 index 1d38849..0000000 --- a/.dvc/plots/confusion_normalized.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "$schema": "https://vega.github.io/schema/vega-lite/v4.json", - "data": { - "values": "" - }, - "title": "", - "facet": { - "field": "rev", - "type": "nominal" - }, - "spec": { - "transform": [ - { - "aggregate": [ - { - "op": "count", - "as": "xy_count" - } - ], - "groupby": [ - "", - "" - ] - }, - { - "impute": "xy_count", - "groupby": [ - "rev", - "" - ], - "key": "", - "value": 0 - }, - { - "impute": "xy_count", - "groupby": [ - "rev", - "" - ], - "key": "", - "value": 0 - }, - { - "joinaggregate": [ - { - "op": "sum", - "field": "xy_count", - "as": "sum_y" - } - ], - "groupby": [ - "" - ] - }, - { - "calculate": "datum.xy_count / datum.sum_y", - "as": "percent_of_y" - } - ], - "encoding": { - "x": { - "field": "", - "type": "nominal", - "sort": "ascending", - "title": "" - }, - "y": { - "field": "", - "type": "nominal", - "sort": "ascending", - "title": "" - } - }, - "layer": [ - { - "mark": "rect", - "width": 300, - "height": 300, - "encoding": { - "color": { - "field": "percent_of_y", - "type": "quantitative", - "title": "", - "scale": { - "domain": [ - 0, - 1 - ] - } - } - } - }, - { - "mark": "text", - "encoding": { - "text": { - "field": "percent_of_y", - "type": "quantitative", - "format": ".2f" - }, - "color": { - "condition": { - "test": "datum.percent_of_y > 0.5", - "value": "white" - }, - "value": "black" - } - } - } - ] - } -}