This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Implements the BiMax biclustering algorithm. | |
Authors : Kemal Eren | |
License: BSD 3 clause | |
""" | |
import numpy as np | |
class BiMax(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 $@)" |