jubatus / jubatus_core

Jubatus algorithm component
GNU Lesser General Public License v2.1
20 stars 29 forks source link

add add_bulk api #391

Closed TkrUdagawa closed 6 years ago

TkrUdagawa commented 6 years ago

fix #360

I have added add_bulk API to anomaly_base. And implemented update_bulk in lof and lof_storage and set_bulk in light_lof. This API returns the ids which are successfully updated by the API.

rimms commented 6 years ago

Great works ! 👍

I tested this patch in the case bulk_size is larger than max_size of unlearner (test code). It works fine.