Skip to content

Commit

Permalink
type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
mhamilton723 committed May 9, 2017
1 parent 3fd8011 commit 593fea4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions tests/test_delta_transformer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from numpy.testing import assert_equal
from sklearn.grid_search import GridSearchCV
from TimeSeriesRegressor.tseries.delta_transformer import *
import pandas as pd

Expand Down
5 changes: 2 additions & 3 deletions tseries/double_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,16 @@
from sklearn.base import BaseEstimator, TransformerMixin, RegressorMixin, clone
from sklearn.pipeline import Pipeline


class DoublePipeline(BaseEstimator):
"""
Base Class for Time Series Estimators
"""

def __init__(self, x_steps, y_steps):
self.x_steps = x_steps
self.x_pipe_ = None
self.x_pipe_ = None # type: Pipeline
self.y_steps = y_steps
self.y_pipe_ = None
self.y_pipe_ = None # type: Pipeline

# TODO handle parameter setting
def set_params(self, **params):
Expand Down

0 comments on commit 593fea4

Please sign in to comment.