HNHacker News
TopNewBestAskShowJobs

extremelearning

146 karma · joined June 17, 2018

Martin Roberts web: www.extremelearning.com.au email: martin (@) robertsanalytics.com Twitter: @Techsparx LinkedIn: https://www.linkedin.com/in/martinroberts/
submissionscomments
extremelearning··on Seeking a Partner for Senior Level Data Science Mock Interviews
Hi @jbed, I have sent an email to you, as my colleague and I are in the space of assisting people to progress through the interview process. Cheers, Martin
extremelearning··on Ask HN: Could you share your personal blog here?
www.extremelearning.com.au

Posts about interesting extensions I’ve found to some statistical algorithms for use in computer graphics, physics and applied maths.

Major focus on quasirandom sampling.

extremelearning··on [dead]
Hi, I'm happy to chat with your brother, to help him work out what are some good questions to ask, when looking for the best kind of service provider / consultant is best for him. I might then either be able to help him myself, or I recommend someone from my network, or send a wider call on my linkedin profile for someone to help him.

martin @ robertsanalytics.com https://www.linkedin.com/in/martinroberts/

extremelearning··on A New Coefficient of Correlation
thanks. this is what i was intending to say, but you said it much better. :)
extremelearning··on A New Coefficient of Correlation
This new coefficient of correlation is really really awesome, and this visualization shows its value in such a beautifully simple presentation.

It would be great if someone who has Wikipedia edit privileges, can edit the Wikipedia article at [1] to describe/link how the Chatarjee's correlation coefficient solves many of the known limitation of Pearson's correlation coefficient. ;)

[1] https://en.wikipedia.org/wiki/Pearson_correlation_coefficien...

(especially second top-left diagram)

extremelearning··on A New Coefficient of Correlation
This is an order-based algorithm, so it is more related to the median than the mean.

Another very useful consequence of being order-based, is that this new coefficient is much more robust to noise/outliers than the canonical correlation coefficient.

extremelearning··on Fibonacci Sphere
thank you for these kind words. ;)
extremelearning··on Fibonacci Sphere
1. yes, the index represents the dimensionality

So[0,1)^1 is a line interval, [0,1)^2 is a unit square and [0,1)^3 is the unit cube, and [0,1]^d is a d-dimensional cube.

2.Only one boundary can be included

It includes 0 but not 1 because it can only the context is usually that practitioners want a region where one edge will wrap to the opposite edge. Thus they treat [0,1)^2 as if it is actually a 2-dimensional torus.

thus the the 2 boundaries acutally map to the same point, so you can only include one of them. In our case as we are using x %1 = fractional part of x, the fractional part could be 0, if x=3.0, but it could never be exactly 1.

3) the mapping from the circle to the surface of the sphere is described here https://en.wikipedia.org/wiki/Lambert_azimuthal_equal-area_p...

the entire top edge of the square maps to the north pole, and the entire bottom edge maps to the south pole.

4.) t0 is the first point, t3 is the 4-th point.

Hope that helps!

extremelearning··on Fibonacci Sphere
You are right. In mathematics, the traditional notation {x} represents the fractional part of x.

Regarding the two-variable function mod(x,b). Typically this is written as x (mod b) in maths, and as x%b in computing.

It is generally well known that for positive integers x and b, the output of this function is the remainder when x is divided by b.

However, what is less well-known is that if b=1, then the convention is that:

x (mod 1) = x%1 = fractional part of x.

For example, Python, Excel both implement this special convention.

extremelearning··on Fibonacci Sphere
I don't have any intelligent comments on your question, but I wanted to say that I am a fan of Quanta magazine, but somehow had missed this really cool article. So thanks for pointing me to this fascinating field. ;)
extremelearning··on Fibonacci Sphere
One reason/situation where the Fibonacci method is preferred is because it is a direct construction method, which can be coded in a few lines, rather than an indirect iterative method. The second is that because an energy minmization method is minimizing the sum of forces, it more closely minimizes average distance between points, rather than absolute minimum distance which is what packing distance focuses on.

As I describe in the article, different methods produce similar but slightly different solutions. An optimal solution for one objective function, may not be the optimal for a different objective function. I then give details about how the solution that optimizes volume of the convex hull is different to the solution that optimizes for packing distance, etc.

extremelearning··on Fibonacci Sphere
I believe it is right. However, I often get these two intuitively mixed up because:

Icosahedron: 12 points, 20 faces (and 30 edges)

Dodecahedron: 20 points, 12 faces (and 30 edges)

extremelearning··on Fibonacci Sphere
Author here. Happy to try to answer any questions! ;)
extremelearning··on Learn How to Tie Knots
I was given the book "The 85 ways to Tie a Tie" as a gift many years ago. It is a wonderful read for nerds.

"Two physicists prove that there are not just four ways to tie a tie, but a further eighty-one. ‘The 85 Ways to Tie a Tie’ unravels the history of ties, the story of the discovery of the new knots and some very elegant mathematics in action."

https://www.amazon.in/85-Ways-Tie-Science-Aesthetics/dp/1841...

extremelearning··on Lonely people's brains are different due to excess of imaginary social contact
this a hundred times, for me. Thank you for expressing this so well.
extremelearning··on Obsolete trig functions and why we don't use them anymore (2013)
LOL! tx.
extremelearning··on Obsolete trig functions and why we don't use them anymore (2013)
For those interested in this topic, I wrote a similar blog post on the geometric interpretation of the various trig functions, which also includes some similar diagrams for the hyperbolic trig functions: sinh, cosh, tanh, sech, etc.

http://extremelearning.com.au/trigonometry-visualised/

extremelearning··on Dr. Phil Maffetone’s MAF Method for Athletic Performance
my pleasure.
extremelearning··on Dr. Phil Maffetone’s MAF Method for Athletic Performance
Hi voisin,

Congrats on your half marathon. It is in some ways not that much a jump from 21km to 100km runs.

Regarding my personal path, although I have always been generally fit and healthy, I went from no running as an adult to doing a single half marathon, to doing a 100 mile ultra 12 months later (that is, I skipped the build-up through marathons).

Being a geek I initially (obsessively) focused on two quantitive things: heart rate and cadence.

The key to ultras is that that your energies (both mental and physical) should be focused on progressively running farther, rather than getting progressively faster. And thus absolutely key to ultra trianing is the regular long slow run. And this is where Maffetone plays a crucial role because it forces you, no matter how excited or energised you are on a particular training day, to go slow and steady.

Plus it has the benefit that you can track your improvment accurately because the constant max heart rate forces every training run to be equal effort. (Without this restriction, if you are timing yourself during training the temptation is just to push yourself harder, which often leads to injury or inefficient training.)

For what it is worth, after a year or two of running by heart-rate, I generally don't anymore. Intimately linked your cardio system is your respiratory system, and so the complementary version of Maffetone's system is to limit your running based on a maximum respiratory rate. With both a physiological and pragmatic foundation, an optimal rate is to run no faster than you can breath through your nose. (Even if you can't or don't like breathing through your nose, every ten minutes or so, just try running for a whole minute through your nose. If you run out of breath and begin panting then you are running too fast.) I still wear a heart rate monitor when I run, and so i can tell you that the pace based on Maffetone's is very similar to the pace dictated by my 'breathe through your nose' system. So pick whatever works best for you. ;)

Furthermore, I focused on cadence. Read about how a running cadence of 180+ steps per minute can minimise overstriding and thus injury. The debate of heel-first, mid-foot or balls-of-feet running debate fades away if you get your cadence right. These days, there are a million running and/or music apps specifically designed to beep at 180bpm. (And if you picking a 3/4 musical time signature it means you will more equally develop both sides of your body). You don't necessarily need to have them play for the entire duration of your training run, but it is important (and interesting) to see that when people are tired their cadence drops. So it is good to trian yourself that when you are tired to shorten your stride-length and not your cadence -- which is opposite to what most people do.

Ultramarathon training doesnt' require you to be fast, it just requires that you have done lots of distance in training. A cadence of 180 is higher than most people run, but is really good for all sorts of running esp long distnace running as it minimises deceleration on your ankles, knees and hips and thus maximises efficiency and minimises injury. It's like riding a bike in a very low gear.

A useful rule-of-thumb is that to have a good chance of completing a long-distance race of X km, you should be doing at least X km of training per week, for at least 4 weeks prior to the race.

Finally there is the saying, "The first third of the race you run on your legs, the middle in your head, and the last by your heart."

That is, fitness and physical training gets you the base, but there is a lot more of a mental strength for ultras than many expect. Although whatver training system you choose might look like they are focused on developing your physical base, it is just as much about building your mental strength to run for such a long time.

Hope that helps, and Good luck!

extremelearning··on Dr. Phil Maffetone’s MAF Method for Athletic Performance
I based much of my training for ultramarathons on his system and principles. Very happy with the process and results.
extremelearning··on The unreasonable effectiveness of quasirandom sequences (2018)
See also https://news.ycombinator.com/item?id=17873284 for a previous discussion on this article (2018)
extremelearning··on Ask HN: Resources to teach myself Statistics?
"𝗘𝗹𝗲𝗺𝗲𝗻𝘁𝘀 𝗼𝗳 𝗦𝘁𝗮𝘁𝗶𝘀𝘁𝗶𝗰𝗮𝗹 𝗟𝗲𝗮𝗿𝗻𝗶𝗻𝗴" 𝗯𝘆 𝗛𝗮𝘀𝘁𝗶𝗲, 𝗧𝗶𝗯𝘀𝗵𝗶𝗿𝗮𝗻𝗶, & 𝗙𝗿𝗶𝗲𝗱𝗺𝗮𝗻

This is one of the clearest and most respected statistics books ever written.

I personally owe the start of my machine learning career to this book!

You will find so many people around the world (online and IRL) who consider this the bible for statistical learning.

It is so readable, and yet filled with gems and insights from one of the world's most preeminent statisticians.

Free PDF: http://ow.ly/v5Uw50obzpO

Datasets & code: http://ow.ly/a8UZ50obzpN

R Code: http://ow.ly/EEdf50kXUBS

Videos: also available at various sources.

extremelearning··on Ask HN: What is your favorite motto?
Kind heart. Kind thoughts. Kind words. Kind actions.
extremelearning··on The unreasonable effectiveness of quasirandom sequences (2018)
Glad you liked this one. ;)
extremelearning··on Ask HN: Do you have a personal website?
Probably very relevant is the recent Ask HN thread relevant: "Do you have a personal blog?"

https://news.ycombinator.com/item?id=24404704

where the people posting also comment on where they host it and why. ;)

extremelearning··on Ask HN: What Is Your Blog?
1. Mainly computational and applied maths - especially in the context of statistical sampling and computer graphics.

Some of my posts are detailed articles which, in my next life will evolve to journal papers, but most are just interesting things I have stumbled upon and explored, and then shared because I thought others might find them helpful and/or interesting, too.

2. Sporadically, but about once a month.

3. Wordpress. Why? I just downloaded some themes and a handful of plugins, and voila! I had a blog that is: well designed; has a responsive layout; elegantly displays math equations, and although 99% of the time has miniscule traffic, it copes well with occasional HN-induced traffic spikes. This means I can then set it and forget it, and focus more on writing.

4. http://extremelearning.com.au/

extremelearning··on Ask HN: How to spend your day when you are searching for the next idea?
My suggestion is to keep a notebook with you at all times, and keep track of the following 3 things:

# 1. Every time you need to do something, but you don't don't know how to do it.

Chances are you aren't the only one who doesn't know how to do it.

So once you learn how to do it, write a tutorial and then publish it on the web. The advantage of writing something soon after you learnt it yourself, is you remember which bits were tricky. (If you leave it too long, everything becomes obvious in hindsight and so you think what you write is obvious and thus maybe not worth explaining, writing or sharing.)

Get some feedback and then sell a premium version of it.

# 2. Every time you want to do something but you don't want to do it.

Chances are that you aren't the only one who doesn't want to do it, either.

It is said, the only things people either pay for are fun, knowledge, time, or safety.

So if you have an engineering mindset, you might be inclined to figure out how to automate or outsource this task. Once you have streamlined this for yourself, consider offering this same service to others.

#3. Every time a product or service that you already have, frustrates you.

Chances are that you aren't the only one with the same frustration.

What is the smallest modification you could make to the existing product that would eliminate this frustration.

Cloning / reverse-engineering a product for MVP is almost always faster than building a new product out of thin air. So then build this product and then share it on the web. Get some feedback and if positive, sell an improved version of it.

extremelearning··on Distributing points on sphere more effectively than canonical Fibonacci Lattice
Author here. Happy to try to answer any questions! ;)
extremelearning··on Bayesian Data Analysis, Third Edition [pdf]
Possibly a controversial opinion but my belief is that you can effectively measure the usefulness of a non-fiction work (text book, academic paper, article, tutorial, etc) by asking if you learnt anything from it.

One. Simple. Thing. Is. Enough.

Freedom from the pressure to fully understand everything from a book (or even from a single chapter) has allowed me to learn a lot more in recent years, and in a far more enjoyable manner.

So for me, I read the book quickly or academic paper almost as if it is a fiction. Generally not going back or pausing. Sometimes even faster. (I have found this gives me a better overview of the entire content, comapred to meticulously starting slowly at the first chapter and eventually getting stuck.) I do this until, a particular section stands out and really piques my interest. This is typically either because: (i) it is coincidentally relevant to something I have been recently working on, or (ii) the author's description of a topic is written in just the right way that things 'just click' and I have a newer or deeper understanding of the topic. Often these scenarios give me the intrinsic motivation to spend a longer time on that topic.

In this way, I often read the same book/paper many times over, during a period of a few months, and each time I learn something new. In some ways, this strategy is similar to what some people call the wedge approach which is a balance between the debate of being a studying wide or deep. That is, study a lot of things broadly, several things moderately, and a few things very deeply.

The corollary to this idea comes from my teaching experience. Teachers know that the best learning comes when the difficulty is just at the edge of a student's ability. Not too easy. Not too hard. This is the power of incremental learning. So it makes sense you only have to find one thing in the text book that is just at the edge of what you already know, and learn about that.

So often when I need to do something for work, I apply this +1 technique. I learn what I need to do for my project and then just 'one bit more'. All those 'one bit more' explorations add up to quite a lot over time.

Hope that helps. ;)

extremelearning··on Ask HN: In what unexpected ways has writing a blog affected your career?
I found out that someone did their 4th year honours project focused solely on one of my blog posts: http://extremelearning.com.au/unreasonable-effectiveness-of-...

This discovery was quite surreal as I only found out months later, because neither the student nor the lecturer contacted me at the time.

Also, despite being a math/IT guy working for many years in government, my blog posts have mainly got the attention of graphical computing people in the private sector (eg animation, game studios, digital imaging, etc). This has meant that my work has made some (small) impact in industries beyond those I have worked in or been formally trained in. This has been a nice surprise. It has also markedly increased the breadth of my professional network to now include practitioners and experts from a diverse set of industries.

Finally (like many technical people), although writing is a crucial skill in mid-level management roles as well as consultancy, for most of my career I have had a mental aversion to writing reports, and has been the cause of much work stress.

However, after writing intermittently for many months on topics that I have personally chosen, and on topics that I have some knowledge on, I have found that this has had noticeable effects on both my confidence and capacity to write reports in my day job. I can now write reports faster -- and with considerably less anxiety.

And thus, between all these points, I believe that I can genuinely attribute much of my recent career successes and opportunities to writing my blog.

;)

Page 1 of 3Next →