mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

352K
active users

Freya Holmér

Heartbreaking: Local quadratic polynomial as a function of x struggling to fit constantly rotating data

@acegikmo Single polynomial in your neighborhood wants to meet up!

@Craigp @acegikmo {{user.name}}, meet hot polynomials near {{user.location}}!

@RC_1290 @capeta @Craigp @acegikmo Moreover, they are all amazingly big and girthy.

@RC_1290 @capeta @Craigp @acegikmo The Calculations of J Alfred Prufrock

@acegikmo
Is it failing? I genuinely don't know enough about it to tell.

It's struggling against a difficult dataset, but to me this is really fascinating.

@acegikmo it's cos a quadratic can't go sideways right? right?

@acegikmo I’ve always wanted a catenary of given length suspended from two points, but couldn’t figure out how to do it…

@KirillOsenkov hi! i came across this comment randomly a couple days ago and i actually happen to have a repo that does this in Processing (processing.org/) — github.com/valrus/catenary

it doesn't do "a given length" but you can adjust the length with the +/- keys after drawing the catenary. probably you could change the code to a fixed length, though i tried what i thought was the obvious thing and it didn't work (this code is 11 years old 😅)

ProcessingWelcome to Processing!Processing is a flexible software sketchbook and a language for learning how to code. Since 2001, Processing has promoted software literacy within the visual arts and visual literacy within technology…

@valrus OMG this is awesome!!! Exactly what I wanted! Thank you!

@acegikmo Would you add a ticker in the corner that displays the Equation with Coefficients, R-square, and Standard-Error.

@acegikmo Moreover, there is a curve fitter called Table Curve 2D that lists functions for fits in rank order of RSquare, F, and other stats. It would be cool to see the sort of the equations change as the rotation occurs.

@acegikmo poor curve must be so anxious when it’s not conforming. Tries to straighten itself out repeatedly like it’s the problem, instead of just following its own arc… sad really. It should really learn to be itself, but that’s probably a function of its upbringing. Remember folks, don’t always need to follow the trend, you’ll go head over heels trying to fit in, things will come around eventually so just be you ❤️

@acegikmo That's not cute! Polynomials only do that when they are in distress!

@acegikmo @lisamelton <Sting voice>
🎶 “A local quadratic polynomial
(That’s my soul up there)
Struggling to fit the rotational
(That’s my soul up there) 🎶

@acegikmo Oh the humanity! Oh the goodness of fit!

@acegikmo If only it were allowed to rotate it's origin freely. Sad. Poor polynomial. I hope it'll feel better soon.

@acegikmo this is what my brain trying to do anything beyond basic maths looks like 🦊 💦

@acegikmo this is the nerdiest toot I've ever read and I'm here for it

@acegikmo quite a fun generator function for something procedural though...

@acegikmo I would love to see the residual error (and maybe R²) on a polar plot
It could look funky

@acegikmo pov: the inside of my head when a friend says she loves me

@acegikmo how would a rational function of two quadratics fare?

@acegikmo I'll be honest, I didn't expect to feel bad for a quadratic function today 😅

@acegikmo tfw you just want to fit in, but all your friends are rotating in an unfamiliar reference frame

@acegikmo if it has some splines as offspring, maybe they do better!