Open kallewesterling opened 11 months ago
I have created a number of these in the codebase now.
The remaining issue here are some remaining Any
types, where I wasn't able to determine what the type should be. Downgrading the estimate for this issue consequently.
Currently, there is little type control in the setting up of classes, and reading in files.
Suggested solution
Implement better type control. Here are som examples:
BayesianNetwork.__init__
: modeldata should be in json dict format can be checked and throwing an error if not correctBayesianNetwork.__init__
: else statement (if not passed as string) does not mean passed as graph skeletonloadDataFromCSV
function reads in the headers but then also reads them in again when the rest of the data is read in. The headers are then converted to floats along with the rest of the data. This may cause errors if headers are not numbers.