From 50331ad8593f5e92eefeac5b7bbf9a7fea1ad195 Mon Sep 17 00:00:00 2001 From: Krupakar Reddy <137398727+Krupakar-Reddy-S@users.noreply.github.com> Date: Mon, 12 Aug 2024 12:35:16 +0530 Subject: [PATCH] Moved factors from comments to statement --- welcome.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/welcome.md b/welcome.md index ecae3b9..aac0603 100644 --- a/welcome.md +++ b/welcome.md @@ -25,6 +25,14 @@ This example demonstrates how to perform Bayesian inference for a linear regress Plant growth can be influenced by multiple factors, and understanding these relationships is crucial for optimizing agricultural practices. +Independent Variables: +- Sunlight Hours: Number of hours the plant is exposed to sunlight daily. +- Water Amount: Daily water amount given to the plant (in milliliters). +- Soil Nitrogen Content: Percentage of nitrogen content in the soil. + +Dependent Variable: +- Plant Growth (y): Measured as the increase in plant height (in centimeters) over a certain period. + ```python import pymc as pm @@ -33,16 +41,6 @@ seed = 42 x_dist = pm.Normal.dist(shape=(100, 3)) x_data = pm.draw(x_dist, random_seed=seed) -# Independent Variables: -# Sunlight Hours: Number of hours the plant is exposed to sunlight daily. -# Water Amount: Daily water amount given to the plant (in milliliters). -# Soil Nitrogen Content: Percentage of nitrogen content in the soil. - - -# Dependent Variable: -# Plant Growth (y): Measured as the increase in plant height (in centimeters) over a certain period. - - # Define coordinate values for all dimensions of the data coords={ "trial": range(100),