-
Book Overview & Buying
-
Table Of Contents
Scientific Computing with Scala
By :
In this chapter, we will discuss data storage and retrieval in Scala. These two things are important to know about, because in most contexts you will need to perform anything that could be considered scientific computing. You will very likely need to read in data in some format and to output the results in some format. For example, a lot of test data for pattern recognition algorithms is stored in CSV format. Another popular way of storing data is in SQL databases. For use in any kind of numerical or symbolic calculations, this data will have to be retrieved. To retrieve it, you must have a way of writing SQL queries to be performed on the said database. Another popular way to store data, especially if the data is large in volume, is HDF5 format files. They are commonly used to store the results of experiments producing large amounts of data that need to be stored in a structured way. Whenever possible, we will try to present the best possible...