Commit 00c100f3 authored by Dr.李's avatar Dr.李

restructure

parent cee2b19a
...@@ -6,7 +6,8 @@ Created on 2017-4-25 ...@@ -6,7 +6,8 @@ Created on 2017-4-25
""" """
import numpy as np import numpy as np
from alphamind.data.impl import transform
from alphamind.aggregate import transform
def standardize(x: np.ndarray, groups: np.ndarray=None) -> np.ndarray: def standardize(x: np.ndarray, groups: np.ndarray=None) -> np.ndarray:
......
...@@ -6,7 +6,8 @@ Created on 2017-4-25 ...@@ -6,7 +6,8 @@ Created on 2017-4-25
""" """
import numpy as np import numpy as np
from alphamind.data.impl import transform
from alphamind.aggregate import transform
def winsorize_normal(x: np.ndarray, num_stds: int=3, groups: np.ndarray=None) -> np.ndarray: def winsorize_normal(x: np.ndarray, num_stds: int=3, groups: np.ndarray=None) -> np.ndarray:
......
...@@ -21,4 +21,4 @@ if __name__ == '__main__': ...@@ -21,4 +21,4 @@ if __name__ == '__main__':
TestStandardize, TestStandardize,
TestWinsorize], TestWinsorize],
alpha_logger) alpha_logger)
runner.run() runner.run()
\ No newline at end of file
...@@ -23,7 +23,7 @@ else: ...@@ -23,7 +23,7 @@ else:
line_trace = False line_trace = False
ext_modules = ['alphamind/data/impl.pyx'] ext_modules = ['alphamind/aggregate.pyx']
def generate_extensions(ext_modules, line_trace=False): def generate_extensions(ext_modules, line_trace=False):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment