Well, I never heard if there was anything wrong with my suggestion. Certainly I provided a way to be able to get the info he wants, so that he could mine across it.
Rob
Main Topics
Browse All TopicsThis is the table that i have
StudentID ClassID CentreID EnrollType History JoinYear Month
1000020 1 1 NEW Student NULL 2005 JAN
1000020 2 1 Current NuLL 2005 JAN
1000020 3 1 Current NuLL 2005 JAN
1000020 2 1 EXIT NuLL 2005 JAN
1000099 4 3 NEW STudent NULL 2007 MAR
1000104 2 5 Internal Transfer NULL 2009 MAR
..........................
I need to use SEQUENCE Clustering algorithm to capture events. For example
STUDENT JOIN EVENT
IF the StudentID(j-1) < > Student(j) & enroltype= "NEWSTUDENT" ----> student joined at "j"
IF the StudentID(j-1) < > Student(j) & enroltype= "Internal Transfer" ----> student joined at "j"
Each student has multiple records .
When this above condition occurs , Few attributes like firstname, lastname ,joinyear have to be displayed.
Can anyone please tel me how i could implement this using sequence clustering algorithm. All the data is coming from one single table. What would go in my nested table and case table.???? Do i have to make use MDX to solve this problem.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: rob_farleyPosted on 2009-06-24 at 23:05:27ID: 24708600
I would do this using T-SQL instead.
with numbered_rows as
(select row_number() over (order by StudentID, ClassID, CentreID) as rn, *
from dbo.Students)
select sCurr.*, case when sCurr.StudentID <> sPrev.StudentID then 'New Student' end as IsNewStudent /* Add more examples like this */
from dbo.Students sCurr
join
dbo.Students sPrev
on sCurr.rn = sPrev.rn + 1;
Now you can easily do the comparisons you want to do, and then use this new dataset for the Data Mining.
Rob