Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Highlighted

Farzaneh_T_

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-03-2017
12:10 PM

34 Views

Hi there,

I am trying to implement Intel DAAL for linear regression. I have noticed that by default it doesn't scale data before doing regression. I can include z-score calculation in the code, but is there any option to be activated in the linear regression algorithm to do normalization before doing the regression?

Many thanks in advance,

Farzaneh

Accepted Solutions

Highlighted

VictoriyaS_F_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-06-2017
01:51 AM

34 Views

Hello Farzaneh,

As you correctly noticed Intel DAAL does not scale the data before doing the regression.

To normalize the data please use one of the normalization algorithms available in the library: https://software.intel.com/sites/products/documentation/doclib/daal/daal-user-and-reference-guides/i...

Best regards,

Victoriya

4 Replies

Highlighted

VictoriyaS_F_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-06-2017
01:51 AM

35 Views

Hello Farzaneh,

As you correctly noticed Intel DAAL does not scale the data before doing the regression.

To normalize the data please use one of the normalization algorithms available in the library: https://software.intel.com/sites/products/documentation/doclib/daal/daal-user-and-reference-guides/i...

Best regards,

Victoriya

Highlighted

Andrey_N_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-07-2017
06:12 AM

34 Views

Hi Farzaneh,

To double-check that our understanding of your question is correct. Do you suggest to activate z-score in the linear regression algorithm for usability reasons, that is to avoid explicit call to z-score technique in Intel DAAL based application, before training the linear regression model? Or you keep in mind some other reasons/use cases?

Andrey

Highlighted

Farzaneh_T_

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-07-2017
09:33 AM

34 Views

Hi Andrey,

I need to get reasonable coefficients from the linear regression model to decide to reduce the number of features that I have. Therefore I need to scale the data before doing linear regression. I wanted to know whether there is any straight-forward way to do that, rather than first calling the z-score, and then start the training the linear regression.

Best,

Farzaneh

Highlighted

Andrey_N_Intel

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-08-2017
03:45 AM

34 Views

Hi Farzaneh,

As Vika mentioned earlier in this thread, with the present version of Intel DAAL API you need to call z-score first, and then start training the liner regression model. On our side, we will run additional internal analysis of your request.

Thanks, Andrey

For more complete information about compiler optimizations, see our Optimization Notice.