henryzord / ardennes

An Estimation of Distribution Algorithm for Decision-Tree Induction.
5 stars 1 forks source link

Implement multi-processing #6

Open henryzord opened 7 years ago

henryzord commented 7 years ago
  1. Implement multi-threading for individuals; and
  2. Implement multi-process for folds.
henryzord commented 7 years ago

Somewhere in the development cycle it was implemented. As for 4dd619fc66b2a5e9ff471a995ab7633d10c8f37c there are two kinds of parallelism:

  1. At fold level, in https://github.com/henryzord/ardennes/blob/master/evaluate.py#L653
  2. At threshold-setting level, in https://github.com/henryzord/ardennes/blob/master/treelib/individual.py#L333

However, there is still more room for improvements:

  1. Additionally to setting verifying quality of thresholds in GPU, also make predictions;
  2. Port some other code (as for sampling nodes, updating variables) to C.