# Course2 Week3 - Confusion about the example given for linear scale

In second video of Week 3, Andrew NG talks about which scales to be used for hyperparameters. He gives an example for linear scale, where the range is between 0.0001 and 1. He says that if we were to use a linear scale %10 of our resources would be go to range between 0.0001 - 0.1 and %90 would be gone to 0.1 - 1.

I didn’t understand what does he mean by resources and how he decided that only %10 is in range 0.0001 - 0.1 when we use a linear scale. I would be happy if someone also give some example about this while explaining it.

1 Like

Hi, @mavibirdesmi.

You can think of resources as time. 10% is just the probability of getting a value between 0 and 0.1 if you sample uniformly between 0 and 1.

Check out this post if it’s not clear why you don’t want to sample uniformly.

Good luck with the course

I understood the 10% probability in a linear scale. But can you please explain how by changing to logarithmic scale raises the probability of getting a value within the range 0.0001 and 0.001

Hi, @amitp.