Commit e26a7d97 authored by Dr.李's avatar Dr.李

added xgb model to api

parent f6600807
......@@ -25,11 +25,12 @@ from alphamind.data.standardize import projection
from alphamind.data.neutralize import neutralize
from alphamind.data.engines.sqlengine import factor_tables
from alphamind.model.linearmodel import LinearRegression
from alphamind.model.linearmodel import LassoRegression
from alphamind.model.linearmodel import ConstLinearModel
from alphamind.model.treemodel import RandomForestRegressor
from alphamind.model.loader import load_model
from alphamind.model import LinearRegression
from alphamind.model import LassoRegression
from alphamind.model import ConstLinearModel
from alphamind.model import RandomForestRegressor
from alphamind.model import XGBRegressor
from alphamind.model import load_model
from alphamind.model.data_preparing import fetch_data_package
from alphamind.model.data_preparing import fetch_train_phase
......@@ -86,6 +87,7 @@ __all__ = [
'LassoRegression',
'ConstLinearModel',
'RandomForestRegressor',
'XGBRegressor',
'load_model',
'NaiveExecutor',
'ThresholdExecutor',
......
......@@ -10,9 +10,14 @@ from alphamind.model.linearmodel import LassoRegression
from alphamind.model.linearmodel import ConstLinearModel
from alphamind.model.treemodel import RandomForestRegressor
from alphamind.model.treemodel import XGBRegressor
from alphamind.model.loader import load_model
__all__ = ['LinearRegression',
'LassoRegression',
'ConstLinearModel',
'RandomForestRegressor']
\ No newline at end of file
'RandomForestRegressor',
'XGBRegressor',
'load_model']
\ No newline at end of file
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