@algorisys/tinyfly 0.118.0 → 0.119.1
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/README.md +6 -6
- package/docs/editor-guide.md +1 -1
- package/docs/examples.md +1 -1
- package/docs/getting-started.md +1 -1
- package/docs/gsap-compat.md +1 -1
- package/docs/llm-guide.md +3 -1
- package/docs/maps.md +2 -2
- package/docs/math.md +46 -7
- package/docs/teaching.md +1 -1
- package/lib/addons/characters.js +1851 -1844
- package/lib/addons/math.js +2002 -1478
- package/lib/browser/tinyfly-math.iife.js +4 -4
- package/lib/browser/tinyfly.iife.js +1 -1
- package/lib/browser/tinyfly.js +8 -1
- package/lib/browser/tinyfly.umd.js +1 -1
- package/lib/types/math/figure/display-list.d.ts +2 -0
- package/lib/types/math/figure/figure-spec.d.ts +101 -1
- package/lib/types/math/figure/items/ml.d.ts +47 -0
- package/lib/types/math/index.d.ts +7 -0
- package/lib/types/math/ml/classify.d.ts +30 -0
- package/lib/types/math/ml/colormap.d.ts +14 -0
- package/lib/types/math/ml/contours.d.ts +15 -0
- package/lib/types/math/ml/descent.d.ts +11 -0
- package/lib/types/math/ml/kmeans.d.ts +11 -0
- package/lib/types/math/ml/network.d.ts +19 -0
- package/lib/types/math/presets/ml.d.ts +50 -0
- package/llms-full.txt +64 -16
- package/llms.txt +31 -31
- package/package.json +1 -1
- package/skills/tinyfly/SKILL.md +2 -1
package/lib/browser/tinyfly.js
CHANGED
|
@@ -20896,6 +20896,7 @@ function h3(t, e = {}) {
|
|
|
20896
20896
|
"normalFigure, binomialFigure, cltFigure, galtonFigure, monteCarloPiFigure, regressionFigure, bayesFigure": "ready probability and statistics figures",
|
|
20897
20897
|
"graphSearchFigure, shortestPathFigure, recursionTreeFigure, vennFigure, clockFigure": "ready discrete maths figures; searches move with the value step",
|
|
20898
20898
|
"searchEvents / parseSetExpression / regionCells": "graph searches as data; set expressions and their Venn cells",
|
|
20899
|
+
"neuralNetworkFigure, gradientDescentFigure, attentionFigure, decisionBoundaryFigure, kmeansFigure, activationFigure": "ready AI/ML figures",
|
|
20899
20900
|
distributions: "{ kind: normal | uniform | exponential | binomial | poisson | dice | mean, …numbers or value names }; density, meanOf, sdOf, samples (seeded)",
|
|
20900
20901
|
"layoutTex(tex) / morphEquation(a, b, t)": "the built-in TeX subset, and term-by-term transitions",
|
|
20901
20902
|
"vec2, mat2": "2D vectors and 2×2 matrices (apply, multiply, determinant, inverse, eigen)"
|
|
@@ -20923,7 +20924,13 @@ function h3(t, e = {}) {
|
|
|
20923
20924
|
bayes: "{ prior, truePositive, falsePositive }: Bayes as areas; \\val{ID.posterior}",
|
|
20924
20925
|
graph: "{ nodes, edges, directed?, tree?, search?: { kind: bfs | dfs | dijkstra, start }, step?, frontier? }: searches step by step",
|
|
20925
20926
|
venn: "{ sets (2 or 3), highlight?: set expression like (A | B)' }: shaded by clipping",
|
|
20926
|
-
clock: "{ modulus, value }: clock arithmetic; \\val{ID.hour}"
|
|
20927
|
+
clock: "{ modulus, value }: clock arithmetic; \\val{ID.hour}",
|
|
20928
|
+
network: "{ layers, activation?, inputs?, flow?, seed?, labels? }: a forward pass, layer by layer",
|
|
20929
|
+
heatmap: "{ cells (softmax? per row) or expr in x, y; colormap?, rowLabels?, colLabels?, values? }: attention maps, loss fields",
|
|
20930
|
+
contours: "{ expr in x, y, levels? }: level curves (marching squares)",
|
|
20931
|
+
descent: "{ expr in x, y, start, rate, steps, momentum? }: gradient descent with an exact gradient",
|
|
20932
|
+
classifier: "{ epochs, centres?, rate?, start? }: logistic regression training; \\val{ID.accuracy}",
|
|
20933
|
+
kmeans: "{ centres, iteration, k? }: Lloyd iterations; \\val{ID.inertia}"
|
|
20927
20934
|
},
|
|
20928
20935
|
props: {
|
|
20929
20936
|
NAME: "a value: a number, [x, y] vector or [a, b, c, d] matrix (row by row; columns are where î and ĵ land)",
|