src/processing.py
def preprocessing_function(x):
    """
    our image preprocessing function inverts the image from 
    black-on-white to white-on-black. this results in mostly
    zeros in our training matrix instead of mostly 255's
    """
    return np.abs(x - 255.0)

    our image preprocessing function inverts the image from 
    black-on-white to white-on-black. this results in mostly
    zeros in our training matrix instead of mostly 255's
    
our image preprocessing function inverts the image from
black-on-white to white-on-black. this results in mostly
zeros in our training matrix instead of mostly 255's
our image preprocessing function inverts the image from black - on - white to white - on - black . this results in mostly zeros in our training matrix instead of mostly 255 ' s
def preprocessing_function(x):
    return np.abs(x - 255.0)
def preprocessing_function ( x ) : return np . abs ( x - 255.0 )
our image preprocessing function inverts the image from
black-on-white to white-on-black.
our image preprocessing function inverts the image from black - on - white to white - on - black .
"""
    our image preprocessing function inverts the image from 
    black-on-white to white-on-black. this results in mostly
    zeros in our training matrix instead of mostly 255's
    """
x