-
Notifications
You must be signed in to change notification settings - Fork 258
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
update brainflow to 5.0.1 #1064
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
# v5.1.1 | ||
|
||
### Bug Fixes | ||
|
||
### Improvements | ||
* Update to BrainFlow 5.0.1 | ||
|
||
# v5.1.0 | ||
|
||
### Bug Fixes | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,8 +47,8 @@ public enum FocusXLim implements IndexingInterface | |
|
||
public enum FocusMetric implements IndexingInterface | ||
{ | ||
CONCENTRATION (0, "Concentration", BrainFlowMetrics.CONCENTRATION, "Concentrating"), | ||
RELAXATION (1, "Relaxation", BrainFlowMetrics.RELAXATION, "Relaxing"); | ||
CONCENTRATION (0, "Concentration", BrainFlowMetrics.MINDFULNESS, "Concentrating"), | ||
RELAXATION (1, "Relaxation", BrainFlowMetrics.RESTFULNESS, "Relaxing"); | ||
|
||
private int index; | ||
private String label; | ||
|
@@ -92,10 +92,7 @@ public enum FocusMetric implements IndexingInterface | |
|
||
public enum FocusClassifier implements IndexingInterface | ||
{ | ||
REGRESSION (0, "Regression", BrainFlowClassifiers.REGRESSION), | ||
KNN (1, "KNN", BrainFlowClassifiers.KNN), | ||
SVM (2, "SVM", BrainFlowClassifiers.SVM), | ||
LDA (3, "LDA", BrainFlowClassifiers.LDA); | ||
REGRESSION (0, "Regression", BrainFlowClassifiers.DEFAULT_CLASSIFIER); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Andrey1994 What happened to the other classifiers? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's a little silly to have a dropdown now if there is only one option. 😕 |
||
|
||
private int index; | ||
private int value; | ||
|
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.
Maybe we should update the text displayed in this dropdown. Concentration -> Mindfulness etc.
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 thought about it and decided to keep it as before to dont confuse anybody, its technically the same metric as before but with different name