Breast Cancer Machine Learning Prediction. Used Scikit Learn for Training, Evaluating, and Prediction. Used Seaborn and Matplotlib for Visualizing. Run this on Jupyter Notebook # LIBRARY IMPORTS import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns %matplotlib inline # DATASET IMPORT from sklearn.datasets import load_breast_cancer cancer = load_breast_cancer() #VIEW DATA cancer cancer.keys() print(cancer['DESCR']) print(cancer['target_names']) print(cancer['target']) print(cancer['feature_names']) print(cancer['data']) cancer['data'].shape df_cancer = pd.DataFrame(np.c_[cancer['data'], cancer['target']], columns = np.append(cancer['feature_names'], ['target'])) df_cancer.head() df_cancer.tail() # VISUALIZE DATA # SEABORN PAIRPLOT sns.pairplot(df_cancer, hue = 'target', vars = ['mean radius', 'mean te...
Project Weekay | Resume | LinkedIn Profile
NodeJS, AWS, MongoDB, ReactJS, Django, Python, ML with Scikit Learn, Matplotlib, Seaborn
Engineering, UX, Marketing, Product Designing, Business
sayhellotovinit@gmail.com | +91 99239 08880 | Pune, India