Saturday July 22nd 2017

Categories

Insider

Archives

‘SkLearn’ Archives

Select Features and Target in Scikit Learn

Select Features and Target in Scikit Learn

To do Machine Learning in SKlearn, as a first step we need to import following import pandas as pd import numpy as np Step 1. We read the file in Panadas Dataframe by pd.read_csv. In jupyter Note book we defined dataframe as df=pd.read_csv('C:\Data\glass.csv') In order to select features and target for machine learning we will use [...]