Commit cdb5c855 authored by Nicola Amadio's avatar Nicola Amadio
Browse files

enable linear regression in the example binary

parent e2e5a833
...@@ -3,7 +3,7 @@ import java.util.List; ...@@ -3,7 +3,7 @@ import java.util.List;
public class Sample { public class Sample {
private int uidR; private int uidR;
private long time; // so far, this is the only sample variable to be set to a value, the others get set to 0 private long time;
private long mem; private long mem;
private long lockHoldingTime; private long lockHoldingTime;
private long waitingTime; private long waitingTime;
...@@ -26,7 +26,7 @@ public class Sample { ...@@ -26,7 +26,7 @@ public class Sample {
numOfBranches = 0; numOfBranches = 0;
numOfChildren = 0; numOfChildren = 0;
features = new LinkedList<>(); features = new LinkedList<>();
long value = 10; // random value long value = time / 2;
features.add(new FreudFeature(value)); features.add(new FreudFeature(value));
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment