Better HN
topnewbestaskshowjobs
Log inSign up

rvarma

74 karma · joined Oct 19, 2017 (9y ago) · 12 submissions

Submissions

1.

Understanding Python's GIL(rohanvarma.me ↗)

1 points · by rvarma · 7y ago · discuss

2.

Analyzing Stripe's Chargeback Protection Service(rohanvarma.me ↗)

2 points · by rvarma · 7y ago · discuss

3.

Hessians: A tool for neural network optimization(rohanvarma.me ↗)

2 points · by rvarma · 7y ago · discuss

comment 8y ago · link · parent

Ah yeah, my bad, I should've instead shown the activations after the first layer, since "activation 0" is just the distribution of the random data I started with

comment 8y ago · link · parent

I actually think the idea of using leaky ReLUs is interesting, because it'll still provide a small gradient when x < 0, which perhaps may slightly alleviate the vanishing gradients issue

comment 8y ago · link · parent

Thanks for your comment!

Regarding point 1, I stored both the activations before batchnorm and after since I needed them during the backwards pass. i.e. I stored h_out before and after these operations:

h_out = (h_out - np.mean(h_out, axis = 0)) / np.std(h_out, axis = 0) h_out = gamma * h_out + beta

Regarding point 2, I do realize now that fixing a bad init via Xavier/he initialization and using batch norm fix slightly different problems - if I were to rewrite this post I probably wouldn't talk about initialization at all, or at least mention the Xavier/He initialization.

7.

Batch Normalization for deep networks(rohanvarma.me ↗)

34 points · by rvarma · 8y ago · 12 comments

8.

A comparison of loss functions for machine learning(rohanvarma.me ↗)

4 points · by rvarma · 8y ago · discuss

9.

Nano Review – A microblog for reviewing academic papers(nanoreview.xyz ↗)

4 points · by rvarma · 9y ago · 1 comment

comment 9y ago · link · parent

Thanks for the link! It actually provides a really clear and intuitive explanation of the notion of similarity.

11.

Language Models, Word2Vec, and Efficient Softmax Approximations(rohanvarma.me ↗)

117 points · by rvarma · 9y ago · 33 comments

12.

Implementing a Neural Network in Python(rohanvarma.me ↗)

2 points · by rvarma · 9y ago · discuss