Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
alpha-mind
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dr.李
alpha-mind
Commits
813e4f76
Commit
813e4f76
authored
Apr 28, 2017
by
Dr.李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update tests
parent
67332907
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
aggregate.pyx
alphamind/aggregate.pyx
+0
-1
test_suite.py
alphamind/tests/test_suite.py
+5
-1
No files found.
alphamind/aggregate.pyx
View file @
813e4f76
...
...
@@ -165,7 +165,6 @@ cpdef np.ndarray[double, ndim=2] aggregate(long[:] groups, double[:, :] x, str f
cdef np.ndarray[double, ndim=2] res
cdef double* value_data_ptr
if func == 'mean':
value_data_ptr = agg_mean(&groups[0], &x[0, 0], length, width)
elif func == 'std':
...
...
alphamind/tests/test_suite.py
View file @
813e4f76
...
...
@@ -12,6 +12,8 @@ add_parent_path(__file__, 3)
from
alphamind.tests.data.test_neutralize
import
TestNeutralize
from
alphamind.tests.data.test_standardize
import
TestStandardize
from
alphamind.tests.data.test_winsorize
import
TestWinsorize
from
alphamind.tests.portfolio.test_rankbuild
import
TestRankBuild
from
alphamind.tests.settlement.test_simplesettle
import
TestSimpleSettle
from
alphamind.utilities
import
alpha_logger
from
alphamind.utilities
import
TestRunner
...
...
@@ -19,6 +21,8 @@ from alphamind.utilities import TestRunner
if
__name__
==
'__main__'
:
runner
=
TestRunner
([
TestNeutralize
,
TestStandardize
,
TestWinsorize
],
TestWinsorize
,
TestRankBuild
,
TestSimpleSettle
],
alpha_logger
)
runner
.
run
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment