Machine Learning Concepts and Techniques Drill

Table of Contents

Machine Learning Drill

Supervised Learning

What is supervised learning?   drill python_machine_learning

Answer
  • A type of machine learning where the model is trained on labeled data.

What is regression?   drill python_machine_learning

Answer
  • A type of supervised learning where the model predicts a continuous output.

What is classification?   drill python_machine_learning

Answer
  • A type of supervised learning where the model predicts a categorical output.

What is the difference between linear regression and logistic regression?   drill python_machine_learning

Answer
  • Linear regression is used for continuous outputs, while logistic regression is used for binary categorical outputs.

Unsupervised Learning

What is unsupervised learning?   drill python_machine_learning

Answer
  • A type of machine learning where the model is trained on unlabeled data.

What is clustering?   drill python_machine_learning

Answer
  • A type of unsupervised learning where the model groups similar data points together.

What is dimensionality reduction?   drill python_machine_learning

Answer
  • A type of unsupervised learning where the model reduces the number of features in the data.

What is the difference between k-means and hierarchical clustering?   drill python_machine_learning

Answer
  • K-means is a type of clustering that partitions the data into k clusters, while hierarchical clustering builds a tree-like structure of clusters.

Neural Networks

What is a neural network?   drill python_machine_learning

Answer
  • A type of machine learning model inspired by the structure of the brain.

What is a perceptron?   drill python_machine_learning

Answer
  • A type of neural network with a single layer.

What is backpropagation?   drill python_machine_learning

Answer
  • An algorithm used to train neural networks by minimizing the error.

What is the difference between a convolutional neural network (CNN) and a recurrent neural network (RNN)?   drill python_machine_learning

Answer
  • A CNN is used for image data, while an RNN is used for sequential data.

Deep Learning

What is deep learning?   drill python_machine_learning

Answer
  • A type of machine learning that uses neural networks with multiple layers.

What is a deep neural network?   drill python_machine_learning

Answer
  • A type of neural network with multiple layers.

What is transfer learning?   drill python_machine_learning

Answer
  • A technique used to fine-tune a pre-trained model on a new task.

What is the difference between a generative adversarial network (GAN) and a variational autoencoder (VAE)?   drill python_machine_learning

Answer
  • A GAN is used for generating new data, while a VAE is used for dimensionality reduction.

Scikit-Learn

What is Scikit-Learn?   drill python_machine_learning

Answer
  • A popular machine learning library for Python.

What is the purpose of the `fit` method in Scikit-Learn?   drill python_machine_learning

Answer
  • To train a model on the data.

What is the purpose of the `predict` method in Scikit-Learn?   drill python_machine_learning

Answer
  • To make predictions on new data.

What is the difference between `accuracyscore` and `f1score` in Scikit-Learn?   drill python_machine_learning

Answer
  • `accuracyscore` measures the proportion of correct predictions, while `f1score` measures the harmonic mean of precision and recall.

TensorFlow

What is TensorFlow?   drill python_machine_learning

Answer
  • A popular deep learning library for Python.

What is the purpose of the `tf.Session` object in TensorFlow?   drill python_machine_learning

Answer
  • To manage the computation graph.

What is the purpose of the `tf.Variable` object in TensorFlow?   drill python_machine_learning

Answer
  • To represent a trainable variable.

What is the difference between `tf.keras` and `tf.estimator` in TensorFlow?   drill python_machine_learning

Answer
  • `tf.keras` is a high-level API for building neural networks, while `tf.estimator` is a low-level API for building custom models.

Author: Jason Walsh

j@wal.sh

Last Updated: 2024-10-30 16:43:54