Fork me on GitHub

I am missing keras, actually. I will be looking into dl4j now with clojure. But yea, the amount of tutorials on machine learning is much larger with python than with java, let alone clojure.


if you had to guess, what would you say the global average number of children an html element has in the wild?


seems like the number is closer to 1 on most sites! For JS console:

var all = document.body.getElementsByTagName("*");
var n = 0
for (var i=0, max=all.length; i < max; i++) {
	n += all[i].children.length
n / all.length


It would be interesting to see how much it varies per tag. I'd guess divs tend to have 1 or 2 children, stuff like p or b tends to have 0, which tag has the most?


Yea, It seems most tags are leafs


and even non-leaf nodes comprise a huge number of container divs that just wrap another element for some reason usually related to css madness