pryvx 2.4.5__tar.gz → 2.4.7__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pryvx
3
- Version: 2.4.5
3
+ Version: 2.4.7
4
4
  Summary: A comprehensive package for privacy-enhancing technologies
5
5
  Home-page: UNKNOWN
6
6
  Author: PryvX (Jayesh Kenaudekar)
@@ -14,9 +14,11 @@ def train_logistic_classifier(features, labels):
14
14
 
15
15
 
16
16
  def train_random_forest_classifier(features, labels):
17
+ print("Model training started...")
17
18
  model = RandomForestClassifier(n_estimators=100, random_state=42)
18
19
  model.fit(features, labels)
19
20
  serialized_model = pickle.dumps(model)
21
+ print("Model training finished.")
20
22
  return serialized_model, model
21
23
 
22
24
 
@@ -4,7 +4,6 @@ from pryvx import pryvx_pb2_grpc
4
4
  import pickle
5
5
  from concurrent import futures
6
6
  import os
7
- import datetime
8
7
 
9
8
  # Directory to store received models
10
9
  MODEL_SAVE_PATH = "received_models/"
@@ -3,7 +3,7 @@
3
3
  import grpc
4
4
  import warnings
5
5
 
6
- import pryvx_pb2 as pryvx__pb2
6
+ from pryvx import pryvx_pb2 as pryvx__pb2
7
7
 
8
8
  GRPC_GENERATED_VERSION = '1.70.0'
9
9
  GRPC_VERSION = grpc.__version__
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pryvx
3
- Version: 2.4.5
3
+ Version: 2.4.7
4
4
  Summary: A comprehensive package for privacy-enhancing technologies
5
5
  Home-page: UNKNOWN
6
6
  Author: PryvX (Jayesh Kenaudekar)
@@ -1,6 +1,6 @@
1
1
  from setuptools import setup, find_packages
2
2
 
3
- VERSION = '2.4.5'
3
+ VERSION = '2.4.7'
4
4
 
5
5
 
6
6
  # Setting up
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
File without changes
File without changes
File without changes