comment some code
This commit is contained in:
parent
682370f3da
commit
ffe303c7af
@ -104,15 +104,15 @@ public class FTransform extends Method {
|
|||||||
return FTransformModel.getAvailableParameters();
|
return FTransformModel.getAvailableParameters();
|
||||||
}
|
}
|
||||||
|
|
||||||
private AComponent findFuzzyValueByPrevious(List<AComponent> fuzzyTimeSeries, AComponent currentFuzzyValue) {
|
// private AComponent findFuzzyValueByPrevious(List<AComponent> fuzzyTimeSeries, AComponent currentFuzzyValue) {
|
||||||
Map<AComponent, Integer> mostFrequentValues = new HashMap<>();
|
// Map<AComponent, Integer> mostFrequentValues = new HashMap<>();
|
||||||
for (int i = 0; i < fuzzyTimeSeries.size() - 1; i++) {
|
// for (int i = 0; i < fuzzyTimeSeries.size() - 1; i++) {
|
||||||
if (fuzzyTimeSeries.get(i).equals(currentFuzzyValue)) {
|
// if (fuzzyTimeSeries.get(i).equals(currentFuzzyValue)) {
|
||||||
mostFrequentValues.put(fuzzyTimeSeries.get(i + 1), mostFrequentValues.getOrDefault(fuzzyTimeSeries.get(i + 1), 0) + 1);
|
// mostFrequentValues.put(fuzzyTimeSeries.get(i + 1), mostFrequentValues.getOrDefault(fuzzyTimeSeries.get(i + 1), 0) + 1);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
mostFrequentValues.entrySet().stream()
|
// mostFrequentValues.entrySet().stream()
|
||||||
}
|
// }
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
|
Loading…
Reference in New Issue
Block a user