Click here to Skip to main content
15,890,579 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Estimating time of completion of a data migration process Pin
tufkap9-Sep-08 0:31
tufkap9-Sep-08 0:31 
QuestionEuqtion of spline thru n points Pin
raesa31-Aug-08 23:13
raesa31-Aug-08 23:13 
AnswerRe: Euqtion of spline thru n points Pin
Tim Craig1-Sep-08 19:56
Tim Craig1-Sep-08 19:56 
GeneralRe: Euqtion of spline thru n points Pin
raesa1-Sep-08 23:37
raesa1-Sep-08 23:37 
AnswerRe: Euqtion of spline thru n points Pin
Alan Balkany8-Sep-08 5:55
Alan Balkany8-Sep-08 5:55 
GeneralRe: Euqtion of spline thru n points Pin
raesa11-Sep-08 17:37
raesa11-Sep-08 17:37 
QuestionPredict next colour Pin
3fraction31-Aug-08 8:24
3fraction31-Aug-08 8:24 
AnswerRe: Predict next colour Pin
Alan Balkany8-Sep-08 5:44
Alan Balkany8-Sep-08 5:44 
Your assumption that there's a pattern to the user's selections may not be correct.

You can store the total number of times the user selected each color. The highest number would be the user's favorite color selection.

You could also have an N-by-N matrix representing two consecutive color selections. (The X coordinate is the ith selection, and the Y coordinate is the (i+1)th selection.) The number at each (X, Y) pair is the number of times this sequence was chosen. Thus for any selection, X, you could see what the most common following color, Y, was, and use that for your prediction.

Likewise, this could be extended beyond the 2-dimensional case to tabulate longer sequences.
GeneralRe: Predict next colour Pin
3fraction8-Sep-08 7:27
3fraction8-Sep-08 7:27 
GeneralRe: Predict next colour Pin
Alan Balkany8-Sep-08 7:40
Alan Balkany8-Sep-08 7:40 
GeneralRe: Predict next colour Pin
3fraction11-Sep-08 5:37
3fraction11-Sep-08 5:37 
GeneralRe: Predict next colour Pin
Alan Balkany15-Sep-08 3:44
Alan Balkany15-Sep-08 3:44 
GeneralRe: Predict next colour Pin
3fraction15-Sep-08 5:18
3fraction15-Sep-08 5:18 
GeneralRe: Predict next colour Pin
Alan Balkany15-Sep-08 7:06
Alan Balkany15-Sep-08 7:06 
GeneralRe: Predict next colour Pin
3fraction15-Sep-08 8:53
3fraction15-Sep-08 8:53 
GeneralRe: Predict next colour Pin
Alan Balkany16-Sep-08 4:00
Alan Balkany16-Sep-08 4:00 
QuestionWhat's the shortest path for connecting point with specific conditions Pin
fifothekid29-Aug-08 0:33
fifothekid29-Aug-08 0:33 
AnswerRe: What's the shortest path for connecting point with specific conditions Pin
fifothekid29-Aug-08 0:56
fifothekid29-Aug-08 0:56 
AnswerSince you are new here let me explain something Pin
MikeMarq29-Aug-08 12:34
MikeMarq29-Aug-08 12:34 
GeneralRe: Since you are new here let me explain something Pin
fifothekid29-Aug-08 20:20
fifothekid29-Aug-08 20:20 
Questioncreate a plane thru 3 points Pin
raesa28-Aug-08 20:50
raesa28-Aug-08 20:50 
AnswerRe: create a plane thru 3 points [modified] Pin
cp987628-Aug-08 21:34
cp987628-Aug-08 21:34 
GeneralRe: create a plane thru 3 points Pin
raesa28-Aug-08 22:06
raesa28-Aug-08 22:06 
QuestionCount Car on Traffic Algorithm Pin
Erdem İsenkul26-Aug-08 23:06
Erdem İsenkul26-Aug-08 23:06 
AnswerRe: Count Car on Traffic Algorithm Pin
Tim Craig27-Aug-08 22:20
Tim Craig27-Aug-08 22:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.