Question: 1 . Let's assume that you are building a model to detect fraudulent transactions in an online payment system. The priority is to avoid blocking

1. Let's assume that you are building a model to detect fraudulent transactions in an online payment system. The priority is to avoid blocking legitimate transactions. Here the number of true positives is 40, false positives are 10, the true negative is 140 and false negatives are 10. Calculate the precision, recall, and F1 score. Now if you have a chance to improve either precision or recall then which one will you choose to improve? Explain your choice
2. Consider the following "dataset" with a single feature \( x \), and corresponding true label values \( y \) are shown in the table below
a) Write an equation to explain the relationship between \( x \) and \( y \)
b) Find the updated value of \( m \) and \( c \) up to the second iteration. [ Assume the avg line and its corresponding \( m \) and \( c \) as the first iteration value. Assume that the learning rate \(=0.01\). Use MSE as your cost function here]
c) Find the final predicted value \( y_{-}\)hat for this dataset after \(2^{\text {no }}\) iteration
d) Compute the RMSE between the final predicted values obtained in (b) and true label values, showing all work.
3. If \(\mathrm{SS}_{\mathrm{fit}}=60\) and \(\mathrm{SS}_{\text {mean }}=80\) then find out the corresponding R 2 score. If another line has \(\mathrm{SS}_{\mathrm{fit}}=\)50 then which line is better and why.
4. Suppose you want to teach a robot to grasp objects, navigate through environments, or perform assembly tasks. You also want it to adopt to the changing situations of the environment with time. What kind of learning problems should you use to solve this machine learning problem. Explain your choice. 5. Explain the relationship between the learning rate and the convergence of a linear regression model using gradient descent. How does the choice of learning rate impact the training process, and what are the potential consequences of selecting a learning rate that is too small or too large?
6. What are hyperparameters and normalization in a machine learning model.
7. Explain the significance of a negative correlation coefficient in the context of a correlation matrix.
8. What is SMOTE? Explain with examples.
1 . Let's assume that you are building a model to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!