1. Home
  2. Explore
  3. Computer Science
  4. Artificial Neural Networks

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Artificial Neural Networks

  • 72Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: AI Foundations
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What is artificial intelligence (AI)?

Tap to flipClick to flipspace

The field of computing that aims to create systems able to perform tasks associated with human intelligence, such as recognizing patterns and making decisions.

Or swipe the card

72 cards

  1. What is artificial intelligence (AI)?

    The field of computing that aims to create systems able to perform tasks associated with human intelligence, such as recognizing patterns and making decisions.

  2. When was the term artificial intelligence coined, and by whom?

    John McCarthy coined the term in 1956 at the Dartmouth Conference.

  3. Why did early AI research face practical limitations?

    The computing power and hardware available at the time were insufficient for many ambitious AI systems.

  4. What milestone did IBM's Deep Blue achieve in the late 1990s?

    It defeated the world chess champion, demonstrating that computers could excel at a complex, specialized task.

  5. How does machine learning differ from deep learning?

    Machine learning uses statistical methods to learn from data. Deep learning is a subfield of machine learning that uses neural networks with multiple computational layers.

  6. Why can recognizing a familiar face be difficult to reproduce with simple rules?

    Recognition can depend on many features and their relationships, such as facial features, hair, and spacing between the eyes.

  7. How do recommendation systems use data?

    They use patterns in past activity and behavior to predict what a user may want next, such as a search result or movie.

  8. Name two everyday applications of AI described in the content.

    Examples include search-result recommendations and identifying friends in uploaded photos.

  9. What are the three major components of a biological neuron described in the content?

    Dendrites, the axon, and synapses.

  10. What is the role of dendrites in a biological neural network?

    They receive signals from surrounding neurons.

  11. What is the role of an axon in a biological neural network?

    It carries a signal away from a neuron toward other neurons.

  12. What role do synapses play in communication between biological neurons?

    They are connection points through which neurons send and receive signals.

  13. How is a biological neuron's threshold related to signal transmission?

    When the neuron's activation reaches a threshold, it sends a signal through its axon.

  14. How does the biological neuron analogy help explain an artificial neural network?

    It provides a model for understanding connected units that receive information, pass signals onward, and adjust through learning.

  15. What is a neuron in an artificial neural network?

    A computational unit that receives inputs, combines them using weights and a bias, and produces an output.

  16. What does a weight represent in an artificial neural network?

    The importance or influence assigned to an input or connection; larger weights give the associated signal greater influence.

  17. How does an artificial neuron combine its inputs?

    It calculates a weighted sum of the inputs, typically adding a bias as well.

  18. What is the weighted sum for inputs x1,x2,…,xnx_1, x_2, \ldots, x_nx1​,x2​,…,xn​ with weights w1,w2,…,wnw_1, w_2, \ldots, w_nw1​,w2​,…,wn​?

    ∑i=1nxiwi\sum_{i=1}^{n} x_i w_i∑i=1n​xi​wi​; a bias may also be added.

  19. What is the purpose of an activation function?

    It transforms a neuron's combined input and determines the signal passed to the next layer.

  20. How does a threshold-based neuron decide whether to fire?

    It fires when its combined input exceeds the specified threshold.

  21. In a threshold example, inputs are 0.60.60.6 and 111, their weights are 0.50.50.5 and 0.80.80.8, and the threshold is 111. Does the neuron fire?

    Yes. The weighted sum is 0.6(0.5)+1(0.8)=1.10.6(0.5) + 1(0.8) = 1.10.6(0.5)+1(0.8)=1.1, which exceeds the threshold of 111.

  22. What is a bias in an artificial neural network?

    An adjustable term added to a neuron's weighted input, allowing it to account for information not captured by the weighted inputs alone.

  23. How are weights and biases related to coefficients and an intercept in regression?

    Weights play a role similar to regression coefficients, while a bias plays a role similar to an intercept.

  24. What is the purpose of backpropagation?

    It sends information about the output error back through the network so that weights can be adjusted to reduce that error.

  25. What happens during a typical neural-network training iteration?

    Inputs pass through the network to produce an output; the output is compared with the desired output; the error is calculated and propagated backward; then weights are updated.

  26. How does a neural network use the difference between predicted and desired output?

    It uses that error to adjust its weights and improve its predictions in later iterations.

  27. Why must a training error function be differentiable for gradient-based backpropagation?

    Differentiability allows the network to calculate how changes in parameters affect the error and use that information to update weights.

  28. What is a learning rate?

    A parameter controlling how strongly weights are adjusted during learning.

  29. What can happen if the learning rate is too large?

    Weight updates may be too aggressive, preventing the network from learning reliably.

  30. What can happen if the learning rate is too small?

    Learning may be excessively slow because weight updates are too small.

  31. What is an epoch in neural-network training?

    One pass through the training data; training commonly repeats for multiple epochs.

  32. What are two common stopping criteria for neural-network training?

    Reaching a target error level and reaching a maximum number of iterations or epochs.

  33. Why can the weights learned by two runs of the same neural-network setup differ?

    The network may start with different randomly assigned weights, leading to different training paths.

  34. What is the role of an error function in training?

    It quantifies the difference between predicted and desired outputs so the network can measure and reduce its mistakes.

  35. What is a sum of squared errors (SSE) measure?

    A total error measure formed by squaring prediction errors and summing them.

  36. What are the main layers in a basic feedforward neural network?

    An input layer, one or more hidden layers, and an output layer.

  37. What does the input layer do?

    It receives the input variables, typically with each input unit corresponding to a variable.

  38. What is the role of a hidden layer?

    It transforms information passed from the input layer toward the output layer by applying the network's learned computations.

  39. What does the output layer provide?

    The network's final prediction or output.

  40. How are connections between layers represented in a neural network?

    Each connection has a weight that affects how strongly information is passed between units.

  41. Where may biases be used in a multilayer network?

    Biases may be included for hidden layers and the output layer.

  42. Can a neural network learn a wide range of functions?

    In principle, it can learn any function if it has enough hidden units, although choosing an effective network structure remains important.

  43. Why should categorical target labels often be converted to one-hot columns for a neural network?

    A categorical label such as a species name must be represented numerically; one-hot encoding represents each category with its own binary output column.

  44. What does one-hot encoding represent for three categories?

    Three indicator columns, with one column marked 111 for the selected category and the other two marked 000.

  45. Why may input variables be scaled before training a neural network?

    Scaling places variables on more comparable numerical ranges, which can support effective training.

  46. What is the purpose of separating data into training and test sets?

    The training set is used to fit the model, while the test set is used to evaluate its predictions on data not used for fitting.

  47. What does a maximum-step setting control during training?

    The maximum number of iterations the training algorithm is allowed to perform.

  48. What does a threshold stopping setting control in the described neural-network implementation?

    It sets a cutoff for the partial derivative of the error function used as a stopping criterion.

  49. What was the Iris dataset prediction task described in the example?

    Predict one of three iris species from four measurements: sepal length, sepal width, petal length, and petal width.

  50. How many observations and input variables were in the Iris dataset described?

    It had 150150150 observations and four input variables.

  51. How were the Iris species represented for neural-network training?

    As three output columns using one-hot encoding.

  52. What train-test division was used in the Iris example?

    The data were divided into roughly 100100100 training observations and 505050 test observations.

  53. Why might the Iris observations be shuffled before splitting them?

    Shuffling can reduce bias that might result from the observations' original ordering.

  54. How can a neural network produce class predictions for the Iris test set?

    It produces a score or probability for each species, and the species with the largest score is selected as the predicted class.

  55. How was the Iris model's performance assessed?

    Predicted test-set species were compared with the actual species, using a confusion matrix and accuracy.

  56. What test accuracy did the Iris neural-network example report?

    It reported 94%94\%94% accuracy, with 474747 of 505050 test observations classified correctly.

  57. What is the purpose of exploratory data analysis (EDA) before modeling?

    To understand variables, distributions, missing values, outliers, and relationships, and to identify unsuitable or redundant predictors.

  58. How many employees and attrition cases were described in the employee dataset?

    The dataset had about 2,9402{,}9402,940 employees, of whom 474474474 had experienced attrition—approximately 16%16\%16%.

  59. How should a continuous variable's distribution be examined during EDA?

    Use summary statistics and plots such as a box plot or histogram to inspect its range, shape, skew, and possible outliers.

  60. What did the employee-age analysis suggest about attrition?

    Younger employees appeared more likely to have attrition than older employees, so age was considered an important predictor.

  61. What did the distance-from-home analysis suggest about attrition?

    Employees living farther from work appeared more likely to have attrition, making distance from home a potentially useful predictor.

  62. What did the overtime analysis suggest about attrition?

    Employees who worked overtime appeared more likely to have attrition than those who did not.

  63. How should a categorical predictor be assessed for a relationship with attrition?

    Compare attrition and non-attrition counts or proportions across the category levels.

  64. What did the described analysis indicate about business travel and department as attrition predictors?

    The observed proportions did not show a substantial difference in attrition across the business-travel or department categories.

  65. Why should a predictor with nearly constant values usually be excluded?

    It provides little or no variation with which to distinguish outcomes and is unlikely to add useful predictive information.

  66. Which example variables in the employee data were described as constant or uninformative?

    Employee count was always 111, and standard hours was the same for everyone; the analysis treated them as uninformative predictors.

  67. Why should redundant variables be considered during feature selection?

    A variable that duplicates another or can be calculated from other variables may add no new information and can be excluded.

  68. If a dataset contains each month's salary and total annual salary, which should generally be retained according to the example?

    Retain the total salary if it captures the combined information of the monthly values; avoid including all of them redundantly.

  69. Why might a highly skewed continuous predictor be transformed before modeling?

    A transformation, such as taking a logarithm, can reduce skew and make the variable's distribution more suitable for modeling.

  70. How did the analysis propose handling skewed monthly income?

    Use a logarithmic transformation of monthly income rather than passing the strongly skewed raw variable directly.

  71. What should be checked for each variable before modeling, beyond its relationship with the outcome?

    Check for missing values, outliers, skew or other distribution issues, and redundancy or correlation with other variables.

  72. Why is feature screening especially important for a neural network?

    The network learns from all supplied inputs and does not inherently identify and discard irrelevant variables, so poor input choices can hurt accuracy.

Card 1 of 72
Card 1 of 72

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent