#NEWLINE# def predict( self , X , **kwargs ) : #NEWLINE# #INDENT# 'Returns predictions for the given test data.\n\n        # Arguments\n            X: array-like, shape `(n_samples, n_features)`\n                Test samples where n_samples in the number of samples\n                and n_features is the number of features.\n            kwargs: dictionary arguments\n                Legal arguments are the arguments of `Sequential.predict`.\n        # Returns\n            preds: array-like, shape `(n_samples,)`\n                Predictions.\n        ' #NEWLINE# kwargs = self . filter_sk_params ( Sequential . predict , kwargs ) #NEWLINE# return self . model . predict ( self , ** kwargs )