Course Assignments
Module-level Graded Quiz: Tensor and Dataset :Introduction to Neural Networks and PyTorch (IBM AI Engineering Professional Certificate) Answers 2025
1. Question 1 Result of: a = torch.tensor([1,2,3]) a.dtype ✅ torch.int64 ❌ torch.float32 ❌ LongTensor ❌ Float Explanation:PyTorch defaults integer tensors to int64 unless specified otherwise. 2. Question 2 Tensor type for unsigned integers used in 8-bit images: ✅ Byte ❌ Integer ❌ Float ❌ Double Explanation:8-bit images → values 0–255 → PyTorch uses torch.uint8… <a href="https://codeshala.io/platform/coursera/course/introduction-to-neural-networks-and-pytorch-ibm-ai-engineering-professional-certificate/assignment/module-level-graded-quiz-tensor-and-dataset-introduction-to-neural-networks-and-pytorch-ibm-ai-engineering-professional-certificate-answers-2025/" rel="bookmark"><span class="screen-reader-text">Module-level Graded Quiz: Tensor and Dataset :Introduction to Neural Networks and PyTorch (IBM AI Engineering Professional Certificate) Answers 2025</span></a>
Module-level Graded Quiz: Linear Regression :Introduction to Neural Networks and PyTorch (IBM AI Engineering Professional Certificate) Answers 2025
1. Question 1 What is wrong with the code? ❌ “LR” not required ❌ nn.Module not required ❌ super not required ✅ “linear” should be self.linear Explanation:Inside forward, PyTorch modules must be referenced using self.linear, not linear. 2. Question 2 Noise in linear regression refers to: ❌ Variation in parameters ✅ Random errors added to… <a href="https://codeshala.io/platform/coursera/course/introduction-to-neural-networks-and-pytorch-ibm-ai-engineering-professional-certificate/assignment/module-level-graded-quiz-linear-regression-introduction-to-neural-networks-and-pytorch-ibm-ai-engineering-professional-certificate-answers-2025/" rel="bookmark"><span class="screen-reader-text">Module-level Graded Quiz: Linear Regression :Introduction to Neural Networks and PyTorch (IBM AI Engineering Professional Certificate) Answers 2025</span></a>
Module-level Graded Quiz: Linear Regression Pytorch Way :Introduction to Neural Networks and PyTorch (IBM AI Engineering Professional Certificate) Answers 2025
1. Question 1 True statement in Stochastic Gradient Descent: ✅ The value of the approximate cost will fluctuate rapidly with each iteration. ❌ Minimizing error for one sample affects next sample ❌ Minimizing first increases second ❌ Fluctuates with each epoch Explanation:SGD updates per single sample, so cost jumps quickly each iteration. 2. Question 2… <a href="https://codeshala.io/platform/coursera/course/introduction-to-neural-networks-and-pytorch-ibm-ai-engineering-professional-certificate/assignment/module-level-graded-quiz-linear-regression-pytorch-way-introduction-to-neural-networks-and-pytorch-ibm-ai-engineering-professional-certificate-answers-2025/" rel="bookmark"><span class="screen-reader-text">Module-level Graded Quiz: Linear Regression Pytorch Way :Introduction to Neural Networks and PyTorch (IBM AI Engineering Professional Certificate) Answers 2025</span></a>
Module-level Graded Quiz: Multiple Input Output Linear Regression :Introduction to Neural Networks and PyTorch (IBM AI Engineering Professional Certificate) Answers 2025
1. Question 1 Each sample in predictor matrix X represents: ❌ A single feature ✅ One row of predictor variables ❌ Bias term ❌ All weights Explanation:Each row = one data sample containing all its features. 2. Question 2 How is prediction y^\hat{y}y^ computed? ❌ Sum of features ❌ Sigmoid ❌ Multiply bias ✅ Dot… <a href="https://codeshala.io/platform/coursera/course/introduction-to-neural-networks-and-pytorch-ibm-ai-engineering-professional-certificate/assignment/module-level-graded-quiz-multiple-input-output-linear-regression-introduction-to-neural-networks-and-pytorch-ibm-ai-engineering-professional-certificate-answers-2025/" rel="bookmark"><span class="screen-reader-text">Module-level Graded Quiz: Multiple Input Output Linear Regression :Introduction to Neural Networks and PyTorch (IBM AI Engineering Professional Certificate) Answers 2025</span></a>
Module-level Graded Quiz: Linear Classifiers :Introduction to Neural Networks and PyTorch (IBM AI Engineering Professional Certificate) Answers 2025
1. Question 1 Logistic regression predicts: ❌ Price ❌ Age ❌ Weight ✅ The class a sample belongs to Explanation:Logistic regression is a classification model. 2. Question 2 Class vector y represents: ❌ Features ✅ Discrete class labels ❌ Continuous values ❌ Bias terms Explanation:For binary logistic regression, y ∈ {0, 1}. 3. Question 3… <a href="https://codeshala.io/platform/coursera/course/introduction-to-neural-networks-and-pytorch-ibm-ai-engineering-professional-certificate/assignment/module-level-graded-quiz-linear-classifiers-introduction-to-neural-networks-and-pytorch-ibm-ai-engineering-professional-certificate-answers-2025/" rel="bookmark"><span class="screen-reader-text">Module-level Graded Quiz: Linear Classifiers :Introduction to Neural Networks and PyTorch (IBM AI Engineering Professional Certificate) Answers 2025</span></a>