Phone

+919997782184

Email

support@roboticswithpython.com

Geeks of Coding

Join us on Telegram

Home Forums Assignment courserra IBM AI Engineering Professional Certificate Deep Neural Networks with PyTorch WEEK 3 – Multiple Linear Regression Prediction – QUIZ

Viewing 0 reply threads
  • Author
    Posts
    • #1205
      Yash AroraYash Arora
      Keymaster

      P.S. – Feel Free to Enter Missing answers.

      Question 1 –
      Including the bias how many parameters does the following object have
      model=nn.Linear(6,1)

      Answers :
      7

      Question 2 –
      Consider the following code. How many rows and columns does the tensor yhat contain?

      X=torch.tensor([[1.0,1.0,1],[1.0,2.0,1],[1.0,3.0,1],[1.0,3.0,1]])
      model=nn.Linear(3,1)
      yhat=model(X)

      Answer :
      4, 1

      Question 3 –
      How do you calculate the gradient and perform the update for Multiple Linear Regression with 10 input variables?

      Answer:

Viewing 0 reply threads
  • You must be logged in to reply to this topic.