Machine-Learning-In-Action icon indicating copy to clipboard operation
Machine-Learning-In-Action copied to clipboard

Converting the code from "Machine Learning in Action" from Python to F#

Results 7 Machine-Learning-In-Action issues
Sort by recently updated
recently updated
newest added

I know that it's been a while since you updated this repo, but It's helped me so much to grasp ML concepts that I had to contribute back. In my...

In https://github.com/mathias-brandewinder/Machine-Learning-In-Action/blob/398677f8c739b79ff2c6f3daee4bed46f6c6fa00/MachineLearningInAction/MachineLearningInAction/LogisticRegression.fs#L96 you take len elements from a random sequence of [0..len-1] I think this is not really correct since you might draw elements twice. That said: the overall implication...

When decision tree encounters unknown case, it crashes. It should probably return the most likely branch in that case.

I suspect speed of classification can be improved by iterating over the shortest of words in text and classification tokens, instead of checking for the presence of every token.

enhancement

classifier function doesn't need to re-compute estimator.

enhancement

Paks' code includes some performance improvements in Decision Trees, using Maps; include these in the code. https://github.com/paks/Machine-Learning-In-Action/network

enhancement