|
1325 | 1325 | "Before feeding our climate data into a deep learning model, we need to ensure that all features are on a comparable scale. Different climate variables have different units and magnitudes (e.g., CO₂ in ppm vs. precipitation in mm/day), which can negatively impact model performance. \n", |
1326 | 1326 | "\n", |
1327 | 1327 | "In the next section, we'll explore **data normalization**, understand why it is essential, and implement a standardization technique to transform our dataset for optimal learning. \n", |
1328 | | - "\n" |
| 1328 | + "</details>\n" |
1329 | 1329 | ] |
1330 | 1330 | }, |
1331 | 1331 | { |
|
1896 | 1896 | "- LSTM layers capture long-term dependencies over time.\n", |
1897 | 1897 | "- The model receives inputs in a way that aligns with its internal computations.\n", |
1898 | 1898 | "</details>\n", |
1899 | | - "</details>\n", |
1900 | | - "\n", |
| 1899 | + "<details>\n", |
| 1900 | + "<summary> <font color='lightGreen'>What Needs to Be Done?</font></summary>\n", |
1901 | 1901 | "What Needs to Be Done?\n", |
1902 | 1902 | "\n", |
1903 | 1903 | "To get our dataset ready for training, we must: \n", |
|
2329 | 2329 | "\n", |
2330 | 2330 | "✅ **Key Benefit**: This method allows CNNs to extract spatial features **without losing the sequence structure**, making it ready for LSTM processing. \n", |
2331 | 2331 | "\n", |
2332 | | - "By combining **CNNs (for spatial feature extraction) and LSTMs (for temporal learning)**, we ensure that the model learns both **where** and **how** climate patterns change over time. \n" |
| 2332 | + "By combining **CNNs (for spatial feature extraction) and LSTMs (for temporal learning)**, we ensure that the model learns both **where** and **how** climate patterns change over time. \n", |
| 2333 | + "</details>" |
2333 | 2334 | ] |
2334 | 2335 | }, |
2335 | 2336 | { |
|
2852 | 2853 | "- \\( m_t \\) and \\( v_t \\) are moving averages of gradients and squared gradients.\n", |
2853 | 2854 | "- \\( \\beta_1 = 0.9 \\) and \\( \\beta_2 = 0.999 \\) control momentum.\n", |
2854 | 2855 | "- \\( \\eta \\) is the learning rate (set to **0.001**).\n", |
2855 | | - "- **Advantages:** Adam adapts learning rates dynamically, making it robust for deep learning.\n" |
| 2856 | + "- **Advantages:** Adam adapts learning rates dynamically, making it robust for deep learning.\n", |
| 2857 | + "</details>" |
2856 | 2858 | ] |
2857 | 2859 | }, |
2858 | 2860 | { |
|
3305 | 3307 | }, |
3306 | 3308 | "source": [ |
3307 | 3309 | "<details>\n", |
3308 | | - "<summary> <font color='lightGreen'>Explanation:</font></summary>\n", |
| 3310 | + "<summary> <font color='lightGreen'>Explanation</font></summary>\n", |
3309 | 3311 | "\n", |
3310 | 3312 | "**Explanation:**\n", |
3311 | 3313 | "\n", |
|
3419 | 3421 | }, |
3420 | 3422 | "source": [ |
3421 | 3423 | "<details>\n", |
3422 | | - "<summary> <font color='lightGreen'>Explanation: </font></summary>\n", |
| 3424 | + "<summary> <font color='lightGreen'>Explanation</font></summary>\n", |
3423 | 3425 | "\n", |
3424 | 3426 | "**Explanation:**\n", |
3425 | 3427 | "\n", |
|
3477 | 3479 | "* **Plotting actual vs. predicted temperatures:** Create scatter plots or time series plots to compare the model's predictions to the actual temperature values.\n", |
3478 | 3480 | "* **Mapping the difference (error):** Plot the difference between the predicted and actual temperatures to visualize the model's errors.\n", |
3479 | 3481 | "* **Using Cartopy for Geographic Projections:** Use `cartopy` to project the data onto a map, providing a more realistic view of the climate patterns.\n", |
3480 | | - "\n" |
| 3482 | + "</details>\n" |
3481 | 3483 | ] |
3482 | 3484 | }, |
3483 | 3485 | { |
|
3725 | 3727 | }, |
3726 | 3728 | "outputs": [], |
3727 | 3729 | "source": [ |
3728 | | - "#to_remove explanation\n", |
| 3730 | + "# to_remove explanation\n", |
3729 | 3731 | "\"\"\"\n", |
3730 | 3732 | "Discussion: Visual similarity is intuitive, but quantitative metrics (e.g., RMSE, correlation) are needed to rigorously evaluate emulator quality.\n", |
3731 | 3733 | "Confidence also comes from generalization: does the emulator work on unseen scenarios?\n", |
|
4153 | 4155 | "name": "python", |
4154 | 4156 | "nbconvert_exporter": "python", |
4155 | 4157 | "pygments_lexer": "ipython3", |
4156 | | - "version": "3.9.13" |
| 4158 | + "version": "3.13.2" |
4157 | 4159 | } |
4158 | 4160 | }, |
4159 | 4161 | "nbformat": 4, |
|
0 commit comments