standard import packages

Solutions on MaxInterview for standard import packages by the best coders in the world

showing results for - "standard import packages"
Line
30 May 2019
1# Import Packages
2
3# Array and Dataframe processing:
4import pandas as pd
5import numpy as np
6
7# Visualization:
8import seaborn as sns
9sns.set_style("darkgrid")
10import matplotlib.pyplot as plt
11%matplotlib inline
12import plotly.graph_objects as go
13import plotly.express as px
14import plotly.figure_factory as ff
15
16# Model Implementation 
17from sklearn.ensemble import RandomForestClassifier
18from sklearn import svm
19from sklearn.svm import SVC
20from sklearn.neural_network import MLPClassifier
21# from sklearn.linear_model import SGDCClassifier
22
23#  Metrics 
24from sklearn.metrics import confusion_matrix, classification_report
25from sklearn.metrics import accuracy_score
26
27# For scaling and preprocessing:  StandardScaler, MinMaxScaler and MaxAbsScaler.
28from sklearn import preprocessing
29from sklearn.preprocessing import StandardScaler, LabelEncoder
30
31# For Model Training and Testing:
32from sklearn.model_selection import train_test_split
33