Python Data Science Jobs & Interviews
20.7K subscribers
195 photos
4 videos
26 files
341 links
Your go-to hub for Python and Data Science—featuring questions, answers, quizzes, and interview tips to sharpen your skills and boost your career in the data-driven world.

Admin: @Hussein_Sheikho
Download Telegram
🧠 Quiz: What is the fundamental data structure for all computations in PyTorch?

A) NumPy Array
B) PyTorch Tensor
C) Pandas DataFrame
D) Python List

Correct answer: B

Explanation: PyTorch Tensors are multi-dimensional arrays, similar to NumPy arrays, but with the added ability to run on GPUs for accelerated computation and support for automatic differentiation, which is crucial for neural network training.

#PyTorch #DeepLearning #Tensors

---
By: @DataScienceQ
1👏1
Interview question

What is the purpose of a pooling layer in a Convolutional Neural Network (CNN)?

Answer: A pooling layer (like Max Pooling or Average Pooling) is used to progressively reduce the spatial size (width and height) of the feature maps. This serves two main purposes: 1) It reduces the number of parameters and computational complexity, which helps to control overfitting. 2) It introduces a degree of translation invariance, meaning the network becomes more robust to small shifts and distortions in the position of features in the input image.

tags: #interview #cnn #deeplearning

━━━━━━━━━━━━━━━
By: @DataScienceQ