diff --git a/WebServer/AIPython/aipredictor.py b/WebServer/AIPython/aipredictor.py index cae6afa1..70af3a45 100644 --- a/WebServer/AIPython/aipredictor.py +++ b/WebServer/AIPython/aipredictor.py @@ -64,19 +64,10 @@ def Predict(): # Set the movement indicator movement_indicator = 0 averagePrediction = np.mean(flat_predictions) + predictionTrend - if (averagePrediction > 0.3): # as in 3% swing up - movement_indicator = 1 - elif (averagePrediction < -0.3): # as in 3% swing down - movement_indicator = -1 - else: - movement_indicator = 0 - - # Debug data - print(f"averagePrediction: {averagePrediction}") # Return to C# via stdout print(f"---RESULT_START---") - print(movement_indicator) + print(averagePrediction) print(f"---RESULT_END---") if __name__ == "__main__":