Browse Source

Merge branch 'test' of https://git.yishihui.com/algorithm/rov-offline into test

caida 2 years ago
parent
commit
debcb7cbc0
1 changed files with 52 additions and 17 deletions
  1. 52 17
      config.py

+ 52 - 17
config.py

@@ -1093,15 +1093,25 @@ class BaseConfig(object):
             # 分时段控制目标uv参数
             'target_uv_param': {
                 'ab0': {
-                    'update_hours': list(range(9)), 'update_param': 0,
-                    'special_update_config': {'special_hours': [0, 1, 9, 10], 'special_gradient': 0.01,
+                    'update_hours': list(range(7)), 'update_param': 0,
+                    'special_update_config': {'special_hours': [0, 1, 7, 8], 'special_gradient': 0.01,
                                               'special_max_update_step': 30}
-                },  # 0-9点,uv控制在0%
+                },  # 0-7点,uv控制在0%
+                'ab1': {
+                    'update_hours': list(range(7)), 'update_param': 0,
+                    'special_update_config': {'special_hours': [0, 1, 7, 8], 'special_gradient': 0.01,
+                                              'special_max_update_step': 30}
+                },  # 0-7点,uv控制在0%
                 'ab2': {
-                    'update_hours': list(range(9)), 'update_param': 0,
-                    'special_update_config': {'special_hours': [0, 1, 9, 10], 'special_gradient': 0.01,
+                    'update_hours': list(range(7)), 'update_param': 0,
+                    'special_update_config': {'special_hours': [0, 1, 7, 8], 'special_gradient': 0.01,
                                               'special_max_update_step': 30}
-                },  # 0-9点,uv控制在0%
+                },  # 0-7点,uv控制在0%
+                'ab3': {
+                    'update_hours': list(range(7)), 'update_param': 0,
+                    'special_update_config': {'special_hours': [0, 1, 7, 8], 'special_gradient': 0.01,
+                                              'special_max_update_step': 30}
+                },  # 0-7点,uv控制在0%
                 'ab4': {
                     'update_hours': list(range(7)), 'update_param': 0,
                     'special_update_config': {'special_hours': [0, 1, 7, 8], 'special_gradient': 0.01,
@@ -1127,11 +1137,11 @@ class BaseConfig(object):
                     'special_update_config': {'special_hours': [0, 1, 7, 8], 'special_gradient': 0.01,
                                               'special_max_update_step': 30}
                 },  # 0-9点,uv控制在0%
-                # 'ab8': {
-                #     'update_hours': list(range(9)), 'update_param': 0,
-                #     'special_update_config': {'special_hours': [0, 1, 9, 10], 'special_gradient': 0.01,
-                #                               'special_max_update_step': 30}
-                # },  # 0-9点,uv控制在0%
+                'ab8': {
+                    'update_hours': list(range(7)), 'update_param': 0,
+                    'special_update_config': {'special_hours': [0, 1, 7, 8], 'special_gradient': 0.01,
+                                              'special_max_update_step': 30}
+                },  # 0-7点,uv控制在0%
                 'ab9': {
                     'update_hours': list(range(7)), 'update_param': 0,
                     'special_update_config': {'special_hours': [0, 1, 7, 8], 'special_gradient': 0.01,
@@ -1178,16 +1188,21 @@ class BaseConfig(object):
             },
             # 分时段控制目标uv参数
             'target_uv_param': {
+                'ab0': {
+                    'update_hours': list(range(7)), 'update_param': 0,
+                    'special_update_config': {'special_hours': [0, 7], 'special_gradient': 0.01,
+                                              'special_max_update_step': 55}
+                },  # 0-7点,uv控制在0%
                 'ab1': {
-                    'update_hours': list(range(9)), 'update_param': 0,
-                    'special_update_config': {'special_hours': [0, 9], 'special_gradient': 0.01,
+                    'update_hours': list(range(7)), 'update_param': 0,
+                    'special_update_config': {'special_hours': [0, 7], 'special_gradient': 0.01,
                                               'special_max_update_step': 55}
-                },  # 0-9点,uv控制在0%
+                },  # 0-7点,uv控制在0%
                 'ab2': {
-                    'update_hours': list(range(9)), 'update_param': 0,
-                    'special_update_config': {'special_hours': [0, 9], 'special_gradient': 0.01,
+                    'update_hours': list(range(7)), 'update_param': 0,
+                    'special_update_config': {'special_hours': [0, 7], 'special_gradient': 0.01,
                                               'special_max_update_step': 55}
-                },  # 0-9点,uv控制在0%
+                },  # 0-7点,uv控制在0%
                 'ab3': {
                     'update_hours': list(range(7)), 'update_param': 0,
                     'special_update_config': {'special_hours': [0, 7], 'special_gradient': 0.01,
@@ -1198,11 +1213,31 @@ class BaseConfig(object):
                     'special_update_config': {'special_hours': [0, 7], 'special_gradient': 0.01,
                                               'special_max_update_step': 55}
                 },  # 0-7点,uv控制在0%
+                'ab5': {
+                    'update_hours': list(range(7)), 'update_param': 0,
+                    'special_update_config': {'special_hours': [0, 7], 'special_gradient': 0.01,
+                                              'special_max_update_step': 55}
+                },  # 0-7点,uv控制在0%
+                'ab6': {
+                    'update_hours': list(range(7)), 'update_param': 0,
+                    'special_update_config': {'special_hours': [0, 7], 'special_gradient': 0.01,
+                                              'special_max_update_step': 55}
+                },  # 0-7点,uv控制在0%
                 'ab7': {
                     'update_hours': list(range(7)), 'update_param': 0,
                     'special_update_config': {'special_hours': [0, 7], 'special_gradient': 0.01,
                                               'special_max_update_step': 55}
                 },  # 0-7点,uv控制在0%
+                'ab8': {
+                    'update_hours': list(range(7)), 'update_param': 0,
+                    'special_update_config': {'special_hours': [0, 7], 'special_gradient': 0.01,
+                                              'special_max_update_step': 55}
+                },  # 0-7点,uv控制在0%
+                'ab9': {
+                    'update_hours': list(range(7)), 'update_param': 0,
+                    'special_update_config': {'special_hours': [0, 7], 'special_gradient': 0.01,
+                                              'special_max_update_step': 55}
+                },  # 0-7点,uv控制在0%
             },
         },
         # 内容精选