From a464f566f4e2a5a19dbf2d1e34b9cd319d6e2095 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kubiak?= Date: Wed, 9 Jun 2021 14:22:16 +0200 Subject: [PATCH] Delete '.dvc/plots/confusion.json' --- .dvc/plots/confusion.json | 107 -------------------------------------- 1 file changed, 107 deletions(-) delete mode 100644 .dvc/plots/confusion.json diff --git a/.dvc/plots/confusion.json b/.dvc/plots/confusion.json deleted file mode 100644 index af1b48d..0000000 --- a/.dvc/plots/confusion.json +++ /dev/null @@ -1,107 +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": "max", - "field": "xy_count", - "as": "max_count" - } - ], - "groupby": [] - }, - { - "calculate": "datum.xy_count / datum.max_count", - "as": "percent_of_max" - } - ], - "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": "xy_count", - "type": "quantitative", - "title": "", - "scale": { - "domainMin": 0, - "nice": true - } - } - } - }, - { - "mark": "text", - "encoding": { - "text": { - "field": "xy_count", - "type": "quantitative" - }, - "color": { - "condition": { - "test": "datum.percent_of_max > 0.5", - "value": "white" - }, - "value": "black" - } - } - } - ] - } -}