# Tutor profile: Tyler C.

## Questions

### Subject: Python Programming

Please write a list comprehension to make a list of the cubes of odd numbers from 1 to 15

[x**3 for x in range(16) if x % 2 == 1]

### Subject: Artificial Intelligence

What is the purpose of regularization?

Regularization is a technique that helps the model avoid overfitting. This is accomplished through the addition of a "penalty" term at the end of our cost function. The penalty term is higher when the weight vector is larger; this has the effect of penalizing a large weight vector and decreasing the risk of overfitting. Regularization is example of trading a reduction in variance for an increase in bias.

### Subject: Statistics

Let there be a random variable X that follows a normal distribution with mean = 5 and standard deviation = 3. What is the probability P(X > 6)?

First we need find the z-score. The z-score is calculated with the following formula... z = (x - mu) / sigma In our case the conversion looks like... z = (6 - 5) / 3 z = 0.3333 Then we look up the P(Z < 0.3333) on a z-score table. Upon looking at a z-score table, we see that P(Z < 0.3333) = 0.6293 Our answer is equal to 1 - P(Z < 0.3333) = 1 - 0.6293 = 0.3707 We had to do 1 minus z-score since the inequality is flipped in our question.

## Contact tutor

needs and Tyler will reply soon.