Jump to: navigation, search

Algo holics

3 bytes added, 02:47, 8 April 2019
Cosine Tranformation (A Discrete Cosine Transform for Real Data)
Our initial idea was to use the neural network code for our assignment 2. But since the algorithm itself was not very accurate (2/10 correct predictions even after 10,000 training iterations), we decided to paralellize merge sort. Soon we realized that since its Big O classification was n log n, offloading computations to GPU would not be that effective. So, we settled with the cosine transform library, as described below.
====Cosine Tranformation (A Discrete Cosine Transform for Real Data)====
The Cosine_Transform is a simple C++ library which demonstrates properties of the Discrete cosine Transform for real data. The Discrete Cosine Transform or DCT is used to create jpeg (compressed images).
This [ Link] can be used for better understanding of the above formula. Here is the [ source code] used.
The flat profile for the above serial code looks like:
=====Kernel Version 1=====
{| class="wikitable mw-collapsible mw-collapsed"
! Modified Code

Navigation menu