473,508 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Agglomerative Clustering

2 New Member
This is given to me as an assignment : to implement agglomerative clustering on numeric data of d dimensionality...

Problem is : How do i read comma separated data set from file & convert it to array or link list ? I'm starting with 2 dimension data only..
Aug 25 '07 #1
3 2259
Meetee
931 Recognized Expert Moderator Contributor
This is given to me as an assignment : to implement agglomerative clustering on numeric data of d dimensionality...

Problem is : How do i read comma separated data set from file & convert it to array or link list ? I'm starting with 2 dimension data only..
Hi,

Please read posting guidelines

Kindly give some more details with your analysis. And where you exactly encounter a problem

Regards
Aug 25 '07 #2
iq6886
2 New Member
Hi,

Please read posting guidelines

Kindly give some more details with your analysis. And where you exactly encounter a problem

Regards
Sorry 4 tht!!

But my problem is i need to read a comma separated file & then make a d dimensional array out of it so that i can compute on it...

Eg: File contents:
10,10,12,23,26,32 etc.
now it has coma separated numerical values, now i need to read it and save it in a n dimension array (or maybe linked list ), for further computation.. so how do i do it?

This all needs to be done in linux.. so c functions are appreciated..

Plz tell if i need to give more explanation...
Aug 25 '07 #3
Meetee
931 Recognized Expert Moderator Contributor
Sorry 4 tht!!

But my problem is i need to read a comma separated file & then make a d dimensional array out of it so that i can compute on it...

Eg: File contents:
10,10,12,23,26,32 etc.
now it has coma separated numerical values, now i need to read it and save it in a n dimension array (or maybe linked list ), for further computation.. so how do i do it?

This all needs to be done in linux.. so c functions are appreciated..

Plz tell if i need to give more explanation...
You can use two loops in which first loop will check for EOF(End of File) and second for coma. Each time fgetc read the file and stores data in array. One example of file handling is given here

PS: Usage of proper usage is appreciable (Please instead of Plz and for instead of 4)
Aug 25 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
5864
by: Nico de Groot | last post by:
I have a 2 node Microsoft 2000 cluster with a shared storage device. I want to create automatic failover for MS SQL 2000 server. I can do that wit the following options: 1. Active/Pasive (one...
1
4267
by: kumar | last post by:
Dear Friends, I wanted to configure Failover cluster for SQL Server 2000 on Windows 2000 advanced servers. I have only 2 no.s of windows 2000 advanced server m/cs. I dont have any shared...
3
5153
by: Shabam | last post by:
When a web application becomes overloaded with traffic, one can offload it by load balancing and clustering the front end web servers. What happens when the back-end MSSQL database becomes...
1
2143
by: willie | last post by:
Hi all: I have a clustering SQL Server on Node1 and Node2, the Node1 has named Instance1 and Node2 has named Instance2, no default instance. We tested it that everthing is OK, then we decide to...
2
1968
by: CSN | last post by:
Just wondering - is there something similar to this (clustering) for PostgreSQL? If so, how does it compare? http://www.mysql.com/press/release_2003_30.html ...
11
730
by: chmmr | last post by:
Hi, I am currently in the process of gathering info/experiences for an incoming Linux DB2 clustering phase we actually know nothing about (since we are doing it for the first time ever), so I...
3
1928
by: dejavue82 | last post by:
Hi, Does anybody know of a software package that allows for several servers, running asp.net 2.0 to be clustered, regardless of where they are located (ie. without a hardware load balancer)....
5
2115
by: Lakesider | last post by:
Hi NG, I have a question about data: I have travel-times from A to B like this from | to | sec. A B 17 A B 18 A B 30 A B 32
3
3318
by: Manish | last post by:
I think this question has been asked number of times. However, I am looking for some specific information. Perhaps some of you can help close the gap. Or perhaps you can point me towards right...
0
7225
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7326
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7385
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7498
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5629
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3195
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.