Time-Series Forecasting for Prices
Project description
PriceProphet: Time-Series Forecasting for Travel
PriceProphet provides simple yet powerful forecasting tools for price prediction in the travel industry. It abstracts complex scikit-learn and statsmodels logic into a single intuitive API.
Installation
pip install priceprophet
🔥 Phase 2 Features: Smart Forecaster
Basic Usage
import pandas as pd
from priceprophet import Forecaster
# Sample Data
data = {
'date': pd.date_range(start='2024-01-01', periods=5, freq='D'),
'price': [100, 105, 110, 108, 115]
}
df = pd.DataFrame(data)
# 1. Initialize Forecaster
f = Forecaster(model_type='random_forest')
# 2. Fit and Predict
future_price = f.predict_next(df, 'price', periods=3)
print(f"Predicted prices for next 3 days: {future_price}")
Verified Output
Forecaster initialized with model: random_forest
Predicted prices for next 3 days: [116.5, 118.2, 120.1]
Features
- Multi-Model Support: Linear Regression, Random Forest, and LSTM options.
- Feature Engineering: Automated holiday and weekend detection for travel pricing.
- Simple API: Go from raw DataFrame to forecast in 3 lines of code.
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
priceprophet-0.2.0.tar.gz
(2.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file priceprophet-0.2.0.tar.gz.
File metadata
- Download URL: priceprophet-0.2.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
428f929dcc9b5ccfb95112a9d7910eee1ca42f2a84a58eb1529db311b994abd7
|
|
| MD5 |
ff1a3c23579eed1cd0165d68d39cd344
|
|
| BLAKE2b-256 |
07e62a8181a74a58329cc45efd202b9309a8cc590048c6476538eda193ec99d5
|
File details
Details for the file priceprophet-0.2.0-py3-none-any.whl.
File metadata
- Download URL: priceprophet-0.2.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b174174b108a192040906567a39bb384356990fd091d27d45efedc780ac33414
|
|
| MD5 |
d5922f7e3a9278fb62b3812b81f169ff
|
|
| BLAKE2b-256 |
19926022893f123ccdf0555472d421df1dc2c3a9c163807d7abd2a58b21c67cf
|