Hi all,
I need to classify events based on weekday and hour of day.
I plan on creating a table that holds:
CustID - WeekdayID (0 to 6) - HourID (0-23) - ClassificationValue
So I cycle through all the events from Customer X, retrieve weekday number from the event date and the Hour from the event time and then Classify the event based on Day and Hour.
What is the most efficient way to retrieve the Classification value for each event?
A Dictionary or Collection would require to concatenate day and hour first.
Dlookups would be slow.
Maybe a 3 dimensional array?
Thanks for your thoughts!
I need to classify events based on weekday and hour of day.
I plan on creating a table that holds:
CustID - WeekdayID (0 to 6) - HourID (0-23) - ClassificationValue
So I cycle through all the events from Customer X, retrieve weekday number from the event date and the Hour from the event time and then Classify the event based on Day and Hour.
What is the most efficient way to retrieve the Classification value for each event?
A Dictionary or Collection would require to concatenate day and hour first.
Dlookups would be slow.
Maybe a 3 dimensional array?
Thanks for your thoughts!