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

  • 58Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: AI Foundations
Artificial intelligence aims to create machines that can think and make decisions in ways that resemble
.

58 questions

  1. 1
    Artificial intelligence aims to create machines that can think and make decisions in ways that resemble
    _____
    .
    Hint

    Think about the kind of reasoning and perception that people use.

    Answer

    humans

    Explanation

    The content describes artificial intelligence as an effort to make machines think in ways similar to people.

  2. 2
    Recognizing a person in a photograph can involve analyzing facial features, hair, and the
    _____
    between the eyes.
    Hint

    Consider a spatial measurement between two facial features.

    Answer

    distance

    Explanation

    The example explains that people may recognize a face by considering features such as hair and the distance between the eyes.

  3. 3
    Compared with a computer, a person can often adapt more easily to an unfamiliar everyday task because people understand their
    _____
    .
    Hint

    Think of the environment in which the person is acting.

    Answer

    surroundings

    Explanation

    The content contrasts computers' need for detailed information about an environment with people's ability to interpret and adapt to their surroundings.

  4. 4
    The term artificial intelligence was coined by John McCarthy in
    _____
    at the Dartmouth Conference.
    Hint

    Recall the year associated with the Dartmouth meeting.

    Answer

    1956

    Explanation

    The content states that John McCarthy coined the term artificial intelligence in 1956 at the Dartmouth Conference.

  5. 5
    Early progress in artificial intelligence was limited partly because the required computing power and
    _____
    were not readily available.
    Hint

    Think of the physical computer resources needed to run demanding calculations.

    Answer

    hardware

    Explanation

    The content explains that early AI efforts required computation power and hardware that were not available at the time.

  6. 6
    In the late 1990s, IBM's
    _____
    made headlines by defeating the world chess champion.
    Hint

    It was an IBM chess-playing system.

    Answer

    Deep Blue

    Explanation

    IBM's Deep Blue defeated the world chess champion, marking a prominent achievement in artificial intelligence.

  7. 7
    Google search can use a person's previous queries and other data to anticipate what they may search for
    _____
    .
    Hint

    The system predicts a future action based on prior activity.

    Answer

    next

    Explanation

    The content describes Google search as using past search data to predict what a user may type next.

  8. 8
    Machine learning uses statistical methods to understand and analyze information from
    _____
    data.
    Hint

    The data is provided to the learning method.

    Answer

    given

    Explanation

    Machine learning is described as using statistical methods to analyze information from given data; deep learning is presented as a broader area within machine learning.

  9. 9
    In a biological neural network, the structures that receive signals from surrounding neurons are the
    _____
    .
    Hint

    They are branching structures at the receiving end of a neuron.

    Answer

    dendrites

    Explanation

    Dendrites receive signals from surrounding neurons, making them comparable to receiving pathways in an artificial neural network.

  10. 10
    A biological neuron's
    _____
    carries a signal away from the neuron toward other cells.
    Hint

    It is the long projection that transmits a neural signal.

    Answer

    axon

    Explanation

    The axon is described as the pathway through which a neuron transmits a signal.

  11. 11
    The connection points between biological neurons are called
    _____
    .
    Hint

    These junctions allow neurons to communicate.

    Answer

    synapses

    Explanation

    Neurons are interconnected at synapses, which enable the transfer of information between neurons.

  12. 12
    In the biological-neuron analogy, synapses help neurons send and receive information and learn from
    _____
    activities.
    Hint

    Learning uses information about what happened earlier.

    Answer

    past

    Explanation

    The content connects synapses with sending and receiving signals and learning from past activities.

  13. 13
    When a biological neuron's threshold is reached, it transmits a signal through its
    _____
    .
    Hint

    This is the neuron's signal-carrying projection.

    Answer

    axon

    Explanation

    The content describes a neuron transmitting a signal through the axon once its threshold is reached.

  14. 14
    In an artificial neural network, the input layer receives the values of the data's input
    _____
    .
    Hint

    These are the features or measurements supplied to the model.

    Answer

    variables

    Explanation

    Each input neuron receives data associated with an input variable.

  15. 15
    Weights indicate the relative
    _____
    assigned to different input variables in a neural network.
    Hint

    A larger value for a feature's influence suggests this property.

    Answer

    importance

    Explanation

    The content explains that weights help a neural network represent how important each input variable is.

  16. 16
    The weighted inputs are combined by calculating their
    _____
    before the activation function is applied.
    Hint

    The example adds each input multiplied by its corresponding weight.

    Answer

    sum product

    Explanation

    The network calculates a sum product, such as adding each input multiplied by its weight, before applying the activation function.

  17. 17
    The function that determines whether a neuron fires and passes information onward is the
    _____
    function.
    Hint

    It decides whether the neuron produces an output signal.

    Answer

    activation

    Explanation

    The activation function determines whether a neuron fires and whether information proceeds to the next layer.

  18. 18
    In a basic feedforward neural network, information generally passes from the input layer through the hidden layer to the
    _____
    layer.
    Hint

    This layer provides the model's final result.

    Answer

    output

    Explanation

    The input layer receives data, hidden layers process it, and the output layer presents the final result.

  19. 19
    The hidden layers of a neural network perform much of the model's internal
    _____
    on the inputs.
    Hint

    They transform information between the input and output layers.

    Answer

    processing

    Explanation

    The content describes hidden layers as carrying out the processing required by the algorithm before the output is produced.

  20. 20
    A neural network can include different numbers of neurons in each layer, with
    _____
    connecting neurons between layers.
    Hint

    These values control the influence of one neuron on another.

    Answer

    weights

    Explanation

    Weights are applied to connections between neurons and can differ across connections and layers.

  21. 21
    A bias in a neural network can account for information not captured by the weighted input values, much like an
    _____
    in regression.
    Hint

    In a regression equation, this is the constant term.

    Answer

    intercept

    Explanation

    The content compares neural-network biases with the intercept in regression, which captures an additional component not represented by the input coefficients.

  22. 22
    A neural network's output is compared with the desired output to calculate an
    _____
    .
    Hint

    It measures the difference between the prediction and the target.

    Answer

    error

    Explanation

    The difference between the actual or desired output and the network's calculated output is used to determine the error.

  23. 23
    During back propagation, the calculated error is sent back toward the
    _____
    layer.
    Hint

    The error travels backward toward the beginning of the network.

    Answer

    input

    Explanation

    Back propagation feeds the error back through the network so that weights can be adjusted.

  24. 24
    Back propagation changes network weights in an attempt to
    _____
    the error.
    Hint

    The goal is to make the predictions closer to the desired values.

    Answer

    reduce

    Explanation

    The weights are updated based on the error so that subsequent outputs are more accurate and the error is reduced.

  25. 25
    The repeated forward calculation, error measurement, and weight adjustment are carried out over multiple
    _____
    .
    Hint

    These are repeated training cycles.

    Answer

    iterations

    Explanation

    The learning process repeats across iterations, updating weights as the network trains.

  26. 26
    The learning rate, often represented by alpha, controls the size of weight updates and therefore the learning
    _____
    .
    Hint

    It describes how quickly the network changes its weights during training.

    Answer

    speed

    Explanation

    The content identifies alpha as the learning rate and explains that it controls how quickly the neural network learns.

  27. 27
    If the learning rate is too large, weight updates may be too rapid for the network to learn
    _____
    .
    Hint

    The model may fail to settle on useful weight values.

    Answer

    properly

    Explanation

    The content warns that learning too quickly can prevent the network from learning properly.

  28. 28
    If the learning rate is too small, the network may take too long to
    _____
    .
    Hint

    Small updates can make progress very slow.

    Answer

    learn

    Explanation

    A very small learning rate slows the model's progress and can prevent it from learning efficiently.

  29. 29
    The error function should be differentiable so that its
    _____
    can be calculated during learning.
    Hint

    Back propagation uses a rate-of-change quantity.

    Answer

    derivative

    Explanation

    The content states that the error function should permit differentiation because its derivative is used in the learning process.

  30. 30
    As a model's output approaches the desired value, the error should move toward
    _____
    .
    Hint

    This is the ideal value when prediction and target match.

    Answer

    zero

    Explanation

    The content explains that error should decrease toward zero as the output approaches the desired value.

  31. 31
    The sum of squared errors is abbreviated
    _____
    in the neural-network discussion.
    Hint

    The abbreviation refers to adding squared error terms.

    Answer

    SSE

    Explanation

    The content identifies the sum of squares of errors, or SSE, as an error measure used with neural networks.

  32. 32
    Training can stop when the desired error criterion is reached or when the allowed number of
    _____
    has been exhausted.
    Hint

    These are the repeated training cycles limited by a maximum step setting.

    Answer

    iterations

    Explanation

    The content describes error thresholds and a maximum number of iterations as stopping criteria.

  33. 33
    In neural-network terminology, one complete pass through the training data is called an
    _____
    .
    Hint

    It is a training pass over the available examples.

    Answer

    epoch

    Explanation

    The content describes training as proceeding through multiple epochs before the network has sufficiently learned from the data.

  34. 34
    The iris dataset described in the example contains
    _____
    observations.
    Hint

    The dataset has three groups of 50 flowers each.

    Answer

    150

    Explanation

    The iris dataset is described as having 150 entries, with 50 observations for each of its three species.

  35. 35
    Each iris observation is described using
    _____
    input variables.
    Hint

    They include measurements of sepal and petal dimensions.

    Answer

    four

    Explanation

    The example uses four input variables: sepal length, sepal width, petal length, and petal width.

  36. 36
    The three iris species in the dataset are setosa, versicolor, and
    _____
    .
    Hint

    It is the remaining species name after setosa and versicolor.

    Answer

    virginica

    Explanation

    The three classes in the example are setosa, versicolor, and virginica.

  37. 37
    A categorical target with three species is represented for the neural network using three columns of
    _____
    values.
    Hint

    This encoding assigns an indicator value to each class.

    Answer

    zero and one

    Explanation

    The content explains that the species category is converted into separate columns containing zero and one values before being passed to the neural network.

  38. 38
    Before training, the iris example scales the four input variables and also prepares the target in a form suitable for the
    _____
    .
    Hint

    The data must be represented in a format the model can accept.

    Answer

    neural network

    Explanation

    The example scales the input features and converts the categorical output into an appropriate representation for neural-network training.

  39. 39
    The iris example uses separate training and
    _____
    datasets to assess predictions on data not used to fit the model.
    Hint

    This held-out dataset is used to evaluate performance.

    Answer

    testing

    Explanation

    The data is divided into training and testing sets; the testing data is used to assess how the trained model predicts unseen cases.

  40. 40
    A neural network's predicted scores for the three iris species can be interpreted as class
    _____
    values.
    Hint

    They indicate how likely each species is according to the model.

    Answer

    probability

    Explanation

    The example interprets the model's scores for each species as probabilities and assigns the class with the largest score.

  41. 41
    To convert three species scores into one predicted class, the example selects the class with the
    _____
    score.
    Hint

    Choose the largest of the three values.

    Answer

    maximum

    Explanation

    The predicted species is the one associated with the maximum score among the output columns.

  42. 42
    A table comparing predicted classes with actual classes is called a
    _____
    matrix.
    Hint

    It summarizes correct and incorrect classifications by class.

    Answer

    confusion

    Explanation

    A confusion matrix compares predicted labels with actual labels to show classification performance.

  43. 43
    In the iris test example, 47 correct predictions out of 50 correspond to an accuracy of
    _____
    %.
    Hint

    Divide the number correct by the total test cases and convert to a percentage.

    Answer

    94

    Explanation

    The example reports 47 correctly classified cases out of 50, giving an accuracy of 94%.

  44. 44
    In the described R neural-network setup, the hidden parameter specifies the number and arrangement of hidden
    _____
    .
    Hint

    These are the processing units within hidden layers.

    Answer

    neurons

    Explanation

    The hidden parameter is used to specify the hidden-layer structure, including the number of neurons in each layer.

  45. 45
    The employee dataset in the exploratory analysis contains 2,940 employees, of whom approximately 16% have experienced
    _____
    .
    Hint

    This is the employee outcome being investigated.

    Answer

    attrition

    Explanation

    The analysis reports 474 cases of attrition among 2,940 employees, approximately 16% of the dataset.

  46. 46
    Exploratory data analysis examines variables for missing values, outliers, distributions, and their relationship to the
    _____
    being modeled.
    Hint

    It is the target the analysis aims to explain or predict.

    Answer

    outcome

    Explanation

    The content describes examining data quality and variable behavior, including how each variable relates to the target outcome.

  47. 47
    In the employee example, the age variable ranges from 18 to
    _____
    years.
    Hint

    This is the maximum age reported in the analysis.

    Answer

    60

    Explanation

    The age summary in the example gives a minimum of 18 and a maximum of 60.

  48. 48
    The analysis suggests that employees in younger age groups are more likely to experience
    _____
    than employees in older age groups.
    Hint

    This is the employee outcome compared across age groups.

    Answer

    attrition

    Explanation

    The age comparison in the example indicates a difference in attrition, with younger employees more likely to leave.

  49. 49
    A variable that shows little difference in its relationship with attrition across its categories may be considered less
    _____
    for the model.
    Hint

    Think about whether it provides useful information for prediction.

    Answer

    significant

    Explanation

    The content recommends considering whether a variable meaningfully distinguishes employees with and without attrition before including it.

  50. 50
    The employee analysis identifies distance from home as a potentially important factor because attrition is more likely among employees living
    _____
    away.
    Hint

    Compare employees with longer and shorter commutes from home.

    Answer

    farther

    Explanation

    The example reports a higher likelihood of attrition among employees with greater distances from home to work.

  51. 51
    The example finds that employees who work
    _____
    are more likely to experience attrition than those who do not.
    Hint

    This refers to work beyond regular scheduled hours.

    Answer

    overtime

    Explanation

    The content describes overtime as a variable associated with a greater likelihood of attrition.

  52. 52
    A highly skewed monthly-income variable may be transformed using a
    _____
    transformation before modeling.
    Hint

    This common transformation can reduce right skew.

    Answer

    log

    Explanation

    The example recommends using a log transformation for skewed monthly income rather than passing the untransformed variable directly to the model.

  53. 53
    A Box-Cox transformation is used in the example to address skew in the employee variable called
    _____
    hike.
    Hint

    It is a compensation-related variable whose distribution is transformed.

    Answer

    salary

    Explanation

    The content describes using a Box-Cox transformation for salary hike when the variable is heavily skewed.

  54. 54
    A variable that has the same value for every employee provides no variation and can generally be
    _____
    from modeling.
    Hint

    Such a feature cannot distinguish one observation from another.

    Answer

    ignored

    Explanation

    The example recommends ignoring constant variables, such as a standard-hours field that has the same value for everyone.

  55. 55
    If a total variable already captures the information in several component variables, the components may be excluded to avoid redundant
    _____
    .
    Hint

    The total contains the essence of the individual parts.

    Answer

    variables

    Explanation

    The content advises using the total rather than all of its component variables when the total captures their combined information.

  56. 56
    In the employee example, employee count is not useful as a predictor when its value is one for every record and there are no
    _____
    entries.
    Hint

    The field is used to check whether records repeat.

    Answer

    duplicate

    Explanation

    The content explains that employee count provides no predictive information when every value is one and there are no duplicate records.

  57. 57
    Unlike some tree-based methods, the neural network described does not automatically decide which input variables are important, so careful variable
    _____
    is especially important.
    Hint

    This is the process of deciding which features to include.

    Answer

    selection

    Explanation

    The content contrasts neural networks with methods that can select useful variables and emphasizes examining variables before fitting a neural network.

  58. 58
    A missing-value check in the employee analysis shows zeros across the variables, indicating that the dataset has no
    _____
    values.
    Hint

    These are observations absent from a field.

    Answer

    missing

    Explanation

    The described check finds zeros for all variables, which the content interprets as no missing values in the dataset.

1 of 58
Question 1 of 58

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent