News for hackers. Stuff that matters.
Re:Show HN: McFly, a smart Bash history search CLI in Rust w... by 0db532a0 on Tuesday December 04, 2018 @07:06AM (#18598645)
I’m still quite new to neural networks. Can you explain the material benefit to using a neural network over a priority queue with a similar weighting system? Are you giving any other input to the neural network than simply the metrics you listed?

P.S. e.g. a polynomial over the metrics. P.P.S. I imagine you’re using the neural network to tune the weights?

Re:Show HN: McFly, a smart Bash history search CLI in Rust w... by tectonic on Tuesday December 04, 2018 @12:37PM (#18601607)
I started with a list of commands prioritized by a linear function of the metrics listed. It did okay, but since I was learning the linear function with back propagation, I figured a "real" network would do slightly better, and it seems to (but possibly only slightly).
Re:Show HN: McFly, a smart Bash history search CLI in Rust w... by 0db532a0 on Tuesday December 04, 2018 @01:20PM (#18602095)
That’s interesting. What’s the more real network than the one with back propagation?
Re:Show HN: McFly, a smart Bash history search CLI in Rust w... by tectonic on Tuesday December 04, 2018 @01:49PM (#18602414)
Rather, the first one was simply a single node linear perceptron (a linear function) that I trained with backprop because I could, even though there are better techniques for fitting a linear function. Now that it's a "real" network, backprop is appropriate.
Re:Show HN: McFly, a smart Bash history search CLI in Rust w... by 0db532a0 on Tuesday December 04, 2018 @02:09PM (#18602656)
Makes sense. Thanks.