Skip to content

Instantly share code, notes, and snippets.

View ralphpeterson's full-sized avatar

Ralph Emilio Peterson ralphpeterson

  • New York University
  • New York, New York
View GitHub Profile
@ahwillia
ahwillia / hclust_sort.py
Created June 22, 2020 23:26
Sort data points by hierarchical clustering
from sklearn.datasets import make_biclusters
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
def resort_rows_hclust(U):
"""Sorts the rows of a matrix by hierarchical clustering
Parameters:
U (ndarray) : matrix of data
@marshki
marshki / nyu_hpc_sshfs.md
Last active April 5, 2023 14:52
Mount remote storage on one of NYU's High-Performance Computing (HPC) nodes via `sshfs`.

Mount Remote Storage on NYU's HPC 💻


Scope: Use sshfs to mount remote storage on one of NYU's High-Performance Computing (HPC) nodes.

NOTE: The "prince" cluster has been retired, and sshfs is not currently available on "greene".

Preflight checks ✔️✈️

You'll need these: