Skip to content

Commit

Permalink
Moved factors from comments to statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Krupakar-Reddy-S authored Aug 12, 2024
1 parent dfe5a99 commit 50331ad
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions welcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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),
Expand Down

0 comments on commit 50331ad

Please sign in to comment.