Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
GeneralRe: Error shortcut Pin
mahdiiiiyeh8-Apr-17 0:21
mahdiiiiyeh8-Apr-17 0:21 
GeneralRe: Error shortcut Pin
OriginalGriff8-Apr-17 0:52
mveOriginalGriff8-Apr-17 0:52 
GeneralRe: Error shortcut Pin
mahdiiiiyeh8-Apr-17 2:09
mahdiiiiyeh8-Apr-17 2:09 
GeneralRe: Error shortcut Pin
OriginalGriff8-Apr-17 2:18
mveOriginalGriff8-Apr-17 2:18 
Questionusing k means heart diseases prediction system Pin
Member 131132397-Apr-17 5:56
Member 131132397-Apr-17 5:56 
AnswerRe: using k means heart diseases prediction system Pin
OriginalGriff7-Apr-17 6:00
mveOriginalGriff7-Apr-17 6:00 
AnswerRe: using k means heart diseases prediction system Pin
Dave Kreskowiak7-Apr-17 8:23
mveDave Kreskowiak7-Apr-17 8:23 
GeneralRe: using k means heart diseases prediction system Pin
harold aptroot7-Apr-17 11:04
harold aptroot7-Apr-17 11:04 
The basic version of the algorithm is really very simple.
  • guess k points that might be means of clusters. It matters how you do it, a simple trick is just pick some random samples.
  • classify your data using the current means
  • compute the means of the clusters thus formed, make them the new means
  • repeat until it stops changing
  • repeat all of the above with new initialization until you like the results (the update step gets caught in local minima)
These are all steps that anyone who can write code should be able to implement from scratch, there's nothing crazy in there.
QuestionTask Question Pin
Kevin Marois6-Apr-17 8:08
professionalKevin Marois6-Apr-17 8:08 
AnswerRe: Task Question Pin
Pete O'Hanlon6-Apr-17 8:59
mvePete O'Hanlon6-Apr-17 8:59 
GeneralRe: Task Question Pin
Kevin Marois6-Apr-17 9:07
professionalKevin Marois6-Apr-17 9:07 
AnswerRe: Task Question Pin
Eddy Vluggen6-Apr-17 9:02
professionalEddy Vluggen6-Apr-17 9:02 
AnswerRe: Task Question Pin
Richard Deeming7-Apr-17 0:42
mveRichard Deeming7-Apr-17 0:42 
QuestionC#: When one should go for factory method pattern instead of factory pattern Pin
Tridip Bhattacharjee5-Apr-17 4:56
professionalTridip Bhattacharjee5-Apr-17 4:56 
AnswerRe: C#: When one should go for factory method pattern instead of factory pattern Pin
Pete O'Hanlon5-Apr-17 5:08
mvePete O'Hanlon5-Apr-17 5:08 
GeneralRe: C#: When one should go for factory method pattern instead of factory pattern Pin
OriginalGriff5-Apr-17 6:00
mveOriginalGriff5-Apr-17 6:00 
GeneralRe: C#: When one should go for factory method pattern instead of factory pattern Pin
Pete O'Hanlon5-Apr-17 7:33
mvePete O'Hanlon5-Apr-17 7:33 
GeneralRe: C#: When one should go for factory method pattern instead of factory pattern Pin
Luc Pattyn5-Apr-17 8:18
sitebuilderLuc Pattyn5-Apr-17 8:18 
GeneralRe: C#: When one should go for factory method pattern instead of factory pattern Pin
Pete O'Hanlon5-Apr-17 8:33
mvePete O'Hanlon5-Apr-17 8:33 
GeneralRe: C#: When one should go for factory method pattern instead of factory pattern Pin
OriginalGriff5-Apr-17 8:37
mveOriginalGriff5-Apr-17 8:37 
GeneralRe: C#: When one should go for factory method pattern instead of factory pattern Pin
Luc Pattyn5-Apr-17 9:02
sitebuilderLuc Pattyn5-Apr-17 9:02 
AnswerRe: C#: When one should go for factory method pattern instead of factory pattern Pin
Eddy Vluggen6-Apr-17 1:48
professionalEddy Vluggen6-Apr-17 1:48 
QuestionFactory pattern: issue with this definition "let subclass decide which class to instantiate." Pin
Tridip Bhattacharjee5-Apr-17 2:09
professionalTridip Bhattacharjee5-Apr-17 2:09 
AnswerRe: Factory pattern: issue with this definition "let subclass decide which class to instantiate." Pin
Pete O'Hanlon5-Apr-17 2:34
mvePete O'Hanlon5-Apr-17 2:34 
AnswerRe: Factory pattern: issue with this definition "let subclass decide which class to instantiate." Pin
Eddy Vluggen5-Apr-17 2:54
professionalEddy Vluggen5-Apr-17 2:54 

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.