Skip to main content

io interface

Project description

tspace

Overview

tspace is an data pipleline framework for deep reinforcement learning with IO interface, processing and configuration

  • Working in training and inferrence mode
    • logging and monitoring with cutelog or TUI interface
    • cascaded threading pool for well-structured Scheduling of ETL and ML pipelines
    • Customized Exception handling
    • Graceful shutdown
    • online and offline training
    • local and distributed training
  • Support for multiple models
    • reinforcement learning models with DDPG
    • time sequence models with LSTM and Transformer
  • Data pipeline compatible to both ETL and ML dataflow
    • Support for multiple data sources (local CAN or remote cloud object storage)
    • Support both NoSQL database and local or cloud data storage through Dask with Parquet and Avro interface
    • Full Pandas DataFrame support with raw json codecs
    • Configuration system for vehicles, drivers, data sites, neural network hyperparameters, database, HMI types, etc
    • Timezone aware time sequence data processing
    • Data object meta-info processing and storage linked to configuration system
    • Stateful time sequence processing with sequential model
    • Type hint for data processing and configuration
    • Pydantic integration
Overview of tspace architecture

The diagram shows the basic architure of tspace. The main components are:

  • Avatar: orchestrates the whole ETL and ML workflow.
  • Data Object: The data object is a container for the data. It contains the raw data, the metainfo and the configuration. The data object is passed through the data pipeline and can be modified by the processing components.
  • Data Pipeline: The data pipeline is a sequence of processing components. Each processing component takes a data object as input and returns a data object as output. The data pipeline is responsible for transforming the data object into a format that can be used by the machine learning model.
  • Machine Learning Model: The machine learning model is responsible for training and inferencing. It takes the data object as input and returns a prediction as output. The machine learning model can be a reinforcement learning model, a time sequence model or any other type of model.
  • Configuration System: The configuration system is responsible for storing and managing the configuration of the data pipeline, the machine learning model and other components. The configuration system is used to configure the data pipeline, the machine learning model and other components.
  • Logging and Monitoring: The logging and monitoring component is responsible for logging and monitoring the data pipeline, the machine learning model and other components. It provides real-time feedback on the performance of the data pipeline and the machine learning model.
  • Exception Handling: The exception handling component is responsible for handling exceptions that occur during the execution of the data pipeline, the machine learning model and other components. It provides a mechanism for gracefully handling errors and recovering from failures.

TODO

  1. Add time sequence embedding database support with LanceDB for TimeGPT
  2. Batch mode for large scale inference and training with Unit of Work pattern

How to use

Install

pip install tspace

Fill me in please! Don’t forget code examples:

1+1
2
# say_hi("world")
foo()
'foo'

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

tspace-0.0.1.tar.gz (113.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tspace-0.0.1-py3-none-any.whl (140.7 kB view details)

Uploaded Python 3

File details

Details for the file tspace-0.0.1.tar.gz.

File metadata

  • Download URL: tspace-0.0.1.tar.gz
  • Upload date:
  • Size: 113.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for tspace-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6a9b894afe4e73279994618eb412f8aa921d6d413a02692680ea86445e7dabb1
MD5 fee7c02087d79add436f04131bb158a6
BLAKE2b-256 4f20203ed05d740b0545cb95cc6a84eeb41c9c607e55f45bdde13f54a3a4bdd9

See more details on using hashes here.

File details

Details for the file tspace-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: tspace-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 140.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for tspace-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f1fd443eccb56b8db2837372c2c1885ff1bd19c97e8b7a8b3b792046e4fda36b
MD5 ff3904f781caaf8331f52ae49aad9e72
BLAKE2b-256 912452f00ff863fb622533dd23366e01e9bc70226bcbb5c59fd7447386a69d05

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page