Skip to content
Supervised Learning with scikit-learn
  • AI Chat
  • Code
  • Report
  • # Importing modules
    import numpy as np
    import pandas as pd
    import matplotlib.pyplot as plt 
    from sklearn.neighbors import KNeighborsClassifier
    from sklearn.model_selection import train_test_split
    
    # Importing and previewing the dataset 
    df = pd.read_csv("datasets/telecom_churn_clean.csv")
    df.head(3)

    Add your notes here

    X = df[[]]