Quantcast
Channel: Math.NET Numerics
Viewing all articles
Browse latest Browse all 971

New Post: Fsharp: Read csv into matrix

$
0
0
Hi,

I'm new to FSharp and Math.Net Numerics.

I have a csv file with float numbers and headers such as:

A,B,C
0.5,0.6,98.0
2.0,3.4,5.3

And I'd like to create a matrix from this input.

I thought maybe MathNet.Numerics.Data.Text would be right package to do this but I can't find any documentation about it.

Any suggestions how to tackle this would be appreciated.

BTW: I also tried the F# csv type provider. I can load the data alright, but then I don't know how to convert them to a matrix.

Regards
Radibor

Viewing all articles
Browse latest Browse all 971

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>