Skip to content

Instantly share code, notes, and snippets.

View amitbhsingh's full-sized avatar
🎯
Focusing

Emmet amitbhsingh

🎯
Focusing
  • Toronto
View GitHub Profile

Keybase proof

I hereby claim:

  • I am amitbhsingh on github.
  • I am amitbhsingh (https://keybase.io/amitbhsingh) on keybase.
  • I have a public key ASCUa7Gnv8F6afM89krNPvTxZ2pTaZnan07LOxeJtwih3go

To claim this, I am signing this object:

@amitbhsingh
amitbhsingh / scikit-learn
Last active June 23, 2018 04:32
Importing basic statistical packages #scikit-learn # xgboost solution for mac user
Following two lines of code made my life easy for installing xgboost
brew install gcc@5
pip install xgboost
git clone git@github.com:YourLogin/scikit-learn.git
cd scikit-learn
git checkout -b my-feature
git commit
git push -u origin my-feature
magic key
@amitbhsingh
amitbhsingh / winquality
Last active May 26, 2018 22:15
Analysis of Wine Quality KNN (k nearest neighbour)
---
date: "April , 2 , 2018"
output:
word_document: default
pdf_document: default
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
@amitbhsingh
amitbhsingh / Building network
Last active May 8, 2018 18:41
Network Science
library(readr)
library(igraph)
library(ggplot2)
library(ggraph)
nodes<-read_csv("nodes>csv")
List of commands (V,vcount,graph_from_data_frame,E,ecount)
# visualize the network with grid layout. Set tie transparency proportional to its weight
ggraph(g, layout = "grid") +
geom_edge_link(aes(alpha =weight)) +
geom_node_point()
datasetname=pd.read_csv("address")