Delete some stuff
This commit is contained in:
@@ -1,7 +0,0 @@
|
|||||||
package com.naaturel.ANN.domain.abstraction;
|
|
||||||
|
|
||||||
/*public interface TrainingStep {
|
|
||||||
|
|
||||||
void run();
|
|
||||||
|
|
||||||
}*/
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
package com.naaturel.ANN.implementation.training.steps;
|
|
||||||
|
|
||||||
import com.naaturel.ANN.domain.abstraction.AlgorithmStep;
|
|
||||||
import com.naaturel.ANN.domain.abstraction.TrainingStep;
|
|
||||||
|
|
||||||
public class DeltaStep implements TrainingStep {
|
|
||||||
|
|
||||||
private final AlgorithmStep strategy;
|
|
||||||
|
|
||||||
public DeltaStep(AlgorithmStep strategy) {
|
|
||||||
this.strategy = strategy;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
this.strategy.run();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
package com.naaturel.ANN.implementation.training.steps;
|
|
||||||
|
|
||||||
import com.naaturel.ANN.domain.abstraction.AlgorithmStep;
|
|
||||||
import com.naaturel.ANN.domain.abstraction.TrainingStep;
|
|
||||||
|
|
||||||
public class ErrorRegistrationStep implements TrainingStep {
|
|
||||||
|
|
||||||
private final AlgorithmStep strategy;
|
|
||||||
|
|
||||||
public ErrorRegistrationStep(AlgorithmStep strategy) {
|
|
||||||
this.strategy = strategy;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
this.strategy.run();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
package com.naaturel.ANN.implementation.training.steps;
|
|
||||||
|
|
||||||
import com.naaturel.ANN.domain.abstraction.AlgorithmStep;
|
|
||||||
import com.naaturel.ANN.domain.abstraction.TrainingStep;
|
|
||||||
|
|
||||||
public class LossStep implements TrainingStep {
|
|
||||||
|
|
||||||
|
|
||||||
private final AlgorithmStep lossStrategy;
|
|
||||||
|
|
||||||
public LossStep(AlgorithmStep strategy) {
|
|
||||||
this.lossStrategy = strategy;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
this.lossStrategy.run();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
package com.naaturel.ANN.implementation.training.steps;
|
|
||||||
|
|
||||||
import com.naaturel.ANN.domain.abstraction.AlgorithmStep;
|
|
||||||
import com.naaturel.ANN.domain.abstraction.TrainingStep;
|
|
||||||
|
|
||||||
public class PredictionStep implements TrainingStep {
|
|
||||||
|
|
||||||
private final AlgorithmStep strategy;
|
|
||||||
|
|
||||||
public PredictionStep(AlgorithmStep strategy) {
|
|
||||||
this.strategy = strategy;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
this.strategy.run();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
package com.naaturel.ANN.implementation.training.steps;
|
|
||||||
|
|
||||||
import com.naaturel.ANN.domain.abstraction.AlgorithmStep;
|
|
||||||
import com.naaturel.ANN.domain.abstraction.TrainingStep;
|
|
||||||
|
|
||||||
public class WeightCorrectionStep implements TrainingStep {
|
|
||||||
|
|
||||||
private final AlgorithmStep correctionStrategy;
|
|
||||||
|
|
||||||
public WeightCorrectionStep(AlgorithmStep strategy) {
|
|
||||||
this.correctionStrategy = strategy;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
this.correctionStrategy.run();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user