@@ -8,18 +8,20 @@ dataset = Burgers.get_data(n = 1000);
8
8
m = Burgers. get_model ();
9
9
input_data, ground_truth = dataset[1 ], dataset[2 ];
10
10
11
-
12
11
i = 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" );
18
15
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
24
20
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" );
25
23
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