Better HN
topnewbestaskshowjobs
Log inSign up

simonwardjones

145 karma · joined Jun 18, 2020 (6y ago) · 12 submissions

Submissions

1.

Show HN: Thompson Sampling with D3 Visualisation(simonwardjones.co.uk ↗)

3 points · by simonwardjones · 2y ago · discuss

2.

Gradient Boosted Decision Trees(simonwardjones.co.uk ↗)

150 points · by simonwardjones · 6y ago · 7 comments

comment 6y ago · link · parent

haha - I love the use of the word brutal here! It is a brutal leap.

I wanted to give the ideas in the simplest way with friendly emojis and then go onto the more complex derivation with the cost function etc. I haven't explained the idea of the cost function enough. I think your idea for stating with the cost function (as a concept - not a formula) and absolute error may have been nicer to be fair. I can see a nice d3 visual where you can slide the gradient and see the total error change!

I could always add the line of best fit approach and more intuition for the cost function after I introduce training data (and before the brutal leap)?

comment 6y ago · link · parent

I had never actually seen "Data Science from Scratch" - sounds like a book I should read!

Fair point about the gradient descent Vs normal equations closed form solution. I am planning on working through a few algorithms so thought it would be better to introduce gradient descent with something simple before talking about gradient boosted decision trees and Neural Networks. Also I would have to explain more complex matrix stuff like invertibility issues and linear dependance like you said.

I guess I just dodged that bullet and went for gradient descent. Maybe another post for the linear algebra fans! Thanks for reading though!

comment 6y ago · link · parent

Explanation, maths and code

6.

Linear Regression(simonwardjones.co.uk ↗)

184 points · by simonwardjones · 6y ago · 69 comments

7.

Decision Trees(simonwardjones.co.uk ↗)

1 points · by simonwardjones · 6y ago · discuss

8.

Visual Tour of Probability Distributions(simonwardjones.co.uk ↗)

2 points · by simonwardjones · 6y ago · discuss