subject

You are creating a binary classification model based on a DataFrame that contains the following data about loan applications: customer_id income savings debt approve 105671 75000 1750 26000 no 105672 120000 50750 27750 yes 105673 54000 37000 3500 yes You want to use the data in the income, savings, and debt fields as features to predict a label based on the approve field. Which of the following changes must you make to the label data before using it to train the model?
A. Convert the values in the approve column to numeric representations of the values "yes" and "no".B. Convert the values in the approve column to a vector. C. Rename the approve column to label. D. Create a new DataFrame with a single column that contains a vector of the income, savings, debt, and approve values.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 13:30
Anetwork security application that prevents access between a private and trusted network and other untrusted networks
Answers: 1
question
Computers and Technology, 25.06.2019 08:10
Which of the following statements is false? a. package access is rarely used. b. use the access modifier package to give a method or variable package access. c. classes in the same source file are part of the same package. d. if a program uses multiple classes from the same package, these classes can access each other's package access members directly through references to objects of the appropriate classes, or in the case of static members, through the class name.
Answers: 1
question
Computers and Technology, 25.06.2019 14:00
What are the two parts of a cell reference? a. column intersection and row rangeb. column range and row intersectionc. column letter and row numberd. column number and row letter
Answers: 1
question
Computers and Technology, 25.06.2019 18:30
To deny a host from sending http traffic destined to a specific server you will need to apply a access control list.
Answers: 1
You know the right answer?
You are creating a binary classification model based on a DataFrame that contains the following data...
Questions
question
Geography, 24.08.2019 17:30
question
Mathematics, 24.08.2019 17:30
question
Geography, 24.08.2019 17:30
question
Social Studies, 24.08.2019 17:30
Questions on the website: 13722363