gitlabds 2.1.2__tar.gz → 2.1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {gitlabds-2.1.2 → gitlabds-2.1.4}/PKG-INFO +12 -12
  2. {gitlabds-2.1.2 → gitlabds-2.1.4}/README.md +11 -11
  3. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds/monitoring_metrics.py +4 -4
  4. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds.egg-info/PKG-INFO +12 -12
  5. gitlabds-2.1.4/gitlabds.egg-info/requires.txt +8 -0
  6. {gitlabds-2.1.2 → gitlabds-2.1.4}/setup.py +1 -1
  7. gitlabds-2.1.2/gitlabds.egg-info/requires.txt +0 -8
  8. {gitlabds-2.1.2 → gitlabds-2.1.4}/LICENSE +0 -0
  9. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds/__init__.py +0 -0
  10. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds/baselines.py +0 -0
  11. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds/config_generator.py +0 -0
  12. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds/dummy.py +0 -0
  13. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds/feature_reduction.py +0 -0
  14. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds/insights.py +0 -0
  15. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds/memory_optimization.py +0 -0
  16. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds/missing.py +0 -0
  17. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds/missing_check.py +0 -0
  18. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds/missing_fill.py +0 -0
  19. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds/model_evaluator.py +0 -0
  20. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds/outliers.py +0 -0
  21. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds/split_data.py +0 -0
  22. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds/trends.py +0 -0
  23. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds.egg-info/SOURCES.txt +0 -0
  24. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds.egg-info/dependency_links.txt +0 -0
  25. {gitlabds-2.1.2 → gitlabds-2.1.4}/gitlabds.egg-info/top_level.txt +0 -0
  26. {gitlabds-2.1.2 → gitlabds-2.1.4}/setup.cfg +0 -0
  27. {gitlabds-2.1.2 → gitlabds-2.1.4}/tests/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gitlabds
3
- Version: 2.1.2
3
+ Version: 2.1.4
4
4
  Summary: Gitlab Data Science and Modeling Tools
5
5
  Home-page: https://gitlab.com/gitlab-data/gitlabds
6
6
  Author: Kevin Dietz
@@ -37,14 +37,14 @@ pip install gitlabds
37
37
 
38
38
  - Python 3.10 or later
39
39
  - Core dependencies:
40
- - pandas>=2.1.4
41
- - numpy>=1.26.4
42
- - scipy>=1.13.1
43
- - scikit-learn>=1.5.1
44
- - imbalanced-learn>=0.12.3
45
- - seaborn>=0.13.2
46
- - shap>=0.46.0
47
- - tqdm>=4.66.1
40
+ - pandas>=1.5.3
41
+ - numpy>=1.23.5
42
+ - scipy>=1.13.1
43
+ - scikit-learn>=1.1.1
44
+ - imbalanced-learn>=0.9.1
45
+ - seaborn>=0.13.2
46
+ - shap>=0.41.0
47
+ - tqdm>=4.66.2
48
48
 
49
49
  ## Main Features by Category
50
50
 
@@ -849,14 +849,14 @@ gitlabds.generate_baseline_calibration(
849
849
  #### Description
850
850
  Calculate all monitoring metrics including feature drift, prediction drift, and health status for a model scoring run.
851
851
 
852
- `gitlabds.calculate_monitoring_metrics(run_id, model_name, sub_model, model_version, scoring_date, feature_df, predictions, baseline_metrics, importance_threshold_pct=0.05):`
852
+ `gitlabds.calculate_monitoring_metrics(run_id, model_name, sub_model, model_version, score_date, feature_df, predictions, baseline_metrics, importance_threshold_pct=0.05):`
853
853
 
854
854
  #### Parameters:
855
855
  - **_run_id_** : Unique identifier for this scoring run
856
856
  - **_model_name_** : Model name (e.g., "propensity_model")
857
857
  - **_sub_model_** : Sub model identifier
858
858
  - **_model_version_** : Model version (e.g., "2.1")
859
- - **_scoring_date_** : Date of scoring
859
+ - **_score_date_** : Date of scoring
860
860
  - **_feature_df_** : Feature data used for scoring
861
861
  - **_predictions_** : Model predictions (probabilities 0-1)
862
862
  - **_baseline_metrics_** : Dictionary containing baseline_features and baseline_calibration JSON data
@@ -890,7 +890,7 @@ results = gitlabds.calculate_monitoring_metrics(
890
890
  model_name="churn_prediction",
891
891
  sub_model="high_value_customers",
892
892
  model_version="2.1",
893
- scoring_date=datetime.now(),
893
+ score_date=datetime.now(),
894
894
  feature_df=current_features,
895
895
  predictions=model_predictions,
896
896
  baseline_metrics=baseline_metrics,
@@ -17,14 +17,14 @@ pip install gitlabds
17
17
 
18
18
  - Python 3.10 or later
19
19
  - Core dependencies:
20
- - pandas>=2.1.4
21
- - numpy>=1.26.4
22
- - scipy>=1.13.1
23
- - scikit-learn>=1.5.1
24
- - imbalanced-learn>=0.12.3
25
- - seaborn>=0.13.2
26
- - shap>=0.46.0
27
- - tqdm>=4.66.1
20
+ - pandas>=1.5.3
21
+ - numpy>=1.23.5
22
+ - scipy>=1.13.1
23
+ - scikit-learn>=1.1.1
24
+ - imbalanced-learn>=0.9.1
25
+ - seaborn>=0.13.2
26
+ - shap>=0.41.0
27
+ - tqdm>=4.66.2
28
28
 
29
29
  ## Main Features by Category
30
30
 
@@ -829,14 +829,14 @@ gitlabds.generate_baseline_calibration(
829
829
  #### Description
830
830
  Calculate all monitoring metrics including feature drift, prediction drift, and health status for a model scoring run.
831
831
 
832
- `gitlabds.calculate_monitoring_metrics(run_id, model_name, sub_model, model_version, scoring_date, feature_df, predictions, baseline_metrics, importance_threshold_pct=0.05):`
832
+ `gitlabds.calculate_monitoring_metrics(run_id, model_name, sub_model, model_version, score_date, feature_df, predictions, baseline_metrics, importance_threshold_pct=0.05):`
833
833
 
834
834
  #### Parameters:
835
835
  - **_run_id_** : Unique identifier for this scoring run
836
836
  - **_model_name_** : Model name (e.g., "propensity_model")
837
837
  - **_sub_model_** : Sub model identifier
838
838
  - **_model_version_** : Model version (e.g., "2.1")
839
- - **_scoring_date_** : Date of scoring
839
+ - **_score_date_** : Date of scoring
840
840
  - **_feature_df_** : Feature data used for scoring
841
841
  - **_predictions_** : Model predictions (probabilities 0-1)
842
842
  - **_baseline_metrics_** : Dictionary containing baseline_features and baseline_calibration JSON data
@@ -870,7 +870,7 @@ results = gitlabds.calculate_monitoring_metrics(
870
870
  model_name="churn_prediction",
871
871
  sub_model="high_value_customers",
872
872
  model_version="2.1",
873
- scoring_date=datetime.now(),
873
+ score_date=datetime.now(),
874
874
  feature_df=current_features,
875
875
  predictions=model_predictions,
876
876
  baseline_metrics=baseline_metrics,
@@ -8,7 +8,7 @@ def calculate_monitoring_metrics(
8
8
  model_name: str,
9
9
  sub_model: str,
10
10
  model_version: str,
11
- scoring_date: datetime,
11
+ score_date: datetime,
12
12
  feature_df: pd.DataFrame,
13
13
  predictions: np.ndarray,
14
14
  baseline_metrics: Dict[str, Any],
@@ -27,7 +27,7 @@ def calculate_monitoring_metrics(
27
27
  Sub model identifier
28
28
  model_version : str
29
29
  Model version (e.g., "2.1")
30
- scoring_date : datetime
30
+ score_date : datetime
31
31
  Date of scoring
32
32
  feature_df : pd.DataFrame
33
33
  Feature data used for scoring
@@ -129,7 +129,7 @@ def calculate_monitoring_metrics(
129
129
  'model_name': model_name,
130
130
  'sub_model': sub_model,
131
131
  'model_version': model_version,
132
- 'scoring_date': scoring_date.strftime('%Y-%m-%d %H:%M:%S'),
132
+ 'score_date': score_date.strftime('%Y-%m-%d %H:%M:%S'),
133
133
  'feature_name': feature_name,
134
134
  'psi_value': psi_value,
135
135
  'feature_importance': feat_importance,
@@ -286,7 +286,7 @@ def calculate_monitoring_metrics(
286
286
  'model_name': model_name,
287
287
  'sub_model': sub_model,
288
288
  'model_version': model_version,
289
- 'scoring_date': scoring_date.strftime('%Y-%m-%d %H:%M:%S'),
289
+ 'score_date': score_date.strftime('%Y-%m-%d %H:%M:%S'),
290
290
  'record_count': record_count,
291
291
  'prediction_metrics': json.dumps(current_predictions),
292
292
  'prediction_baseline': json.dumps(baseline_predictions),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gitlabds
3
- Version: 2.1.2
3
+ Version: 2.1.4
4
4
  Summary: Gitlab Data Science and Modeling Tools
5
5
  Home-page: https://gitlab.com/gitlab-data/gitlabds
6
6
  Author: Kevin Dietz
@@ -37,14 +37,14 @@ pip install gitlabds
37
37
 
38
38
  - Python 3.10 or later
39
39
  - Core dependencies:
40
- - pandas>=2.1.4
41
- - numpy>=1.26.4
42
- - scipy>=1.13.1
43
- - scikit-learn>=1.5.1
44
- - imbalanced-learn>=0.12.3
45
- - seaborn>=0.13.2
46
- - shap>=0.46.0
47
- - tqdm>=4.66.1
40
+ - pandas>=1.5.3
41
+ - numpy>=1.23.5
42
+ - scipy>=1.13.1
43
+ - scikit-learn>=1.1.1
44
+ - imbalanced-learn>=0.9.1
45
+ - seaborn>=0.13.2
46
+ - shap>=0.41.0
47
+ - tqdm>=4.66.2
48
48
 
49
49
  ## Main Features by Category
50
50
 
@@ -849,14 +849,14 @@ gitlabds.generate_baseline_calibration(
849
849
  #### Description
850
850
  Calculate all monitoring metrics including feature drift, prediction drift, and health status for a model scoring run.
851
851
 
852
- `gitlabds.calculate_monitoring_metrics(run_id, model_name, sub_model, model_version, scoring_date, feature_df, predictions, baseline_metrics, importance_threshold_pct=0.05):`
852
+ `gitlabds.calculate_monitoring_metrics(run_id, model_name, sub_model, model_version, score_date, feature_df, predictions, baseline_metrics, importance_threshold_pct=0.05):`
853
853
 
854
854
  #### Parameters:
855
855
  - **_run_id_** : Unique identifier for this scoring run
856
856
  - **_model_name_** : Model name (e.g., "propensity_model")
857
857
  - **_sub_model_** : Sub model identifier
858
858
  - **_model_version_** : Model version (e.g., "2.1")
859
- - **_scoring_date_** : Date of scoring
859
+ - **_score_date_** : Date of scoring
860
860
  - **_feature_df_** : Feature data used for scoring
861
861
  - **_predictions_** : Model predictions (probabilities 0-1)
862
862
  - **_baseline_metrics_** : Dictionary containing baseline_features and baseline_calibration JSON data
@@ -890,7 +890,7 @@ results = gitlabds.calculate_monitoring_metrics(
890
890
  model_name="churn_prediction",
891
891
  sub_model="high_value_customers",
892
892
  model_version="2.1",
893
- scoring_date=datetime.now(),
893
+ score_date=datetime.now(),
894
894
  feature_df=current_features,
895
895
  predictions=model_predictions,
896
896
  baseline_metrics=baseline_metrics,
@@ -0,0 +1,8 @@
1
+ pandas>=1.5.3
2
+ numpy>=1.23.5
3
+ scipy>=1.13.1
4
+ scikit-learn>=1.1.1
5
+ imbalanced-learn>=0.9.1
6
+ seaborn>=0.13.2
7
+ shap>=0.41.0
8
+ tqdm>=4.66.2
@@ -8,7 +8,7 @@ elif os.environ.get('CI_JOB_ID'):
8
8
  else:
9
9
  version = "0.0.0-dev"
10
10
 
11
- requires = ["pandas>=2.1.4", "numpy>=1.26.4", "scipy>=1.13.1", "scikit-learn>=1.5.1", "imbalanced-learn>=0.12.3", "seaborn>=0.13.2", "shap>=0.46.0", "tqdm>=4.66.1"]
11
+ requires = ["pandas>=1.5.3", "numpy>=1.23.5", "scipy>=1.13.1", "scikit-learn>=1.1.1", "imbalanced-learn>=0.9.1", "seaborn>=0.13.2", "shap>=0.41.0", "tqdm>=4.66.2"]
12
12
 
13
13
  # read the contents of README file
14
14
  this_directory = Path(__file__).parent
@@ -1,8 +0,0 @@
1
- pandas>=2.1.4
2
- numpy>=1.26.4
3
- scipy>=1.13.1
4
- scikit-learn>=1.5.1
5
- imbalanced-learn>=0.12.3
6
- seaborn>=0.13.2
7
- shap>=0.46.0
8
- tqdm>=4.66.1
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes