Showing results for

- Intel Community
- Software Development SDKs and Libraries
- Intel® oneAPI Data Analytics Library & Intel® Data Analytics Acceleration Library
- How to modify example "Cosine Distance Matrix"?

- 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
##

Hong_H_

Beginner

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

03-08-2016
06:58 AM

16 Views

How to modify example "Cosine Distance Matrix"?

I would like to use a customized distance function instead of consine distance. I would like also make it a distributed algorithm for a large data set. Please advise how to do it with Intel DAAL.

By the way, where is the source code for java files like cosdistance/Method.java etc.? It would be very helpful to follow those code to write customized algorithms, which would make the library much more useful.

1 Reply

Highlighted
##

Zhang_Z_Intel

Employee

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

03-08-2016
03:25 PM

16 Views

At this time the cosine distance matrix algorithm in DAAL does not support user customization of the distance function. Also, it does not support distributed algorithm.

We will soon have an open source DAAL project on github. You will be able to see the source code and customize it the way you want. Please come back to check in one month or so. We will announce our open source project by that time.

Thanks.

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