Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
FactorCalculate
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
李煜
FactorCalculate
Commits
8de03115
Commit
8de03115
authored
Jul 17, 2019
by
李煜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update readme
parent
34eec586
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
8 deletions
+19
-8
README.md
README.md
+19
-8
No files found.
README.md
View file @
8de03115
...
@@ -34,11 +34,11 @@ RL 因子计算
...
@@ -34,11 +34,11 @@ RL 因子计算
└── sumbit.py
└── sumbit.py
# 2、细节说明
# 2、细节说明
##
#
/factor
## /factor
该文件目录下保存的是因子计算的task文件, 以及每个task所依赖的因子计算文件。分布式计算时, 该目录下面的所有文件会提交到每个节点。
该文件目录下保存的是因子计算的task文件, 以及每个task所依赖的因子计算文件。分布式计算时, 该目录下面的所有文件会提交到每个节点。
##
#
/client
## /client
程序执行入口, 文件目录下包含单类因子计算, 以及合并计算
客户端程序执行入口, 文件目录下包含单类因子计算,以及合并计算。
##### 使用示例
##### 使用示例
```
shell
```
shell
# 更新
# 更新
...
@@ -47,12 +47,23 @@ python ./client/all_factor_cal.py --end_date 20190101 --count 3 --update True
...
@@ -47,12 +47,23 @@ python ./client/all_factor_cal.py --end_date 20190101 --count 3 --update True
```
```
具体参见client中的每个客户端代码。
具体参见client中的每个客户端代码。
### cluster_work
## cluster_work
分布式引擎节点启动程序,需后台运行。
分布式引擎计算节点的启动程序,即在当前机器部署计算节点,需后台运行。一般客户端不需要使用。
##### 使用示例
```
bash
nohup
python cluster_work &
```
##
#
init
## init
初始化分布式计算redis,运行之前需要在文件中设定需要指定的redis信息。
初始化分布式计算redis,运行之前需要在文件中设定需要指定的redis信息。
#### 使用示例
```
bash
python init.py
```
##
# sumb
it
##
subm
it
分布式计算任务提交入口,执行之后,客户端会将指定目录即目录下所有文件分发到所有计算节点中。不同的客户端在提交任务时需要修改其中的相关配置。
分布式计算任务提交入口,执行之后,客户端会将指定目录即目录下所有文件分发到所有计算节点中。不同的客户端在提交任务时需要修改其中的相关配置。
#### 使用示例
```
bash
python submit.py
```
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