Skip to content

Instantly share code, notes, and snippets.

View ThatGeoGuy's full-sized avatar
🇨🇦

Jeremy Steward ThatGeoGuy

🇨🇦
View GitHub Profile

Keybase proof

I hereby claim:

  • I am ThatGeoGuy on github.
  • I am thatgeoguy (https://keybase.io/thatgeoguy) on keybase.
  • I have a public key whose fingerprint is 3780 3759 ECAA 6204 4B84 AC63 9B41 F4C3 DB70 78A7

To claim this, I am signing this object:

@ThatGeoGuy
ThatGeoGuy / bad_data.txt
Created April 26, 2015 18:27
Test data for MinCovDet() from scikit-learn
-3.985601726419099045e+00 -9.313690229645974483e+00 -1.143236280186010667e+01
-1.220509140669881099e+01 -1.791131597502962336e+01 1.490638991177861961e+01
5.649477227679701841e+00 1.466691285582851556e+01 -5.401341446359078446e+01
-1.573754408425525497e+00 6.216822026537696999e+00 -3.011385337771707782e+01
1.326979262160184803e+00 -5.495588229248291157e+00 -2.699194470946285662e+01
-2.904947475171724136e+01 1.690287940220726171e+01 2.473231362650341225e+01
-2.961856668306425178e+01 1.026885443310048629e+01 3.164074757432742047e+01
-9.661633409106720194e+00 2.711186434262064182e+01 -2.891467955711205917e+01
1.623975387965418093e+01 -5.366232259542768901e+01 -2.108621037095546313e+01
9.384472771311846984e+00 5.835587818542071759e+00 -5.525600973693262574e+01
@ThatGeoGuy
ThatGeoGuy / Example_Robust_PCA_with_MAD.py
Created February 26, 2015 18:24
ENGO 629: Robust PCA vs Standard PCA with presence of outliers
#!/usr/bin/env python3
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
outliers = np.loadtxt("outliers.txt")
plane_pts = np.loadtxt("plane_pts.txt")