Find Jobs
Hire Freelancers

C++ code for partitioning data in partitions depending on their similarities.

$30-250 USD

Completed
Posted over 3 years ago

$30-250 USD

Paid on delivery
I have two big files and I want to hash them to a hash table. The key is the line number and the value is a two dimensional array of the content in that line (from first file) and the content in that line (from second file). 1- min, max, avg, % data points that is a neighbor of some data points within a distance less than or equal to 2* average. 2- Partition the data points into groups/partition each is represented using a hash table where we try to group similar data points based on distances. Note that we need to allocate partition dynamically. 2.1 Pick 1st data point from k-NN table randomly. 2.2 Create a query Q to accept entries of form(point_ID, neighbor_point_ID,dist) 2.3 i=1 2.4 Create partition part_i 2.5 Pick randomly a point x from k-NN and insert x into the part_i 2.6 insert all x neighbors (x_ID,neighbor_point_ID,dist) in Q in order (based on their distances, the closest neighbor goes first). 2.7 x= “ ” 2.8 While the Q is not empty 2.8.1 Deque a data point x from the Q 2.8.2 If its distances from the original point to is less than 2 * avg then Insert x it to part_i Retrieve x k-NN from k-NN table ,and insert them to Q Remove x from k-NN table 2.8.3 Else add x in separate list {x_ID,neighbor_point_ID,dist}, to be handled later 2.9 If Q is empty, then i=i+1 and create part_i go back to the while statement.
Project ID: 28013786

About the project

4 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello, I am expert C/C++ programmer having %+ years experience. I am ready to do this project. I will do professional work. Please contact me. Thank you Regards, Bilal
$200 USD in 2 days
5.0 (35 reviews)
5.3
5.3
User Avatar
Hello. I have 12+ years of experience in development. I can do your task qualitaively.
$70 USD in 1 day
4.8 (14 reviews)
4.9
4.9
4 freelancers are bidding on average $130 USD for this job
User Avatar
Hello, I've complete MS Software Engineering. I've 5-Year experience in Java development and algorithm implementation. My Core Expertise in Java - C++ - C - object-oriented - Data Structure - Swing - OpenGL - JavaFX. I have got your project requirement enough, Please leave a message on my chat so we can discuss the project. Best Regards: Aqeel Ahmed
$50 USD in 2 days
4.8 (10 reviews)
4.0
4.0
User Avatar
Hi, I just reviewed your project description and interested in your job now. I am a C/C++ programming expert who is familiar with algorithm and data structure.. So I can implement your job perfectly in accordance with your attentions. I hope to discuss more via chat. Thanks, Best regard
$200 USD in 2 days
5.0 (3 reviews)
2.8
2.8

About the client

Flag of SAUDI ARABIA
Riyadh, Saudi Arabia
5.0
3
Payment method verified
Member since Oct 27, 2020

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.