VowpalWabbit / vowpal_wabbit

Vowpal Wabbit is a machine learning system which pushes the frontier of machine learning with techniques such as online, hashing, allreduce, reductions, learning2search, active, and interactive learning.
https://vowpalwabbit.org
Other
8.49k stars 1.93k forks source link

feat: WASM initial CB model API #4574

Closed olgavrou closed 1 year ago

olgavrou commented 1 year ago

For the cb model, the example is not opaque but a javasctipt object that the C++ side can inspect

Moved basic vw functionality out into vw_model_basic class which is used as a mixin for the vw_model which is generic vw model implementation and the newly added cb_vw_model

vw_model_basic can be enhanced in the future with any other generic functionality