Skip to content

Commit

Permalink
Add time-series datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhkswan authored Aug 19, 2022
1 parent 92fadbf commit 52cee6b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/synthesized_datasets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@
_Dataset("telecom_churn", "tabular/templates/telecom-churn.csv", [_Tag.CHURN, _Tag.BINARY_CLASSIFICATION])
_Dataset("vehicle_insurance", "tabular/templates/vehicle-insurance.csv", [_Tag.INSURANCE])

_Dataset("air_quality", "time-series/air-quality.csv", [_Tag.TIME_SERIES])
_Dataset("bitcoin_price", "time-series/bitcoin_price.csv", [_Tag.FINANCE, _Tag.TIME_SERIES])
_Dataset("brent_oil_prices", "time-series/brent-oil-prices.csv", [_Tag.FINANCE, _Tag.TIME_SERIES])
_Dataset("occupancy_data", "time-series/occupancy-data.csv", [_Tag.TIME_SERIES])
_Dataset("s&p500_5yr", "time-series/sandp500_5yr.csv", [_Tag.FINANCE, _Tag.TIME_SERIES])

from ._datasets import *
2 changes: 2 additions & 0 deletions src/synthesized_datasets/_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ class _Tag(_Enum):
BINARY_CLASSIFICATION = "binary_classification"
CHURN = "churn"
REGRESSION = "regression"
TIME_SERIES = "time_series"
FINANCE = "finance"

def __repr__(self):
return f"<{self.value}>"
Expand Down

0 comments on commit 52cee6b

Please sign in to comment.