- Implementation of Agile
- Creating better scene with agile & data science
- Improving Prediction Performance
- Fixing Prediction Problem
- Agile Data Science - SparkML
- Deploying a predictive system
- Building a Regression Model
- Extracting features with PySpark
- Role of Predictions
- Working with Reports
- Data Enrichment
- Data Visualization
- Collecting & Displaying Records
- NoSQL & Dataflow programming
- SQL versus NoSQL
- Data Processing in Agile
- Agile Tools & Installation
- Agile Data Science - Process
- Methodology Concepts
- Agile Data Science - Introduction
- Agile Data Science - Home
Agile Data Science Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Deploying a predictive system
In this example, we will learn how to create and deploy predictive model which helps in the prediction of house prices using python script. The important framework used for deployment of predictive system includes Anaconda and “Jupyter Notebook”.
Follow these steps to deploy a predictive system −
Step 1 − Implement the following code to convert values from csv files to associated values.
import numpy as np import pandas as pd import matplotpb.pyplot as plt import seaborn as sns import mpl_toolkits %matplotpb inpne data = pd.read_csv("kc_house_data.csv") data.head()
The above code generates the following output −
Step 2 − Execute the describe function to get the data types included in attributed of csv files.
data.describe()
Step 3 − We can drop the associated values based on the deployment of the predictive model that we created.
train1 = data.drop([ id , price ],axis=1) train1.head()
Step 4 − You can visuapze the data as per the records. The data can be used for data science analysis and output of white papers.
data.floors.value_counts().plot(kind= bar )Advertisements