# -*- coding: utf-8 -*-

__author__ = 'Nicholas Dronen'
__email__ = 'ndronen@gmail.com'
__version__ = '0.1.0'

class Predictor(object):
    """
    General comments about the class.
    """
    def __init__(self, model):
        """
        Constructor documentation.
        model: what the model is.
        """
        self.model = model

    def predict(X):
        """
        Predict function documentation.
        X: what X is.
        """
        model.fprop(X)

# -*- coding: utf-8 -*-

__author__ = 'Nicholas Dronen'
__email__ = 'ndronen@gmail.com'
__version__ = '0.1.0'

class Predictor(object):
    """
    General comments about the class.
    """
    def __init__(self, model):
        """
        Constructor documentation.
        model: what the model is.
        """
        self.model = model

    def predict(self, X):
        """
        Predict function documentation.
        X: what X is.
        """
        self.model.fprop(X)

Make predict a method.