Skip to content

Instantly share code, notes, and snippets.

View dneuraln's full-sized avatar

Programing with Deep Neural Networks dneuraln

View GitHub Profile
@keithshep
keithshep / csv_to_hdf5.py
Created November 5, 2014 17:33
convert CSV file to HDF5 using h5py
#!/usr/bin/env python -O
import argparse
import sys
import numpy
import h5py
import csv
class ColType:
UNKNOWN = 1
@tboggs
tboggs / dirichlet_plots.png
Last active May 26, 2025 18:01
A script to generate contour plots of Dirichlet distributions
dirichlet_plots.png
import pyeliza
class Eliza:
aliases = 'eliza'
description = 'Virtual therapist'
_therapist = pyeliza.eliza()
def execute(self, expression, context):
'''
>>> from mock import Mock