@@ -8,18 +8,20 @@ dataset = Burgers.get_data(n = 1000);
88m = Burgers. get_model ();
99input_data, ground_truth = dataset[1 ], dataset[2 ];
1010
11-
1211i = 1
13- plot (input_data[1 ,:,1 ],ground_truth[1 , :, i], label = " ground_truth" ,title = " Burgers equation u(x,T_end)" );
14- p1 = plot! (input_data[1 ,:,1 ],m (view (input_data, :, :, i: i))[1 , :, 1 ],label = " predict" );
15- plot (input_data[1 ,:,1 ],ground_truth[1 , :, i + 1 ],label = " ground_truth" );
16- p2 = plot! (input_data[1 ,:,1 ],m (view (input_data, :, :, (i + 1 ): (i + 1 )))[1 , :, 1 ],label = " predict" );
17- i = 3
12+ plot (input_data[1 , :, 1 ], ground_truth[1 , :, i], label = " ground_truth" ,
13+ title = " Burgers equation u(x,T_end)" );
14+ p1 = plot! (input_data[1 , :, 1 ], m (view (input_data, :, :, i: i))[1 , :, 1 ], label = " predict" );
1815
19- plot (input_data[1 ,:,1 ],ground_truth[1 , :, i], label = " ground_truth" );
20- p3 = plot! (input_data[1 ,:,1 ],m (view (input_data, :, :, i: i))[1 , :, 1 ],label = " predict" );
21- plot (input_data[1 ,:,1 ],ground_truth[1 , :, i + 1 ], label = " ground_truth" );
22- p4 = plot! (input_data[1 ,:,1 ],m (view (input_data, :, :, (i + 1 ): (i + 1 )))[1 , :, 1 ], label = " predict" );
23- p = plot (p1, p2, p3, p4)
16+ plot (input_data[1 , :, 1 ], ground_truth[1 , :, i + 1 ], label = " ground_truth" );
17+ p2 = plot! (input_data[1 , :, 1 ], m (view (input_data, :, :, (i + 1 ): (i + 1 )))[1 , :, 1 ],
18+ label = " predict" );
19+ i = 3
2420
21+ plot (input_data[1 , :, 1 ], ground_truth[1 , :, i], label = " ground_truth" );
22+ p3 = plot! (input_data[1 , :, 1 ], m (view (input_data, :, :, i: i))[1 , :, 1 ], label = " predict" );
2523
24+ plot (input_data[1 , :, 1 ], ground_truth[1 , :, i + 1 ], label = " ground_truth" );
25+ p4 = plot! (input_data[1 , :, 1 ], m (view (input_data, :, :, (i + 1 ): (i + 1 )))[1 , :, 1 ],
26+ label = " predict" );
27+ p = plot (p1, p2, p3, p4)
0 commit comments