AIDB v0.0.1
database for artificial intelligence/machine learning data
Overview
aidb is a database designed for large dataset for machine learning projects, that uses binary databases to minify data.
Examples
Basic Usage
from aidb import AIDB
database = AIDB({
"date": "text",
"points": "int"
})
database.add("01-01-2001", 1)
data = database.get()
print(data.size)
Here, the data variable is of type pandas.DataFrame, a type that is used by machine learning libraries like tensorflow for training data.
The aidb class takes a schema of type dict for the database, and expects values in add to be of the same order. get returns all data.
Copyright © 2021 Aarush Gupta
This code is copyrighted but licensed to the public under the GNU AGPLv3 license and any later versions.