Skip to content

Instantly share code, notes, and snippets.

@rokroskar
rokroskar / single_decade_notebook.ipynb
Created December 1, 2014 17:13
single decade notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rokroskar
rokroskar / lasso_trained_on_demeaned_dataset.ipynb
Last active August 29, 2015 14:15
lasso trained on demeaned dataset
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
conf.set('spark.executorEnv.PYTHONPATH',
'/cluster/apps/spark/spark-1.4.1-bin-hadoop2.6/python/lib/py4j-0.8.2.1-src.zip:/cluster/apps/spark/spark-1.4.1-bin-hadoop2.6/python/:/cluster/home04/biol/pepatric/Software/Spark_class/spark_workshop/gutenberg')
________________________
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rokroskar
rokroskar / image_scatter.py
Created November 18, 2015 07:48 — forked from lukemetz/image_scatter.py
Image tsne scatter plot
from tsne import bh_sne
import numpy as np
from skimage.transform import resize
from matplotlib import pyplot as plt
def gray_to_color(img):
if len(img.shape) == 2:
img = np.dstack((img, img, img))
return img
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"id": 1,
"title": "Spark Prometheus",
"originalTitle": "Spark Prometheus",
"tags": [],
"style": "dark",
"timezone": "browser",
"editable": true,
"hideControls": false,
"sharedCrosshair": false,
@rokroskar
rokroskar / twitter_filtering-working-copy.ipynb
Created April 27, 2016 11:36
twitter groupBy and pivot example
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am rokroskar on github.
  • I am rrrrrok (https://keybase.io/rrrrrok) on keybase.
  • I have a public key ASBDsDcy7tr0knxAJ_ubO2SIv96Qtd9zcCbUMUjHBIqY_Qo

To claim this, I am signing this object:

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Sample presentation</title>
<meta name="author" content="Rok Roskar">