-
Notifications
You must be signed in to change notification settings - Fork 28
Add Linear Regression to Aggregator #262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Do we have new test cases? |
// for ML | ||
public static String HADOOP_SEQ_FILE_LOCATION = ""; | ||
public static String HADOOP_OUT_LOCATION = ""; | ||
//public static String HADOOP_OUT_LOCATION = "/home/tess/Desktop/datagen"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these changes necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently, it is used to store the trained model.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps the commented out code on line 80 can be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I have removed this line.
src/java/boa/BoaTup.java
Outdated
@@ -0,0 +1,11 @@ | |||
package boa; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the relation between BoaTup and BoaTuple, a class that already exists?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BoaTup is used to read the training data.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see src/java/boa/types/BoaTuple.java. Can that existing type serve this purpose?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not even sure this is being used.
There are no classes inheriting from this interface. There are no instances of this type being created anywhere.
I think this file, and other code referencing it (like the functions that accept a BoaTup as argument), can probably be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently, I am still using BoaTup for the training data. I have added the function which uses BoaTup. This function will be used to classify the data from trained model.
|
adding/removing line breaks
No description provided.