Sometimes you’re just minding your own business, trying to get a little science done, and a little art pops out at you all unexpected.
What?!? You want to know where this comes from? All is revealed beneath the fold…
The dotted line is, not surprisingly, the sine function plotted from about -10 to +15. The dashed line is a crazy rational function evolved using genetic programming. The bold line shows where the test data came from that was used to evaluate the quality of the evolved solutions, and it’s clear that in that range the evolved function matches very closely.
It’s also clear that outside of that range (which was never part of the evolutionary training), the evolved function rapidly wanders off into its own happy place (including a nifty discontinuity at around x=10). This is in fact to be expected. The GP system was only allowed to use +, *, -, and /, i.e., all it could construct were rational functions. There are no rational functions that match sine across its entire range, so this is really about as good as we could do given those tools. If we’d given the GP system a periodic function (like cosine) in its toolkit, then it could potentially evolve something that would match sine everywhere. With rational functions, though, it just ain’t gonna happen.
But this graph looks a lot cooler than it would if they matched everywhere :-).
Oh?
The function that it actually evolved?
You sure you want to see that?
Well, OK…
where
I never promised it would make a lot of sense, did I? Evolution often doesn’t produce pretty. So much for intelligent design…
]]>
It actually took me a second to get it – how annoying that a web comic would actually be subtle enough to challenge a little :-).
]]>A wonderfully nerdly performance of mental arithmetic. I found his use of word mnemonics to remember large numbers quite cool.
]]>This wonderful little video (produced by some U of M Twin Cities mathematicians) has apparently been viewed over 1 million times now, which is a lot more views than it would ever get in class. I frequently run into faculty that are very intent on holding on to their teaching ideas and techniques, and certainly not sharing them openly with the world. They see those ideas as “their property”, to be guarded and controlled as much as possible. It’s a weird attitude, because almost none of them will ever see any money from those ideas, and the potential for wider viewing and usage is just so much greater if they open up (as in this case).
A good video like this takes a lot of time to produce, but faculty often put in huge hours on their lectures, labs, and demonstrations. Get it out there!
]]>