
Prepare for data science interviews with over 150 questions across machine learning, neural networks, deep learning, statistics, SQL, and interview-facing topics, organized into ten sections with practical answers.
Data science lecture on k-means highlights its simple, fast, and explainable clustering, while noting the need to choose k, sensitivity to initialization and outliers, struggles with non-spherical shapes, and standardization.
Dimensionality reduction lowers model variance and overfitting by reducing features, speeds training, and saves storage. It also mitigates multicollinearity, aids visualization in 2D–3D, and combats the curse of dimensionality.
Understand multicollinearity in multiple regression, where highly correlated independent variables count the same feature twice and undermine statistical significance. Use VIF with a threshold of five to remove one variable.
Evaluate algorithms on unbalanced data using metrics like precision, recall, F1, MCC, and ROC AUC to avoid misleading accuracy. Use undersampling, oversampling, SMOTE, or cost-sensitive models to balance classes.
Learn to handle missing data with deletion or imputation, using mean, median, mode, interpolation, and multiple imputation, plus time series considerations and predictive models like logistic regression and ANOVA.
Learn to determine whether offering coupons affects purchase decisions by using one-way ANOVA to compare means across three groups (two coupon types and no coupon) using the F distribution.
Explore the advantages and disadvantages of neural networks and deep learning, including state-of-the-art performance across image, language, translation, speech, and time series tasks, and challenges like interpretability and data needs.
The popularity of deep learning rises from vast data and faster GPUs, enabling the training of deep neural networks for state-of-the-art results in image recognition.
Pooling, including max pooling, drives translation invariance in CNNs by summarizing nearby outputs, so a shifted input yields similar pooled values, while convolution and activation create features used by pooling.
Explore the four main CNN layers: convolutional, ReLU, pooling, and fully connected, and how they build feature learning toward a softmax-classified image output.
Use many small 3x3 kernels to achieve the same receptive field with fewer parameters and computations, while enabling more filters and activation functions for a more discriminative CNN.
Explain how generative adversarial networks, consisting of a generator and a discriminator, train to produce images indistinguishable from real ones by fooling the discriminator through their competing objectives.
Apply the softmax non-linearity as the last network operation to convert a real-valued vector into a probability distribution by exponentiating each element and normalizing by the sum of exponentials.
Explore the relu activation function, noting its computational efficiency and non-linear backpropagation-friendly nature, while recognizing the dying relu drawback where gradients vanish for zero or negative inputs, hindering learning.
Explore how backpropagation trains neural networks by performing a forward pass, computing error, propagating gradients to adjust weights, and updating them across batches and epochs.
Explore four hyperparameter tuning methods for machine learning, including manual tuning, grid search, random search, and Bayesian optimization, and learn how each affects model accuracy.
Explain variational autoencoders, highlighting probabilistic hidden cells, Bayesian inference and reparameterization, and discuss their generative applications in images, faces, music, molecules, and drug design.
Explore Hopfield networks, a fully connected recurrent architecture where every neuron connects to all others, with fixed weights that converge to learned patterns as associative memory for pattern recognition tasks.
Explore echo state networks as a variant of recurrent networks with random, nonlayered connections. Train only observer-to-hidden links, with input priming, for efficient time series forecasting and sequence prediction.
Being a data scientist is one of the most lucrative and future proof careers with Glassdoor naming it the best job in America for the third consecutive year in a row with great future growth prospects and a median base salary of $110,000. I have recently made the transition from being a PhD student in Computer Science to a Senior Data Scientist at a large tech company. In this course I give you all the questions and answers that I used to prepare for my data science interviews as well as the questions and answers that I now expect when I am giving interviews to potential data science candidates. The course provides a complete list of 150+ questions and answers that you can expects in a typical data science interview including questions on machine learning, neural networks and deep learning, statistics, practical experience, big data technologies, SQL, computer science, culture fit, questions for the interviewer and brainteasers.
What questions will you learn the answer to?
What is the bias-variance tradeoff?
How would you evaluate an algorithm on unbalanced data?
When would you use gradient descent (GD) over stochastic gradient descent (SDG), and vice-versa?
Why do segmentation CNNs typically have an encoder-decoder style / structure?
Why we generally use Softmax non-linearity function as last operation in-network?
You randomly draw a coin from 100 coins — 1 unfair coin (head-head), 99 fair coins (head-tail) and roll it 10 times. If the result is 10 heads, what is the probability that the coin is unfair?
Given the following statistic, what is the probability that a woman has cancer if she has a positive mammogram result? 1% of women have breast cancer, 90% of women who have breast cancer test positive on mammograms and 8% of women will have false positives.
Write a SQL query to get the second highest salary from the Employee table. If there is no second highest salary the query should return null.
What is the average time complexity to search an unsorted array?
Why do you want to work here?
How can you generate a random number between 1 – 7 with only a die?
About the instructor:
Senior Data Scientist at a large tech company
Recently finished PhD in Computer Science and moved to industry
5+ years teaching experience at university level