src/main/constants/MoFunctions.java
// if function is null, return the number
if function is null, return the number
if function is null return the number
public static float activationFunction(int function, float number) {
        switch (function) {
            case SIGMOID_FUNCTION:
                return sigmoidFunction(number);
            default:
                return number;
        }
    }
public static float activationFunction ( int function , float number ) { switch ( function ) { case SIGMOID_FUNCTION : return sigmoidFunction ( number ) ; default : return number ; } }
if function is null, return the number
if function is null return the number