Skip to content

Instantly share code, notes, and snippets.

View kr-shiveshwar's full-sized avatar

Shiveshwar kr-shiveshwar

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kr-shiveshwar
kr-shiveshwar / Churn_Prediction.ipynb
Last active January 30, 2018 00:20
Churn_Prediction_Telecom
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kr-shiveshwar
kr-shiveshwar / Region.R
Last active January 7, 2017 19:14
Data Visualisation1
# Histogram
library(ggplot2)
qplot(region,data = Telecom_train,geom = "bar",fill=factor(region))
qplot(region,data = Telecom_train,geom = "bar",fill=churn,position = "stack")
# flip plot by 90-degree
'adding coord_flip() will flip by 90 - degree'
qplot(region,data = Telecom_train,geom = "bar",fill=churn,position = "stack") + coord_flip()
@kr-shiveshwar
kr-shiveshwar / Bi-variate.R
Created January 7, 2017 19:15
Data Visualization
#####################################
# BiVariate Analysis #
#####################################
qplot(income,age,data = Telecom_train,geom=c("point", "smooth"),color=churn)
qplot(income,data = Telecom_train,geom="density")
#as the data is skewed we will perform log transformation
qplot(log(income),data = Telecom_train,geom="density")
qplot(log(income),age,data = Telecom_train,geom=c("point", "smooth"),color=churn)
@kr-shiveshwar
kr-shiveshwar / Viz_Seaborn.ipynb
Created February 8, 2017 10:19
Visualization using Seaborn
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kr-shiveshwar
kr-shiveshwar / app.R
Last active January 8, 2019 21:16
Test
library(ggmap)
library(readr)
library(ggplot2)
library(ggraph)
load("eway_wo_zero_nodes")
load("transx_wo_zero")
load("pincodes_repository")
pincodes_repository <- pincodes_repository1