Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create own DataSets #529

Open
juferdinand opened this issue Apr 8, 2023 · 1 comment
Open

Create own DataSets #529

juferdinand opened this issue Apr 8, 2023 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation question Further information is requested
Milestone

Comments

@juferdinand
Copy link

Hello together,
I search since some days for an method to create an own dataset based on JSON (no Images just String, Date or Integer information), but I dont find any best practice or example for do this. Anything what I find is based on KotlinDL Datasets which are great for test or learn something or about how to create own Image Dataset.

Im new in Machine Learning so dont flame me if I understand something not directly :)

Thx & Greetings :)

@zaleslaw zaleslaw self-assigned this Apr 8, 2023
@zaleslaw zaleslaw added documentation Improvements or additions to documentation question Further information is requested labels Apr 8, 2023
@juliabeliaeva
Copy link
Collaborator

@juferdinand OnHeapDataset can work with any data, you just need to convert it to floats. So for each json you can convert it to FloatArray, then you can pass these arrays OnHeapDataset#create method. See OnHeapDataset.kt#L121.

@zaleslaw zaleslaw added this to the 0.6 milestone May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants