thomas-tanay / post--L2-regularization

Distill submission
33 stars 1 forks source link

Toy Problem Section #9

Open shancarter opened 6 years ago

shancarter commented 6 years ago

I spent some time redesigning the figures for the toy problem section. I didn't get through all of them, but addressed the first few. Thought I'd post to get your thoughts before I continue. There are quite a few changes. Happy to discuss or describe in more detail if needed.

image

thomas-tanay commented 6 years ago

The new design looks really good.

Is each figure a unique svg element (containing arrows, text, etc.) or a combination of html elements? (In my first figure for instance, the image x is a canvas, the captions are in separate divs, and the image space is a div element in which I create an svg element using d3).

In the first figure, do you think the image space should be explorable? (Mine is, but I'm not sure this is necessary).

I like your second figure, I think it's a good idea to introduce the classes I and J in image space before introducing L_theta.

For the third figure, I liked Chris' idea to show the classifications made by L_theta with different colours. Maybe this could still be done with light shades of blue:

toyproblem

I'm also curious to know how you create custom sliders (in the third figure).

shancarter commented 6 years ago
shancarter commented 6 years ago

Also, just to note, out of laziness I've mislabeled some stuff and/or left out greek letters. Just me being lazy. :)

shancarter commented 6 years ago

I made some more progress:

l2-02-01

Some things to note:

thomas-tanay commented 6 years ago

Looks good! I'll update my version in the coming days.

A few comments:

shancarter commented 6 years ago

image

thomas-tanay commented 6 years ago

Great! Thanks for all the suggestions, I'll update my version and let you know when I'm done :)

thomas-tanay commented 6 years ago

I just submitted an updated version with the new figure designs. I think it looks a lot better that way.

One remaining limitation is that the math symbols used in the text (mathjax) and in the figures (svg/canvas) are different. I haven't found a satisfying way to uniformize them yet.