Community
cancel
Showing results for 
Search instead for 
Did you mean: 
SOILA_K_Intel
Employee
150 Views

Model serialization

Jump to solution

Hi,

I was looking into serializing and de-serializing DAAL linear regression models. I had to add the following line of code to void serialImpl(Archive *arch, size_t version) in "include/algorithms/linear_regression/linear_regression_model.h" to get it to work. Without this line, the beta table was either null or filled with zeros depending on the constructor.

_beta = SharedPtr<data_management::NumericTable>(beta);

Are there plans to release the JNI wrapper code as well, so that we can easily extend Java objects with methods that are available in c++ but not in Java. For example, accessing the QR tables in linear regression with QR decomposition?

Thanks,

Soila

0 Kudos
1 Solution
Ilya_B_Intel
Employee
150 Views

Soila,

Serialization function for linear regression model is updated in our code base and this fix will be available in nearest Beta update.

We plan to align C++ and Java interfaces additional code modification will not be required to access data in Java API. Most of the missing Java interface functions will be available in nearest Beta update as well.

Ilya

View solution in original post

2 Replies
Ilya_B_Intel
Employee
151 Views

Soila,

Serialization function for linear regression model is updated in our code base and this fix will be available in nearest Beta update.

We plan to align C++ and Java interfaces additional code modification will not be required to access data in Java API. Most of the missing Java interface functions will be available in nearest Beta update as well.

Ilya

View solution in original post

SOILA_K_Intel
Employee
150 Views

Thanks Ilya!

Reply