This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
NOTE: This code has the assumption that either the chart being produced with have | |
a dendrogram and labels (e.g. next to the cells in a heat map) OR that the chart | |
will have visible axes and labels along the axes. Thus in the config | |
if | |
config.percentElementsTake.axes.x != 0 | |
then | |
config.percentElementsTake.dendogram.x = 0 | |
and vis versa | |
*/ |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myhost:Downloads sumner$ git clone --recursive https://github.com/apache/incubator-mxnet.git mxnet --branch master | |
Cloning into 'mxnet'... | |
remote: Counting objects: 48148, done. | |
remote: Total 48148 (delta 0), reused 0 (delta 0), pack-reused 48147 | |
Receiving objects: 100% (48148/48148), 20.79 MiB | 708.00 KiB/s, done. | |
Resolving deltas: 100% (30674/30674), done. | |
Checking connectivity... done. | |
Submodule 'cub' (https://github.com/dmlc/cub) registered for path 'cub' | |
Submodule 'dlpack' (https://github.com/dmlc/dlpack) registered for path 'dlpack' | |
Submodule 'dmlc-core' (https://github.com/dmlc/dmlc-core.git) registered for path 'dmlc-core' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fan = d3.select("svg").select("g") | |
var fan_box = fan.node().getBBox() | |
fan.attr("transform", "rotate(1)") | |
d3.interval(spin_fan, 20) | |
var fan_rotation = 1 | |
function spin_fan() { | |
fan_rotation += 5 | |
fan.attr("transform", "rotate(" + fan_rotation + " " + (fan_box.x + fan_box.width / 2) + " " + (fan_box.y + fan_box.height / 2) + ")") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dataset_a": [ | |
{"data":"a", "min": 1, "Q1": 1.5, "Q2": 2, "Q3": 4, "max":6}, | |
{"data":"b", "min": 2, "Q1": 2.2, "Q2": 2.7, "Q3": 3, "max":4}, | |
{"data":"c", "min": 5, "Q1": 5.5, "Q2": 7, "Q3": 7.3, "max":8}, | |
{"data":"d", "min": 6, "Q1": 6.5, "Q2": 7, "Q3": 8, "max":10} | |
], | |
"dataset_b": [ | |
{"data":"a", "min": 5, "Q1": 5.5, "Q2": 7, "Q3": 7.3, "max":8}, | |
{"data":"b", "min": 6, "Q1": 6.5, "Q2": 7, "Q3": 8, "max":10} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//-------------------------------------------------------------------// | |
// // | |
// // | |
// HYPER-PARAMETERS // | |
// // | |
// // | |
//-------------------------------------------------------------------// | |
var hyperParameters = { | |
// FONTS | |
"fonts": { |