[HN Gopher] GoodGuesser
___________________________________________________________________
GoodGuesser
Author : tosh
Score : 68 points
Date : 2022-04-05 22:30 UTC (1 days ago)
(HTM) web link (twitter.com)
(TXT) w3m dump (twitter.com)
| tosh wrote:
| As far as I understand (please correct me:)
|
| Sometimes (quite often actually) there are functions that aren't
| trivial to implement but at the same time it is almost trivial to
| come up with concrete input/output pairs for them.
|
| GoodGuesser lets you derive a function based on the examples you
| provide.
|
| Related twitter thread from february:
| https://twitter.com/lisperati/status/1492165176451387401
| drcode wrote:
| Yes that's exactly right. My library isn't doing anything super
| smart (just statistics 101) but if you have to do some awkward
| heuristic in your code (to "eyeball" some approximate
| parameters) it's better to just supply some input/output
| examples as part of your code (which GoodGuesser autogenerates)
| then just have a computer approximate the ideal parameters
| using multiple linear regressions. That will be a lot easier to
| maintain than some sort of hacky heuristic.
|
| Plus, once you've refactored your logic as input/output pairs,
| It'll be easier in the future to do fancier stuff with your
| code if you want (deep neural nets, etc)
| dang wrote:
| Related (via submissions without comments):
|
| https://github.com/drcode/good-guesser
|
| https://www.youtube.com/watch?v=2SFNbiurWhc
|
| Bat signal to drcode!
| tosh wrote:
| the video is great
| amelius wrote:
| I have a 34" screen. On the first page, I couldn't see what this
| was about.
|
| Why make me guess? (pun intended)
| drcode wrote:
| I agree things are a bit confusing on this project, was hoping
| people would just watch my video, which is pretty clear. Lesson
| learned for the future to improve how I present things!
| berkes wrote:
| I found your presentation very engaging and clear. Quirky,
| but in a good way.
| tosh wrote:
| I wish every library had an intro/demo video somewhat like
| this.
| latenightcoding wrote:
| People are/were downvoting you but I actually gave up trying to
| figure out what this is about after 3 mins of the video.
| drcode wrote:
| Author here, AMA
| sillysaurusx wrote:
| Is there a way for me to actually pay you some quantity of
| money in exchange for anything shipped to my doorstep? Because
| I will absolutely pay you some nontrivial quantity of money.
|
| $19.95 + shipping and handling is a bargain. Charge more!
|
| (The programming world has been waiting a long time for a Billy
| Mays of devs. You're a natural.)
| deepnet wrote:
| I like this project and will play with it, many thanks.
|
| The video was fun, catchy and engaging. You explanation was
| clear and concise.
|
| The music was fine at the start but as it continued all the way
| through it made it hard for me to concentrate and I found it
| easier to mute and use subtitles.
| drcode wrote:
| I have a guy on Fiverr that does my editing, and we have an
| agreement: He makes my garbage raw videos look pretty awesome
| in short order, and I don't nag him about details or ask for
| revisions.
| ynniv wrote:
| Does it work for discrete values, or only continuous ones?
| drcode wrote:
| Only continuous ones. You would have to reformulate it as a
| continuous problem, such as using separate GoodGuesser
| examples for each discrete category, with human labels that
| are 1 or 0 for a category, then have GoodGuesser guess the a
| likelihood between 0 and 1 for each category.
| vmilner wrote:
| I love your Land of Lisp song :-)
| Stampo00 wrote:
| Are those t-shirts from last month gone for good? I didn't hear
| about it at the time and I would have snapped one up in a
| second.
| drcode wrote:
| Sorry it's too late :(
|
| Since I wanted them printed using real screen printing, we
| only had one shot to put in an order that was big enough.
|
| But tell you what, give me a contact email and I'll send you
| a spare that I have (if "large" works)
| Stampo00 wrote:
| I appreciate that, but a large probably wouldn't fit me.
| I'll just have to keep an eye out for your subsequent
| projects so I don't miss out on more cool stuff.
___________________________________________________________________
(page generated 2022-04-06 23:01 UTC)