Skip to content

Instantly share code, notes, and snippets.

View aschmu's full-sized avatar

Achille M. aschmu

View GitHub Profile
@fperez
fperez / README.md
Last active July 1, 2021 04:43
Polyglot Data Science with IPython

Polyglot Data Science with IPython & friends

Author: Fernando Pérez.

A demonstration of how to use Python, Julia, Fortran and R cooperatively to analyze data, in the same process.

This is supported by the IPython kernel and a few extensions that take advantage of IPython's magic system to provide low-level integration between Python and other languages.

See the companion notebook for data preparation and setup.

@mjdietzx
mjdietzx / pytorch-lambda-deploy.sh
Last active April 9, 2020 13:49
AWS Lambda pytorch deep learning deployment package (building pytorch and numpy from source on EC2 Amazon Linux AMI)
#
# written for Amazon Linux AMI
# creates an AWS Lambda deployment package for pytorch deep learning models (Python 3.6.1)
# assumes lambda function defined in ~/main.py
# deployment package created at ~/waya-ai-lambda.zip
#
#
# install python 3.6.1
#
@ChadFulton
ChadFulton / parallel_ar.ipynb
Created November 30, 2017 03:16
Parallel AR
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gabrieleangeletti
gabrieleangeletti / rbm_after_refactor.py
Last active July 27, 2021 14:32
Restricted Boltzmann Machine implementation in TensorFlow, before and after code refactoring. Blog post: http://blackecho.github.io/blog/programming/2016/02/21/refactoring-rbm-tensor-flow-implementation.html
import tensorflow as tf
import numpy as np
import os
import zconfig
import utils
class RBM(object):
@tomschenkjr
tomschenkjr / send-to-R-new-line.sublime-macro
Created June 5, 2012 17:20
Send a selection of code to R using SublimeREPL and move cursor to new line
// Purpose: This is a macro which will send a selection of text to sublimeREPL.
// Note: Add this to your macros, which can be accessed from Tools > Macros or saving to your Sublime Text Packages folder.
[
{"command": "repl_transfer_current", "args": {"scope": "selection"}}
{"command": "move", "args": {"by": "lines", "forward": true}}
]