This file contains hidden or 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
""" | |
Programmer: Chris Tralie | |
Purpose: To demonstrate a greedy furthest point sampling, which is a general technique | |
for getting good points that are "spread out" and cover the dataset well | |
""" | |
import numpy as np | |
import matplotlib.pyplot as plt | |
from sklearn.metrics.pairwise import pairwise_distances | |
def getGreedyPerm(D): |