Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A researcher is preparing data for a k -fold cross-validation. The number of groups the sample data is to be split into is 10. What

A researcher is preparing data for a k-fold cross-validation. The number of groups the sample data is to be split into is 10. What would k equal in a 10-fold cross-validation?

  • k = 1

  • k = 5

  • k = 10

  • k cannot be determined until applied to a machine model.

    Marta is partitioning her data set into 60% for training and 40% for validation. She is first specifying Member as her target variable. What will she need to program to ensure consistency to fix a random seed?

  • myIndex

  • trainSet

  • createDataPartition

  • set.seed

    What is the Euclidean distance between Observation 1 and the origin point of (0, 0, 0)?

    Observation Y X1 X2 X3
    1 Red 0 2 0
    2 Blue 2 1 0
    3 Blue 1 0 1
  • 2

  • 1

  • 0

  • 3

    A new applicant, age 45, is applying for a loan. Using the table below, what is the estimated probability the loan will be approved? k = 4.

    Record Age Marital Loan Risk Default
    1 34 Single $ 5,000.00 High Yes
    2 24 Married $ 15,000.00 Low No
    3 49 Single $ 7,000.00 Medium Yes
    4 32 Other $ 10,000.00 Medium No
    5 44 Married $ 12,000.00 High Yes
    6 53 Single $ 9,000.00 Low NO

    The probable default rate is 75%, the loan will be declined.

    The probable success rate is 75%, the loan will be approved.

    The probable success rate is 30%, the loan will be approved.

    The probable default rate is 25%, the loan will be declined.

    For a new observation of (0, 0, 0), what is the k-nearest neighbor when k = 1.

    Observation Y X1 X2 X3
    1 Red 0 2 0
    2 Blue 2 1 0
    3 Blue 1 0 1
    4 Red 0 1 3
    5 Blue 1 1 1
    6 Blue 0 3 0
  • 1, 1, 1

  • -2, -1, 0

  • 0, 1, 3

  • -1, 0, 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial Accounting Tools for Business Decision Making

Authors: Jerry J. Weygandt, Paul D. Kimmel, Donald E. Kieso

5th Edition

9781118560952, 1118560957, 978-0470239803

More Books

Students also viewed these Accounting questions