Find Jobs
Hire Freelancers

urgent testing needed in code

$2-8 USD / hour

Closed
Posted over 9 years ago

$2-8 USD / hour

all i want is printing the correct result it desnt matter if you use the same code or other code as long as it print the correct result and you can use any other language but let me know if you going to use other language and wht is the language [login to view URL] it is showing which clusters are merged at each iteration, a representation of the final evolutionary tree in Newick format. the out but is going to be some thing like (((A,B),C),D),(E,F)) =============== Some Ruby fragments for consideration in the Homework Assignment Reading in a distance matrix that is in Phylip format. $ cat [login to view URL] 6 A 0 1 3 7 17 19 B 1 0 2 6 16 18 C 3 2 0 4 14 16 D 7 6 4 0 10 12 E 17 16 14 10 0 2 F 19 18 16 12 2 Could be read like this: # Read the input file mentioned on the command line, assuming Phylip format. # Produce a lower triangle rather than a full matrix. lines = [login to view URL](ARGV[0]) species_count = lines.shift.to_i $dist_triangle = lines[0...species_count].inject({}) do |dt,l| data = [login to view URL](/\s+/) species = [login to view URL] dt[species] = (0...[login to view URL]).inject({}) do |row,i| row[[login to view URL][i]] = data[i].to_f row end dt end Which could be then used like this: (Notice the use of || to produce the upper triangle values.) # Function to calculate the arithmetic mean distance between clusters. def mean_distance(c1,c2) c1f = [login to view URL] c2f = [login to view URL] [login to view URL] {|e1| [login to view URL] {|e2| $dist_triangle[e1][e2] || $dist_triangle[e2][e1]}.reduce(:+) }.reduce(:+) / ([login to view URL] * [login to view URL]) end ============= c# or Ruby the code i just gave you is on Ruby but if you you know how to do it in any other language that fine
Project ID: 6852000

About the project

6 proposals
Remote project
Active 9 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
6 freelancers are bidding on average $8 USD/hour for this job
User Avatar
I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the language is c++ under linux. I used c++ to make many great projects, for example, I made the tools which can convert java files to c++ scripts which has the same effect, of course garbage collection included. I also made our own mobile game using c++, I even can show you the demo of client. Trust me, please let expert help you.
$11 USD in 8 days
4.9 (58 reviews)
6.1
6.1
User Avatar
Hello. I am interested in your job. I have a lot of experiences in Reverse engineering, Java, AI, Mathematics, Algorithms,c++ programming. check my portfolio. if u'd like to work with me, give me some words. Thanks.
$8 USD in 12 days
4.7 (50 reviews)
5.8
5.8
User Avatar
We will test your code as we are doing many semester projects like this and testing phase are very relevant and familiar to our part.
$6 USD in 12 days
4.9 (4 reviews)
3.3
3.3
User Avatar
Non hai ancora fornito una proposta
$7 USD in 4 days
0.0 (0 reviews)
0.0
0.0
User Avatar
We are a working Company with 100% completion Rate. If you want to Discuss Further we can Talk. We have excellent, committed team of experienced resources with expertise in PHP, Android Application and Dot Net (C#, ASP.Net) application development. Team has worked on HTML5, CSS3, Java Script, Angular.js, JQuery, REST APIs, Laravel PHP framework, Webservices for many years. On database side, team has expertise on SQL Server 2008, MySQL, Oracle and various reporting tools such Crystal reports, RDLC reports and reports on mobile. We are available to work on your project and achieve success in project delivery
$8 USD in 30 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, Because the file on your Dropbox has beenmoved or deleted, I can't view it. But I'm confident in algorithm. My programming language is C#. I think I can help you on this project. I'm looking forward to your reply. Thanks.
$5 USD in 20 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of OMAN
Mutrah, Oman
4.9
359
Payment method verified
Member since Nov 17, 2009

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.