donpir / jmatrw Goto Github PK
View Code? Open in Web Editor NEWJava Library to read/write *.MAT Files
License: GNU Lesser General Public License v3.0
Java Library to read/write *.MAT Files
License: GNU Lesser General Public License v3.0
The library must be able to read *.mat file with matrix inside.
When the library reads the array from the file it already reads the array name, but actually it is not returned to the client code. Insert the array name in the JMATData structure.
The need is to have a custom splitter for the mat files. They are binary file and have metadata, for instance the description of the mat version and the software used to create it. So, the splitting can not be based on the file length as do spark standard splitters.
Create the maven project and upload it on github.
A mat file can compress an array using gzip. The library must support this format.
Include the sum and sub to the formula parser
Add an header with license info in every java file.
Test the library with an array of length 57600
The idea is to implement a custom InputFormat to use with Apache Spark to read *.mat files and split huge array/matrix on multiple nodes.
JMATRW4Analystics has a module to parse string with mathematical expressions and produce a syntax tree. Actually the library does not read decimal constants.
When reading arrays of 8196 length, the retrieved array size is negative.
In order to simplify the library usage, it is useful that the class to instantiate for reading is "JMatReader" and not JMatControl that is for internal usage.
In order to use the parser with spark it requires to be serializable
It would be useful to have a method to reset the reader and start from the beginning.
In this way it is possible to read the mat array many times from the beginning.
Read the mat file with matrix data.
Import the JMATRW library in apache spark.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.