@explorable-viz/fluid 0.10.2 → 0.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fluid/fluid/lib/graphics.fld +246 -221
- package/dist/fluid/fluid/lib/matrix.fld +44 -41
- package/dist/fluid/fluid/lib/stats.fld +86 -75
- package/dist/fluid/shared/fluid.mjs +7830 -8585
- package/dist/fluid/shared/load-figure.js +7666 -7835
- package/dist/fluid/shared/webtest-lib.js +1479 -1479
- package/package.json +1 -1
- package/website/article/css/styles.css +3 -35
- package/website/article/css/view-styles.css +1 -5
- package/website/article/fluid/1805.02474v1-10.fld +2 -2
- package/website/article/fluid/scigen.fld +4 -0
- package/website/article/scigen-1805.02474v1-10/index.html +4 -0
- package/website/article/test.mjs +1 -4
- package/website/article/font/GraphikLight.woff2 +0 -0
- package/website/article/font/GraphikLightItalic.woff2 +0 -0
- package/website/article/font/GraphikMedium.woff2 +0 -0
- package/website/article/font/GraphikMediumItalic.woff2 +0 -0
- package/website/article/font/OdiseanTech.woff2 +0 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@explorable-viz/fluid",
|
3
|
-
"version": "0.10.
|
3
|
+
"version": "0.10.3",
|
4
4
|
"description": "A functional programming language which integrates a bidirectional dynamic analysis, connecting outputs to data sources in a fine-grained way. Fluid is implemented in PureScript and runs in the browser.",
|
5
5
|
"main": "index.js",
|
6
6
|
"repository": {
|
@@ -1,41 +1,9 @@
|
|
1
1
|
@charset "UTF-8";
|
2
2
|
@import url("https://fonts.googleapis.com/css2?family=Fira+Code&display=swap");
|
3
3
|
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap');
|
4
|
+
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;1,300&display=swap');
|
4
5
|
|
5
|
-
|
6
|
-
font-family: 'OdiseanTech';
|
7
|
-
src: url('/font/OdiseanTech.woff2') format('woff2');
|
8
|
-
font-weight: normal;
|
9
|
-
font-style: normal;
|
10
|
-
}
|
11
|
-
|
12
|
-
@font-face {
|
13
|
-
font-family: 'GraphikLight';
|
14
|
-
src: url('/font/GraphikLight.woff2') format('woff2');
|
15
|
-
font-weight: 300;
|
16
|
-
font-style: normal;
|
17
|
-
}
|
18
|
-
|
19
|
-
@font-face {
|
20
|
-
font-family: 'GraphikLightItalic';
|
21
|
-
src: url('/font/GraphikLightItalic.woff2') format('woff2');
|
22
|
-
font-weight: 300;
|
23
|
-
font-style: italic;
|
24
|
-
}
|
25
|
-
|
26
|
-
@font-face {
|
27
|
-
font-family: 'GraphikMedium';
|
28
|
-
src: url('/font/GraphikMedium.woff2') format('woff2');
|
29
|
-
font-weight: 500;
|
30
|
-
font-style: normal;
|
31
|
-
}
|
32
|
-
|
33
|
-
@font-face {
|
34
|
-
font-family: 'GraphikMediumItalic';
|
35
|
-
src: url('/font/GraphikMediumItalic.woff2') format('woff2');
|
36
|
-
font-weight: 500;
|
37
|
-
font-style: italic;
|
38
|
-
}
|
6
|
+
/* Dropped use of Graphik as seems to have a bug at font-weight 300 */
|
39
7
|
|
40
8
|
.fluid-logo {
|
41
9
|
margin-bottom: 0;
|
@@ -78,7 +46,7 @@ code {
|
|
78
46
|
|
79
47
|
body {
|
80
48
|
font-size: 12pt;
|
81
|
-
font-family: "
|
49
|
+
font-family: "Roboto", sans-serif;
|
82
50
|
font-weight: 300;
|
83
51
|
line-height: 1.25;
|
84
52
|
padding: 0;
|
@@ -134,7 +134,7 @@ td.table-cell {
|
|
134
134
|
|
135
135
|
.matrix-cell-text {
|
136
136
|
font-size: 10pt;
|
137
|
-
font-family: "
|
137
|
+
font-family: "Roboto", sans-serif;
|
138
138
|
color: rgb(205, 205, 205)
|
139
139
|
}
|
140
140
|
|
@@ -193,10 +193,6 @@ td.table-cell {
|
|
193
193
|
font-size: 10pt;
|
194
194
|
}
|
195
195
|
|
196
|
-
.para-text span::after {
|
197
|
-
content: " ";
|
198
|
-
}
|
199
|
-
|
200
196
|
.bar {
|
201
197
|
stroke-width: 1.5;
|
202
198
|
}
|
@@ -17,7 +17,7 @@ def mostEfficient:
|
|
17
17
|
accuracies compared to uni-directional LSTM2, with the training time per epoch
|
18
18
|
${trendWord(model_BiLSTM.time_s, model_LSTM.time_s, growShrink)} from
|
19
19
|
${model_LSTM.time_s} seconds to ${model_BiLSTM.time_s} seconds.
|
20
|
-
Stacking 2 layers of BiLSTM gives ${trendWord(model_2_stacked_BiLSTM.acc, model_BiLSTM.acc,
|
20
|
+
Stacking 2 layers of BiLSTM gives ${trendWord(model_2_stacked_BiLSTM.acc, model_BiLSTM.acc, improvements)}
|
21
21
|
to development results, with a ${trendWord(model_2_stacked_BiLSTM.time_s, model_BiLSTM.time_s, smallerHigher)}
|
22
22
|
time of ${model_2_stacked_BiLSTM.time_s} seconds. 3 layers of stacked BiLSTM
|
23
23
|
${trendWord(model_3_stacked_BiLSTM.acc, model_BiLSTM.acc, improve)} the results.
|
@@ -34,7 +34,7 @@ def mostEfficient:
|
|
34
34
|
among all models compared, with the
|
35
35
|
${rankLabel("smallest", findIndex("model", "CNN", insertionSort(lambda a, b: a.param < b.param, tableData)))}
|
36
36
|
model size. On the other hand, a 3-layer stacked CNN gives an accuracy of
|
37
|
-
${model_3_stacked_CNN.acc}%, which is also the
|
37
|
+
${numToStr(model_3_stacked_CNN.acc)}%, which is also the
|
38
38
|
${rankLabel("lowest", findIndex("model", "CNN", insertionSort(lambda a, b: a.time_s < b.time_s, tableData)))}
|
39
39
|
compared with BiLSTM, hierarchical attention and S-LSTM. The
|
40
40
|
${rankLabel("best", findIndex("model", "S-LSTM+Attention", insertionSort(lambda a, b: b.acc < a.acc, tableData)))}
|
@@ -37,6 +37,10 @@ def improve(EQ): "does not further improve"
|
|
37
37
|
def improve(LT): "does not further improve"
|
38
38
|
def improve(GT): "further improves"
|
39
39
|
|
40
|
+
def improvements(EQ): "no further improvements"
|
41
|
+
def improvements(LT): "no further improvements"
|
42
|
+
def improvements(GT): "further improvements"
|
43
|
+
|
40
44
|
def shorterLonger(EQ): "equal"
|
41
45
|
def shorterLonger(LT): "shorter"
|
42
46
|
def shorterLonger(GT): "longer"
|
package/website/article/test.mjs
CHANGED
@@ -7,9 +7,6 @@ export const main = async () => {
|
|
7
7
|
page => waitFor("#fig-output > svg:nth-child(1)")(page),
|
8
8
|
page => waitFor("#fig-output > svg:nth-child(2)")(page),
|
9
9
|
]))()
|
10
|
-
await runTests(testURL("renewables-linked")([
|
11
|
-
page => waitFor("#fig-output > svg:nth-child(1)")(page),
|
12
|
-
page => waitFor("#fig-output > svg:nth-child(2)")(page),
|
13
|
-
]))()
|
10
|
+
await runTests(testURL("renewables-linked")([page => waitFor("#fig-output > svg:nth-child(1)")(page)]))()
|
14
11
|
await runTests(testURL("scigen-1805.02474v1-10")([ page => waitFor("div#fig-output")(page) ]))()
|
15
12
|
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|