TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sin Yee
NA
145
74.8k
How to reset the minsupp..?
Apr 10 2011 2:48 PM
how to reset the minimum support that the user enter in the RTB? when user want to change the minimum support, they can straight away change from the minimum support RTB and the program can detect and change also..
??
here is my coding:
MinSupp.Clear();
double minsupp = Double.Parse(MinSupp.Text);
double totalsupp = 0.0;
foreach (var r in p)
{
totalsupp += (double)dict1[r];
}
SingleItemValue.Clear();
foreach (var h in p)
{
double supp = (double)dict1[h];
double perc = supp / totalsupp * 100.00;
if (perc >= minsupp)
{
SingleItemValue.AppendText(h + ":" + dict1[h] + "\r\n");
hs1.Add(h);
}
}
Reply
Answers (
5
)
Event Delegate Unreachable
Passing variables between forms