-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The predict function can be rather slow with many predictions.
For example, I think the following may speed up the function, but other improvements are welcome.
- add a functionality to the predict function to parallelize the main loop (which starts at line 201) e.g., using
parallel::mclapplyinstead of the for loop and predict could have an extra argumentcores. - or try to reformat the code avoiding a loop entirely (maybe add extra dimension for
num_predsand do as many matrix operations as possible)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request