"plt.title('Promedio anual de concentraciones de CO2')\n",
...
...
@@ -391,7 +392,7 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": 42,
"metadata": {},
"outputs": [
{
...
...
@@ -401,7 +402,6 @@
"Regression coefficient: 0.03169965286205089\n",
"Intercept: 305.8667902052942\n",
"R-squared (R²): 0.9813151125069396\n",
"It is considered a linear model, or line, that verifies the linear function Y=M.X + H with M: Regression coefficient, H: Intercept, and R-squared (R²): proportion of the total variability of the variable dependent that is explained by the model\n",
"Predicted CO2 concentration in 2025: 416.3083807766795 ppm\n"
"print(\"It is considered a linear model, or line, that verifies the linear function Y=M.X + H with M: Regression coefficient, H: Intercept, and R-squared (R²): proportion of the total variability of the variable dependent that is explained by the model\")\n",
"print(\"Predicted CO2 concentration in 2025:\", predicted_CO2_2025[0][0], \"ppm\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Here above, it is considered a linear model, or line, that verifies the linear function Y=M.X + H with M: Regression coefficient, H: Intercept, and R-squared (R²): proportion of the total variability of the variable dependent that is explained by the model"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Pour amelliorer le document un plot est plus utile que les paramètres de la régression."