ai-replication
Checkout at: https://pypi.org/manage/project/aireplication/releases/
Usage
from aireplication.ultils.data import TimeSeriesGenerator, Dataset
config = {"dataset_name": "GYEONGGI2955",
"features": ["Amount of Consumption", "Temperature"],
"prediction_feature": "Amount of Consumption", # Feature to use for prediction
"input_width": 168,
"output_length": 1,
"train_ratio": 0.9
}
dataset = Dataset(dataset_name=config["dataset_name"])
# data = dataset.dataloader.export_a_single_sequence()
data = dataset.dataloader.export_the_sequence(config["features"])
print("Building time series generator...")
tsf = TimeSeriesGenerator(data=data,
config=config,
normalize_type=1,
shuffle=False)
# Get model
model = get_model(model_name=args.model_name,
config=config)
# Train model
history = model.fit(x=tsf.data_train[0], # [number_recoder, input_len, number_feature]
y=tsf.data_train[1], # [number_recoder, output_len, number_feature]
validation_data=tsf.data_valid)
List of dataset is available
config1 = {"dataset_name": "GYEONGGI2955",
"features": ["Amount of Consumption", "Temperature"],
"prediction_feature": "Amount of Consumption", # Feature to use for prediction
"input_width": 168,
"output_length": 1,
"train_ratio": 0.9
}
config2 = {"dataset_name": "CNU_ENGINEERING_7",
"features": [ "temperatures", "humidity", "pressure","energy" ] # Features to use for training
prediction_feature: "energy", # Feature to use for prediction
"input_width": 168,
"output_length": 1,
"train_ratio": 0.9
}
Publishing the package
pip install twine
python setup.py sdist
twine upload dist/*
- Note: Testing case:
twine upload --repository testpypi dist/*
Metadata
Release files for aireplication 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aireplication-0.0.4.tar.gz | 11.8 kB | Without provenance | Details for aireplication-0.0.4.tar.gz |
Release files / aireplication-0.0.4.tar.gz
| Download URL | aireplication-0.0.4.tar.gz |
|---|---|
| Size | 11.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0234110b57e57b4bac9375083e138afa4306a8e08c50915279a6885227fd2dfd
|
|
BLAKE2b-256 checksum How to use checksums |
e4aa65ea223b2a434adb72f4f564eefb865012aee196ee9725e24009a125cf5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.12
|
Security for aireplication 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.