Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,101 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- tabular-regression
|
| 5 |
+
tags:
|
| 6 |
+
- agriculture
|
| 7 |
+
- tea-yield
|
| 8 |
+
- sri-lanka
|
| 9 |
+
- machine-learning
|
| 10 |
+
- regression
|
| 11 |
+
dataset_info:
|
| 12 |
+
features:
|
| 13 |
+
- name: Rainfall_mm
|
| 14 |
+
dtype: float64
|
| 15 |
+
description: Annual rainfall in millimeters
|
| 16 |
+
- name: Avg_Temp_C
|
| 17 |
+
dtype: float64
|
| 18 |
+
description: Average annual temperature in Celsius
|
| 19 |
+
- name: Soil_pH
|
| 20 |
+
dtype: float64
|
| 21 |
+
description: Soil acidity/alkalinity (4.5-6.0 optimal for tea)
|
| 22 |
+
- name: Fertilizer_kg_per_hectare
|
| 23 |
+
dtype: float64
|
| 24 |
+
description: Fertilizer application rate in kg per hectare
|
| 25 |
+
- name: Sunshine_hours
|
| 26 |
+
dtype: float64
|
| 27 |
+
description: Average daily sunshine hours
|
| 28 |
+
- name: Altitude_m
|
| 29 |
+
dtype: float64
|
| 30 |
+
description: Elevation in meters above sea level
|
| 31 |
+
- name: Age_of_tea_plant_years
|
| 32 |
+
dtype: float64
|
| 33 |
+
description: Age of tea bushes in years
|
| 34 |
+
- name: Yield_kg_per_hectare
|
| 35 |
+
dtype: float64
|
| 36 |
+
description: Tea yield in kilograms per hectare (target variable)
|
| 37 |
+
- name: Season_Condition
|
| 38 |
+
dtype: int64
|
| 39 |
+
description: Synthetic season indicator (0=Normal, 1=Monsoon, 2=Drought)
|
| 40 |
+
configs:
|
| 41 |
+
- config_name: default
|
| 42 |
+
data_files:
|
| 43 |
+
- split: train
|
| 44 |
+
path: tea_yield_dataset_53264.csv
|
| 45 |
+
---
|
| 46 |
+
|
| 47 |
+
# Sri Lanka Tea Yield Prediction Dataset
|
| 48 |
+
|
| 49 |
+
## 📋 Dataset Description
|
| 50 |
+
|
| 51 |
+
A synthetic dataset for predicting tea yield in Sri Lanka based on agricultural and environmental factors. This dataset simulates real-world conditions for machine learning regression tasks.
|
| 52 |
+
|
| 53 |
+
### **Dataset Summary**
|
| 54 |
+
|
| 55 |
+
- **Size:** 53,264 samples × 10 features (including target)
|
| 56 |
+
- **Type:** Tabular/Structured data
|
| 57 |
+
- **Task:** Regression (predicting continuous tea yield)
|
| 58 |
+
- **Domain:** Agriculture, Climate, Food Production
|
| 59 |
+
|
| 60 |
+
### **Supported Tasks**
|
| 61 |
+
|
| 62 |
+
- `tabular-regression`: Predicting tea yield (kg/hectare) based on environmental and agricultural factors
|
| 63 |
+
- `feature-importance`: Understanding which factors most influence tea production
|
| 64 |
+
- `outlier-detection`: Identifying unusual yield patterns
|
| 65 |
+
|
| 66 |
+
### **Languages**
|
| 67 |
+
|
| 68 |
+
English (feature names and descriptions)
|
| 69 |
+
|
| 70 |
+
## 📊 Dataset Structure
|
| 71 |
+
|
| 72 |
+
### **Data Fields**
|
| 73 |
+
|
| 74 |
+
| Feature | Type | Range | Description |
|
| 75 |
+
|---------|------|-------|-------------|
|
| 76 |
+
| Rainfall_mm | float64 | 1500-3500 mm | Annual rainfall |
|
| 77 |
+
| Avg_Temp_C | float64 | 18-28°C | Average temperature |
|
| 78 |
+
| Soil_pH | float64 | 4.5-6.0 | Soil pH level |
|
| 79 |
+
| Fertilizer_kg_per_hectare | float64 | 200-500 kg/ha | Fertilizer usage |
|
| 80 |
+
| Sunshine_hours | float64 | 4-8 hours | Daily sunshine |
|
| 81 |
+
| Altitude_m | float64 | 500-2000 m | Elevation |
|
| 82 |
+
| Age_of_tea_plant_years | float64 | 3-30 years | Plant age |
|
| 83 |
+
| Yield_kg_per_hectare | float64 | 300-7000 kg/ha | **Target variable** |
|
| 84 |
+
| Season_Condition | int64 | 0,1,2 | Synthetic season indicator |
|
| 85 |
+
|
| 86 |
+
### **Data Splits**
|
| 87 |
+
|
| 88 |
+
The dataset is provided as a single file suitable for train/validation/test splitting (recommended: 70/15/15).
|
| 89 |
+
|
| 90 |
+
## 🚀 Usage
|
| 91 |
+
|
| 92 |
+
### **Loading with Hugging Face Datasets**
|
| 93 |
+
|
| 94 |
+
```python
|
| 95 |
+
from datasets import load_dataset
|
| 96 |
+
|
| 97 |
+
# Load the dataset
|
| 98 |
+
dataset = load_dataset("kasunUdayanga/Tea_Yield_Prediction")
|
| 99 |
+
|
| 100 |
+
# Convert to pandas DataFrame
|
| 101 |
+
df = dataset['train'].to_pandas()
|