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 Output Linear Regression – QUIZ

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

      Question 1 –
      How many bias parameters will object model have?

      class linear_regression(nn.Module):
          def __init__(self,input_size,output_size):
              super(linear_regression,self).__init__()
              self.linear=nn.Linear(input_size,output_size)
          def forward(self,x):
              yhat=self.linear(x)
              return yhat
              
      model=linear_regression(3,10)

      Answer :
      10

      Question 2 –
      What parameters do you have to change to the method backwards() when you train Multiple Output Linear Regression compared to regular Linear Regression?

      Answer :
      None of them

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