Hi Everyone,
Just after some ideas and suggestions on how to do this. I have a large
amount of numeric data which I would like to group given a distance as a
parameter.
IE. If my dataset was simply 1, 5, 9,10,11,16,17,25,29 and I pass in a
distance of 2 then I would want to end up with groups like
1, 5, (9,10,11), (16,17) ,25,29
So [9,10,11] is grouped because each number is within a distance of 2 from
each other. Equally [16,17] is grouped because of the same.
To make this more complicated each numeric would actually be a x, y plot. So
the actual data would be more like
[10,12], [20,21] , [21,23], [30,31] etc. Each one having 2 sets of numbers.
In this case the grouping would be
[10,12], ([20,21][21,23]), [30,31]. So [20,21] and [21,23] are grouped
because x in both sets are within 2 and y in both sets are within 2.
any body have any good ideas to start me off
Thanks very much in advance
SoS 1 1241
In article <3C**********************************@microsoft.co m>
"ErikNodland" <er**@gotaabejoking.comwrote:
Just after some ideas and suggestions on how to do this. I have a
large amount of numeric data which I would like to group given a
distance as a parameter.
IE. If my dataset was simply 1, 5, 9,10,11,16,17,25,29 and I pass in
a distance of 2 then I would want to end up with groups like
1, 5, (9,10,11), (16,17) ,25,29
How should the algorithm group the data if you have a string of
numbers within 2 of an adjacent number, but where the entire range of
such adjacent numbers is greater than 2?
For example:
5, 7, 9, 10, 11
[...]
any body have any good ideas to start me off
It seems to me that as long as you can come up with a reliable,
unambiguous rule about how the grouping should work, it will be easy.
Otherwise, it will be impossible. :)
Pete
--
I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at http://www.malcom-mac.com/nemo This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Az Tech |
last post by:
Hi people,
(Sorry for the somewhat long post).
I request some of the people on this group who have good experience
using object-orientation in the field, to please give some good ideas
for...
|
by: Jerry Weinstein |
last post by:
Hi,
I know about stored procedures and that they can speed up data entry via the
SQL 'insert ' statement.
However, one drawback to this method is that using the stored procedure
still requires...
|
by: kristofera |
last post by:
I am trying to do a distinct grouping of some nodes sorted by a numeric
value but for some reason the distinct (preceding-sibling filter) is
applied to the result as if not sorted. If I don't use...
|
by: D Witherspoon |
last post by:
What is the accepted method of creating a data class or business rules
object class with properties that will allow the returning of null values?
For example... I have a class named CResults with...
|
by: Mike MacSween |
last post by:
tblCourses one to many to tblEvents.
A course may have an intro workshop (a type of event), a mid course
workshop, a final exam. Or any combination. Or something different in the
future.
At...
|
by: Mike Conklin |
last post by:
This one really has me going. Probably something silly. I'm using
dcount for a report to determine the number of different types of
tests proctored in a semester.
My report is based on a...
|
by: ronysk |
last post by:
Hi,
I am posting here to seek for help on type conversion between Python (Numeric Python) and C.
Attachment A is a math function written in C, which is called by a Python program. I had...
|
by: akomiakov |
last post by:
Is there a technical reason why one can't initialize a cost static non-
integral data member in a class?
|
by: evablue |
last post by:
Hello to all,
I am quite new to sql and I don't understand why a query has a certain output.I apologise for the long post but I'd rather describe exactly what I am doing in, hoping that someone...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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...
|
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,...
|
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...
| |