Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created March 5, 2021 07:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/563a8a20f02cc892eddfd3abc09e58ca to your computer and use it in GitHub Desktop.
Save amankharwal/563a8a20f02cc892eddfd3abc09e58ca to your computer and use it in GitHub Desktop.
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler
from sklearn.linear_model import LogisticRegression
from sklearn.metrics import accuracy_score
sns.set()
data = pd.read_csv("mobile_prices.csv")
print(data.head())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment