Create a joint probability distribution from a given CSV file

Issue #21 closed
Pierre Denis repo owner created an issue

Lea shall provide a new constructor method to build a joint probability distribution from a given CSV file. The attribute names shall be read from the first line of the CSV file.

Optionally, a syntax in the column names should allow to declare each field as boolean, integer, ... so that the read string can be converted directly in the built Lea instance. Also, such syntax should allow to declare a field as the frequency of the row, so it could be used to assign a non-uniform probability distribution to the read rows.

Comments (3)

  1. Log in to comment