trohith89 commited on
Commit
8afb60f
·
verified ·
1 Parent(s): 46c9577

Update pages/1_Data_Card_and_Data_collection.py

Browse files
pages/1_Data_Card_and_Data_collection.py CHANGED
@@ -66,29 +66,7 @@ if df is not None:
66
  | **PurchaseIntent** | Target variable: Intent to purchase (classification target). | 0 (No), 1 (Yes) |
67
  ''')
68
 
69
- st.markdown("### Import Necessary Libraries:")
70
- st.code("""
71
- import numpy as np
72
- import pandas as pd
73
- import matplotlib.pyplot as plt
74
- import seaborn as sns
75
- import plotly.express as px
76
- import warnings
77
- warnings.filterwarnings('ignore')
78
 
79
- from sklearn.linear_model import LogisticRegression
80
- from sklearn.neighbors import KNeighborsClassifier
81
- from sklearn.model_selection import train_test_split, cross_val_score
82
- from sklearn.preprocessing import StandardScaler, LabelEncoder
83
- from sklearn.metrics import accuracy_score, classification_report, confusion_matrix, log_loss
84
-
85
- import optuna
86
- import imblearn
87
- from imblearn.under_sampling import RandomUnderSampler
88
- from imblearn.over_sampling import RandomOverSampler, SMOTE
89
-
90
- import pickle
91
- """, language="python")
92
 
93
  else:
94
  st.info("No dataset found. Please upload a CSV file.")
 
66
  | **PurchaseIntent** | Target variable: Intent to purchase (classification target). | 0 (No), 1 (Yes) |
67
  ''')
68
 
 
 
 
 
 
 
 
 
 
69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
 
71
  else:
72
  st.info("No dataset found. Please upload a CSV file.")