Skip to content

Instantly share code, notes, and snippets.

Kemal Eren kemaleren

Block or report user

Report or block kemaleren

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View pass-autotype
#!/usr/bin/env bash
set -ue
if ! command -v xdotool &> /dev/null; then
printf "You need to install xdotool.\n" 1>&2
exit 1
fi
output="$(pass $@)"
@kemaleren
kemaleren / bimax.py
Created Sep 13, 2013
An implementation of the BiMax biclustering algorithm by Prelic, et. al. (2006).
View bimax.py
"""Implements the BiMax biclustering algorithm.
Authors : Kemal Eren
License: BSD 3 clause
"""
import numpy as np
class BiMax():
@kemaleren
kemaleren / line_profiler_code.py
Last active Dec 20, 2015
line profiler dumps for SpectralBiclustering and SpectralCoclustering on both dense and sparse matrices.
View line_profiler_code.py
from sklearn.datasets import fetch_20newsgroups_vectorized
from sklearn.datasets import make_checkerboard
from sklearn.datasets import make_biclusters
from sklearn.cluster.bicluster import SpectralBiclustering
from sklearn.cluster.bicluster import SpectralCoclustering
newsgroups = fetch_20newsgroups_vectorized()
# Spectral Co-Clustering
You can’t perform that action at this time.