Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am tangohead on github.
  • I am tangohead (https://keybase.io/tangohead) on keybase.
  • I have a public key ASCavNOAU5uAiOV1AJ_RtA-Y93kSvb0nEGjl7wxKyJWEOAo

To claim this, I am signing this object:

private boolean decisionTree(NeighborMetrics nm)
{
//System.out.println("\t -------- DECTREE --------");
double yesProb;
boolean changeMade = false;
//basic attribute changes
//persuasiveness depends on whether the person has a lot of collections and
@tangohead
tangohead / Tree & Score v0.7
Created February 10, 2013 21:17
Pre v0.8 decision tree, node score and connection adjuster.
private boolean decisionTree(NeighborMetrics nm)
{
//System.out.println("\t -------- DECTREE --------");
double yesProb;
boolean changeMade = false;
//am I a smoker?
if(isSmoker)
{
//calculate the
//should I stop?