Re:BTables: A fast, compact format for Machine Learning
by rspeer on Friday October 02, 2015 @07:03PM
(#10321849)
This is a poor reinvention of archive formats such as .zip.
If I have multiple data files that need to go together, I would like to put them together with a widely-understood tool that has good APIs in many programming languages and can even be interacted with from the shell.
Re:BTables: A fast, compact format for Machine Learning
by glogla on Friday October 02, 2015 @06:41PM
(#10321760)
I wonder if it weren't more practical to just use sqlite file for data like that. I mean, it's not plaintext, but sqlite is available pretty much anywhere and provides convenient interface for data.
Re:BTables: A fast, compact format for Machine Learning
by felixr on Friday October 02, 2015 @06:55PM
(#10321818)
HDF5 is much better suited for a lot of scientific data sets. How would you store multidimensional data in sqlite? Not everything is a table or matrix.
HDF5 also allows you to pick compression filters that are especially suited for the data you have.
If you are looking to replace a CSV file, then sqlite is obviously a pragmatic solution.
If you have multiple "tables" that belong together and you need one table to interpret the data in the other table, wouldn't you want them to be grouped together? If they are separate files on the filesystem there is always the risk of forgetting something when you share the data with somebody.
If you can put all the data of an experiment into one file, I think that is very convenient. After all, you don't have to read the complete HDF5 file if you are interested just in a subset of the data.