Skip to content

Commit c64d463

Browse files
committed
正式版V1.1.6
1 parent 082b1ef commit c64d463

37 files changed

Lines changed: 455 additions & 1663 deletions

README.md

Lines changed: 374 additions & 217 deletions
Large diffs are not rendered by default.

__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
generate_rule_report
2323
)
2424

25-
__version__ = '1.1.2'
25+
__version__ = '1.1.5'
2626
__all__ = [
2727
# Utils
2828
'load_example_data',
0 Bytes
Binary file not shown.
-85 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

analysis/rule_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def analyze_rules(rule_score, rule_col='RULE', user_id_col='USER_ID',
8686
# 计算命中率相关指标(仅当传入hit_date_col时执行)
8787
if hit_date_col:
8888
# 确保日期字段是datetime类型
89-
rule_score[hit_date_col] = pd.to_datetime(rule_score[hit_date_col])
89+
#rule_score[hit_date_col] = pd.to_datetime(rule_score[hit_date_col])
9090

9191
# 获取所有日期
9292
all_dates = rule_score[hit_date_col].unique().tolist()

data/feas_target.csv

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -471,30 +471,30 @@ ID20260510009834,25-Mar,810,443,2,0
471471
ID20260511006850,25-Apr,675,379,2,0
472472
ID20260511011941,25-May,820,392,2,0
473473
ID20260511014773,25-May,800,511,2,0
474-
ID20260428011933,24-Jan,750,466,,0
475-
ID20260428011237,24-Jan,730,369,,0
476-
ID20260428018077,24-Feb,735,389,,0
477-
ID20260428019331,24-Feb,785,390,,0
478-
ID20260429010185,24-Mar,780,437,,0
479-
ID20260503003077,24-May,825,412,,0
480-
ID20260504007202,24-May,760,386,,0
481-
ID20260505008729,24-Jul,805,418,,0
482-
ID20260506009981,24-Aug,760,458,,0
483-
ID20260506012575,24-Aug,540,401,,0
484-
ID20260506010119,24-Aug,775,480,,0
485-
ID20260506015299,24-Sep,760,530,,0
486-
ID20260507012486,24-Oct,715,427,,1
487-
ID20260507015482,24-Oct,755,354,,0
488-
ID20260507018965,24-Nov,675,400,,0
489-
ID20260507020668,24-Nov,775,412,,0
490-
ID20260508005991,24-Nov,765,484,,1
491-
ID20260508006486,24-Dec,800,504,,0
492-
ID20260509004261,24-Dec,805,500,,0
493-
ID20260509008725,25-Jan,690,400,,0
494-
ID20260509008046,25-Jan,715,390,,1
495-
ID20260509009749,25-Jan,800,433,,0
496-
ID20260509006511,25-Feb,685,405,,0
497-
ID20260510003189,25-Feb,740,403,,0
498-
ID20260510014254,25-Mar,755,397,,0
499-
ID20260511012262,25-Apr,755,373,,0
500-
ID20260511013460,25-May,805,402,,0
474+
ID20260428011933,24-Jan,750,466,0,0
475+
ID20260428011237,24-Jan,730,369,0,0
476+
ID20260428018077,24-Feb,735,389,0,0
477+
ID20260428019331,24-Feb,785,390,0,0
478+
ID20260429010185,24-Mar,780,437,0,0
479+
ID20260503003077,24-May,825,412,0,0
480+
ID20260504007202,24-May,760,386,0,0
481+
ID20260505008729,24-Jul,805,418,0,0
482+
ID20260506009981,24-Aug,760,458,0,0
483+
ID20260506012575,24-Aug,540,401,0,0
484+
ID20260506010119,24-Aug,775,480,0,0
485+
ID20260506015299,24-Sep,760,530,0,0
486+
ID20260507012486,24-Oct,715,427,0,1
487+
ID20260507015482,24-Oct,755,354,0,0
488+
ID20260507018965,24-Nov,675,400,0,0
489+
ID20260507020668,24-Nov,775,412,0,0
490+
ID20260508005991,24-Nov,765,484,0,1
491+
ID20260508006486,24-Dec,800,504,0,0
492+
ID20260509004261,24-Dec,805,500,0,0
493+
ID20260509008725,25-Jan,690,400,0,0
494+
ID20260509008046,25-Jan,715,390,0,1
495+
ID20260509009749,25-Jan,800,433,0,0
496+
ID20260509006511,25-Feb,685,405,0,0
497+
ID20260510003189,25-Feb,740,403,0,0
498+
ID20260510014254,25-Mar,755,397,0,0
499+
ID20260511012262,25-Apr,755,373,0,0
500+
ID20260511013460,25-May,805,402,0,0
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)