Skip to content

Instantly share code, notes, and snippets.

View rawar-zz's full-sized avatar

Ramon Wartala rawar-zz

View GitHub Profile
@rawar-zz
rawar-zz / lp_optimization.csv
Created May 18, 2019 10:50
lp_optimization.csv
lp1 lp2 lp3
1 0 0
0 0 0
0 0 0
0 1 0
0 0 0
1 1 0
0 0 0
1 1 0
0 0 0
@rawar-zz
rawar-zz / yelp-sentiment-data.csv
Created April 14, 2019 07:39
6564 yelp reviews with sentiment labels
We can't make this file beautiful and searchable because it's too large.
,stars,text,sentiment
0,5.0,hands down best bloody mary ever so many things in my bm veggies mmm bacon nailed it its an appetizer i also had the burger with fries who knew fries could be so good the presentation doesnt disappoint ether very nice great seating outside although we sat inside would love to see this restaurant near my hometown seriously get the bm you rock guy,pos
1,5.0,its true this hotel carries you while in vegas we visited the venetian to experience the awesome interior and romantic evening events the entire hotel sparkled its huge too weekendinvegas,pos
2,4.0,first time lemme not exaggerate but yo nothing but love and fun cups full and aint nothing but love nothing but good vibes tonight some people dapper some people coolin all age groups people eating,pos
3,4.0,"sushisamba had very tasty sushis my table and i tried a few traditional rolls tuna salmon eel and also some of the special ones topped with brazillian meat all of it was delicious
during the venetians passaporto di carnivale
@rawar-zz
rawar-zz / install-rstudio-server.sh
Created February 17, 2019 16:31
rstudio-server
#!/bin/bash
# These variables can be overwritten using the arguments below
# The right EMR Version is: 5.19.0
# Setup a tunnel: ssh -i ~/.ssh/s2-datascience-key.pem -ND 8157 hadoop@ec2-XX-XXX-XXX-XXX.eu-central-1.compute.amazonaws.com -v
# Login to RStudio Server UI: http://ec2-XX-XXX-XXX-XXX.eu-central-1.compute.amazonaws.com:8787/
VERSION="1.1.463"
# drwho is listed as user in YARN's Resource Manager UI.
USER="drwho"
@rawar-zz
rawar-zz / reco-collaborative-data.csv
Created October 3, 2018 11:58
example data for collaborative filtering
We can't make this file beautiful and searchable because it's too large.
visitor_id,article_id,sum_pageviews
647828,1026,3245
34969,8371,160
739991,5892,116
739634,8446,107
320270,5240,84
294819,8381,82
506821,863,77
739634,11,75
34969,8381,72