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 $@)" |
View bimax.py
"""Implements the BiMax biclustering algorithm. | |
Authors : Kemal Eren | |
License: BSD 3 clause | |
""" | |
import numpy as np | |
class BiMax(): |
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 |