https://eli.thegreenplace.net/2026/notes-on-lagrange-interpolating-polynomials/ #mathnerd #mathstories #polynomials #datafitting #curvefitting #HackerNews #ngated
Researching DIY solutions for preparing digital negatives for my salt/kallitype printing experiments. Working on a little curve fitting tool/library (of course using https://thi.ng/umbrella) for computing tone mapping curves derived from sample swatches (here 5% steps of gray/density). The screenshot shows 2nd - 5th degree polynomials. Looks like a quartic is more than good enough... (I know there are ready-made tools for this, but I'm learning more this way... :)
This sweeping shape is a timeless design that first appeared in the scrolls of the #IonicCapital as the most distinctive part of the #IonicOrder in classical Greco-Roman architecture more than 2500 years ago. Shown here with a zebra pattern on the wireframe of a CAD model to accentuate its features and attest to the smoothness of its 3-dimensional surface, the design has been refined many times since the original version over the last two millennia. The two most remarkable things about this design are that: — It can be recreated with modern CAD tools by drawing simple 2-dimensional straight lines and circular arcs exclusively. The end result is truly breathtaking and makes one wonder how architects visualized the result and put theory into practice. In the CAD model, the ultimate surface is a #NURBS surface that uses #BSplines extensively, but none of the B-splines or surfaces need to be created "by hand." One only has to draw straight lines and circular arcs with accurate measurements snapped to grids. — For a design that has survived the ages, it is lamentable how few authoritative sources that accurately describe fine details and exact reconstruction methodology remain accessible to the general public in the age of Internet. The most comprehensive is the 10-volume tome that Marcus #Vitruvius Pollio, a Roman architect and engineer, wrote for #JuliusCaesar and his successor Emperor #CaesarAugustus. [https://www.gutenberg.org/files/20239/20239-h/20239-h.htm] I frequently use two more authoritative sources: — "Regola delli cinque ordini d' architettura," or simply #RegolaArchitettura by Giacomo Barozzi da #Vignola [https://archive.org/details/gri_33125008229458/page/n3/mode/2up], and — "A Course in Theoretical and Practical Architecture," or simply #PracticalArchitecture by Francisco Salvatore #Scarlata (#Bordonaro), which documents #VignolaProportions in tabular form [https://babel.hathitrust.org/cgi/pt?id=mdp.39015031201190&view=1up&seq=5]
Predicting Ordinary Differential Equations with Transformers
https://arxiv.org/abs/2307.12617
The application of ML / transformers to ODE is fascinating.
There's a terrific 2019-01 blog post that covers this (and more!): 👍️
Understanding Neural ODE's
https://jontysinai.github.io/jekyll/update/2019/01/18/understanding-neural-odes.html
Discussion: https://news.ycombinator.com/item?id=18978764
Transformer (machine learning model): https://en.wikipedia.org/wiki/Transformer_(machine_learning_model)
#ML #OCE #mathematics #MachineLearning #transformers #MathematicalModeling #regression #CurveFitting #differentiation
We develop a transformer-based sequence-to-sequence model that recovers scalar ordinary differential equations (ODEs) in symbolic form from irregularly sampled and noisy observations of a single solution trajectory. We demonstrate in extensive empirical evaluations that our model performs better or on par with existing methods in terms of accurate recovery across various settings. Moreover, our method is efficiently scalable: after one-time pretraining on a large set of ODEs, we can infer the governing law of a new observed solution in a few forward passes of the model.