ihsanandrinal commited on
Commit
2f791c9
·
verified ·
1 Parent(s): 6794db9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +32 -1
README.md CHANGED
@@ -9,4 +9,35 @@ app_file: app.py
9
  pinned: false
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  pinned: false
10
  ---
11
 
12
+ # Palm Oil Price Predictor
13
+
14
+ A machine learning application to predict palm oil prices using historical data.
15
+
16
+ ## Features
17
+ - Predict future palm oil prices based on a linear regression model
18
+ - View model performance metrics (MAE, MAPE, RMSE)
19
+ - Visualize historical data and predictions
20
+ - Retrain the model with updated data
21
+
22
+ ## Tech Stack
23
+ - Python
24
+ - Gradio (UI)
25
+ - Scikit-learn (ML)
26
+ - Pandas & NumPy (Data Processing)
27
+ - Hugging Face Spaces (Deployment)
28
+
29
+ ## Setup
30
+ 1. Ensure `palm_oil.xlsx` contains your data with 'date' and 'nilai' columns
31
+ 2. Run `train_model.py` locally to generate `static/model/model.pkl`
32
+ 3. Deploy to Hugging Face Spaces with Gradio SDK
33
+
34
+ ## Usage
35
+ - **Predict**: From January 2025
36
+ - **Model Insights**: View performance metrics and historical data
37
+ - **Retrain**: Update the model with the latest data
38
+
39
+ ## Limitations
40
+ - Model retraining is temporary (resets on Space restart)
41
+ - Assumes linear relationship in data
42
+
43
+ Developed by [Ihsan Andrinal] | [https://www.linkedin.com/in/ihsan-andrinal/]