Skip to content

Commit

Permalink
Updated numerical experiment with more functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffrey-hokanson committed Mar 24, 2019
1 parent 76ecef2 commit f16f26a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Reproducibility/Lipschitz/tab_eig.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
funs.append(psdr.demos.Borehole())
names.append('borehole')

# Wing Weight
funs.append(psdr.demos.WingWeight())
names.append('wing')


act = psdr.ActiveSubspace()
Expand All @@ -27,7 +30,7 @@
pgf = PGF()
pgf.add('i', np.arange(1,m+1))
for fun, name in zip(funs, names):
X = fun.domain.sample(2e2)
X = fun.domain.sample(1e3)
grads = fun.grad(X)

act.fit(grads)
Expand Down

0 comments on commit f16f26a

Please sign in to comment.