Python,R
shreyachand1. Load the data file
Create a data-frame with three columns (1) Goal; (2) num_donors and (3) funding_status
Convert values in column funding_status from text to integers (completed=1; NotCompleted=0);
and perform 70:30 (i.e., 70% training data and remaining test data) split and create two data-frames: (1) train and (2) test. The rows must be selected randomly (2 points)
2. Use train data-frame to train a decision tree model (2 points).
3. Plot the tree (2 points).
4. Use test data-frame to show confusion matrix and model accuracy (2 points).
5. Perform steps 1-4 with two columns: (1) Goal and (2) funding_status, and document the change in accuracy as a comment (2 points).
Upload one Screenshot of Jupyter Notebook file for assignment submission.
- 3 years ago
- 15
Purchase the answer to view it
- task2.docx
- Health care, Fraud Abuse and Compliance*****Already A++ Rated Tutorial*****Use as Guide Paper*****
- Wk222
- applies legal and professional standards for resourcing outpatient services; identifies risks and opportunities
- 3 QUESTIONS (OPERATIONS MANAGEMENT)
- 4-6 pages Diversity
- **KIM WOODS** Culture Neutral Assessment Presentation
- Module 4 discussion 2
- Human Resource Management
- HUM 115 Week 4: Solving Personal Problems: Applying the Five-Step Model
- discussion question 1 week 2