Intel® oneAPI Data Analytics Library
Learn from community members on how to build compute-intensive applications that run efficiently on Intel® architecture.
224 Discussions

How to modify example "Cosine Distance Matrix"?

Hong_H_
Beginner
343 Views

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.

0 Kudos
1 Reply
Zhang_Z_Intel
Employee
343 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.

 

0 Kudos
Reply