Module Import alias Import alias Import alias identifier ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Num Assign NameStore Num Assign NameStore BinOpMult Num Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad body If CompareGt Call AttributeLoad AttributeLoad NameLoad attr attr Num body Assign NameStore Num orelse Assign NameStore Num Assign SubscriptStore AttributeLoad NameLoad attr ExtSlice Index NameLoad Slice BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad NameLoad ExtSlice Index NameLoad Slice Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpSub BinOpMult Num NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListComp BinOpSub NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareLt NameLoad Num decorator_list decorator_list
N/A N/A unittest N/A random N/A numpy np openmdao.lib.surrogatemodels.api ResponseSurface ResponseSurfaceTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A random seed 10 N/A N/A N/A N/A np random seed 10 N/A N 26 N/A d 20 N/A means N/A 0.05 N/A N/A N/A np random randn 2 d N/A N/A self X_train N/A N/A np zeros N/A N d N/A N/A self Y_train N/A N/A np zeros N N/A i N/A range N N/A N/A N/A N/A N/A N/A np random random 0.5 N/A N/A y 1 N/A N/A y 0 N/A N/A N/A self X_train N/A N/A i N/A N/A N/A N/A N/A np random random d N/A means N/A N/A y N/A N/A N/A N/A self Y_train N/A i N/A N/A 4 y 2 N/A test_training N/A N/A self N/A N/A N/A lr N/A ResponseSurface N/A self X_train N/A self Y_train N/A training_reconstruction N/A N/A N/A lr predict x N/A x N/A self X_train N/A residual N/A sum N/A N/A x y N/A N/A x y N/A zip training_reconstruction N/A self Y_train N/A N/A N/A self assertTrue N/A residual 1e-05 N/A N/A