Practical 4

AIM: Visual Programming with Orange tool

Theory: 

Visual programming is one type of language that lets user create programs by manipulating program elements graphically rather than by specifying them textually.

Dataset Description:

The dataset corresponds to classification tasks on which you need to predict if a person has diabetes based on 8 features.

Data columns (total 9 columns):
 #   Column                    Non-Null Count  Dtype  
---  ------                    --------------  -----  
 0   Pregnancies               768 non-null    int64  
 1   Glucose                   768 non-null    int64  
 2   BloodPressure             768 non-null    int64  
 3   SkinThickness             768 non-null    int64  
 4   Insulin                   768 non-null    int64  
 5   BMI                       768 non-null    float64
 6   DiabetesPedigreeFunction  768 non-null    float64
 7   Age                       768 non-null    int64  
 8   Outcome                   768 non-null    int64  

(768, 9)



Task 1: Splitting Data into training and testing

We have split data into 70% ad 30%.



Task 2: Model Classification

Using Logistic Regression for classification.
  • Cross Validation

  • Random Sampling
  • Final Tree










No comments:

Post a Comment