Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nicola Amadio
freud-java-serialization
Commits
cdb5c855
Commit
cdb5c855
authored
Jan 06, 2021
by
Nicola Amadio
Browse files
enable linear regression in the example binary
parent
e2e5a833
Changes
2
Show whitespace changes
Inline
Side-by-side
my-symbols/_nicola_test/idcm__nicola_test_12493.bin
View file @
cdb5c855
No preview for this file type
src/main/java/Sample.java
View file @
cdb5c855
...
@@ -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
));
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment