Skip to content

Instantly share code, notes, and snippets.

View dovahcrow's full-sized avatar
👋
Hello there!

Weiyuan Wu dovahcrow

👋
Hello there!
View GitHub Profile
@dovahcrow
dovahcrow / spec.json
Created August 27, 2020 23:11
plot_correlation(df)
{"config": {"view": {"continuousWidth": 400, "continuousHeight": 300}}, "data": {"name": "data-0d47302d7e624b4fdae6b9e8958351bb"}, "mark": {"type": "line", "point": true}, "encoding": {"color": {"type": "nominal", "field": "name"}, "column": {"type": "nominal", "field": "format", "title": "Data Format"}, "row": {"type": "nominal", "field": "reader", "title": "Data Reader"}, "tooltip": [{"type": "quantitative", "field": "elapsed", "format": ".0s"}, {"type": "nominal", "field": "MachineMem"}, {"type": "nominal", "field": "DatasetMemSize"}], "x": {"type": "quantitative", "field": "DVM", "title": "Dataset Size / Memory Size"}, "y": {"type": "quantitative", "field": "elapsed", "title": "Elapsed (s)"}}, "selection": {"selector002": {"type": "interval", "bind": "scales", "encodings": ["x", "y"]}}, "title": "plot_correlation(df) Comparison", "$schema": "https://vega.github.io/schema/vega-lite/v4.8.1.json", "datasets": {"data-0d47302d7e624b4fdae6b9e8958351bb": [{"cpu": 8, "dataset": "adult", "fname": "plot-new.py", "f
@dovahcrow
dovahcrow / spec.json
Created August 27, 2020 23:09
plot_correlation(df)
{"config": {"view": {"continuousWidth": 400, "continuousHeight": 300}}, "data": {"name": "data-0d47302d7e624b4fdae6b9e8958351bb"}, "mark": {"type": "line", "point": true}, "encoding": {"color": {"type": "nominal", "field": "name"}, "column": {"type": "nominal", "field": "format", "title": "Data Format"}, "row": {"type": "nominal", "field": "reader", "title": "Data Reader"}, "tooltip": [{"type": "quantitative", "field": "elapsed", "format": ".0s"}, {"type": "nominal", "field": "MachineMem"}, {"type": "nominal", "field": "DatasetMemSize"}], "x": {"type": "quantitative", "field": "DVM", "title": "Dataset Size / Memory Size"}, "y": {"type": "quantitative", "field": "elapsed", "title": "Elapsed (s)"}}, "selection": {"selector002": {"type": "interval", "bind": "scales", "encodings": ["x", "y"]}}, "title": "plot_correlation(df) Comparison", "$schema": "https://vega.github.io/schema/vega-lite/v4.8.1.json", "datasets": {"data-0d47302d7e624b4fdae6b9e8958351bb": [{"cpu": 8, "dataset": "adult", "fname": "plot-new.py", "f
@dovahcrow
dovahcrow / spec.json
Created August 27, 2020 22:25
plot_correlation(df) full
{"config": {"view": {"continuousWidth": 400, "continuousHeight": 300}}, "data": {"name": "data-7b5c73cc8d7200157814bec3790eaaf6"}, "mark": {"type": "line", "point": true}, "encoding": {"color": {"type": "nominal", "field": "name"}, "column": {"type": "nominal", "field": "format", "title": "Data Format"}, "row": {"type": "nominal", "field": "reader", "title": "Data Reader"}, "tooltip": [{"type": "quantitative", "field": "elapsed", "format": ".0s"}, {"type": "nominal", "field": "MachineMem"}, {"type": "nominal", "field": "DatasetMemSize"}], "x": {"type": "quantitative", "field": "DVM", "title": "Dataset Size / Memory Size"}, "y": {"type": "quantitative", "field": "elapsed", "title": "Elapsed (s)"}}, "title": "plot_correlation(df) Comparison", "$schema": "https://vega.github.io/schema/vega-lite/v4.8.1.json", "datasets": {"data-7b5c73cc8d7200157814bec3790eaaf6": [{"cpu": 8, "dataset": "adult", "fname": "plot-new.py", "format": "csv", "memory": 1073741824, "ncol": 12, "nrow": 50000, "partition": 16, "reader": "pan
@dovahcrow
dovahcrow / spec.json
Created August 27, 2020 22:24
plot_correlation(df) < 1
{"config": {"view": {"continuousWidth": 400, "continuousHeight": 300}}, "data": {"name": "data-0d47302d7e624b4fdae6b9e8958351bb"}, "mark": {"type": "line", "point": true}, "encoding": {"color": {"type": "nominal", "field": "name"}, "column": {"type": "nominal", "field": "format", "title": "Data Format"}, "row": {"type": "nominal", "field": "reader", "title": "Data Reader"}, "tooltip": [{"type": "quantitative", "field": "elapsed", "format": ".0s"}, {"type": "nominal", "field": "MachineMem"}, {"type": "nominal", "field": "DatasetMemSize"}], "x": {"type": "quantitative", "field": "DVM", "title": "Dataset Size / Memory Size"}, "y": {"type": "quantitative", "field": "elapsed", "title": "Elapsed (s)"}}, "title": "plot_correlation(df) Comparison", "$schema": "https://vega.github.io/schema/vega-lite/v4.8.1.json", "datasets": {"data-0d47302d7e624b4fdae6b9e8958351bb": [{"cpu": 8, "dataset": "adult", "fname": "plot-new.py", "format": "csv", "memory": 1073741824, "ncol": 12, "nrow": 50000, "partition": 16, "reader": "pan
URL-REGEX,^http://bangumi\.bilibili\.com/index/ding\-count\.json
URL-REGEX,^http://.*\.api\.tv\.itc\.cn/.*
URL-REGEX,^http://.*\.cupid\.iqiyi\.com/.*
URL-REGEX,^http://.*\.dpool\.sina\.com\.cn/iplookup.*
URL-REGEX,^http://.*\.letv\.cn/vod/v2/.*
URL-REGEX,^http://.*\.letv\.com/mms/out/video/play.*
URL-REGEX,^http://.*\.ssports\.com/.*
URL-REGEX,^http://.*\.video\.qq\.com/fcgi\-bin/.*
URL-REGEX,^http://.*\.video\.qq\.com/get.*
URL-REGEX,^http://101\.227\.139\.217/base/fcgi\-bin/getsession.*

Keybase proof

I hereby claim:

  • I am dovahcrow on github.
  • I am dovahcrow (https://keybase.io/dovahcrow) on keybase.
  • I have a public key ASAJKR3lfsHJbazfLa7V9in10ec3sQI9bPZOErN39A-G8go

To claim this, I am signing this object:

@dovahcrow
dovahcrow / dbscan_kmeans.jl
Created May 3, 2015 16:58
dbscan vs kmeans
using Distributions
using Gadfly
using RegERMs
using DataFrames
using Clustering
using Match
using Distances
using Iterators
gensin() = begin