MLVisualizationTools 0.7.3__tar.gz → 0.7.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.
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/backend.py +10 -5
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/examples/AnimationDemo.py +1 -1
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/examples/DashDemo.py +1 -1
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/examples/DashKaggleDemo.py +1 -1
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/examples/DashNotebookDemo.py +1 -1
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/examples/DataOverlayDemo.py +1 -1
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/examples/Demo.py +1 -1
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/examples/MatplotlibDemo.py +1 -1
- MLVisualizationTools-0.7.4/MLVisualizationTools/examples/Models/titanicmodel.keras +0 -0
- MLVisualizationTools-0.7.4/MLVisualizationTools/examples/Models/titanicmodel_old/fingerprint.pb +1 -0
- MLVisualizationTools-0.7.4/MLVisualizationTools/examples/Models/titanicmodel_old/keras_metadata.pb +7 -0
- MLVisualizationTools-0.7.4/MLVisualizationTools/examples/Models/titanicmodel_old/saved_model.pb +0 -0
- MLVisualizationTools-0.7.4/MLVisualizationTools/examples/Models/titanicmodel_old/variables/variables.data-00000-of-00001 +0 -0
- MLVisualizationTools-0.7.4/MLVisualizationTools/examples/Models/titanicmodel_old/variables/variables.index +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/examples/RemoveFeatureDemo.py +1 -1
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/examples/TrainTitanicModel.py +3 -2
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools.egg-info/PKG-INFO +2 -1
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools.egg-info/SOURCES.txt +6 -8
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/PKG-INFO +2 -1
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/setup.cfg +2 -1
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/tests/test_basic.py +10 -10
- MLVisualizationTools-0.7.3/MLVisualizationTools/examples/Models/titanicmodel/keras_metadata.pb +0 -7
- MLVisualizationTools-0.7.3/MLVisualizationTools/examples/Models/titanicmodel/saved_model.pb +0 -0
- MLVisualizationTools-0.7.3/MLVisualizationTools/examples/Models/titanicmodel/variables/variables.data-00000-of-00001 +0 -0
- MLVisualizationTools-0.7.3/MLVisualizationTools/examples/Models/titanicmodel/variables/variables.index +0 -0
- MLVisualizationTools-0.7.3/MLVisualizationTools/examples/Models/titanicmodel_v2.0/keras_metadata.pb +0 -7
- MLVisualizationTools-0.7.3/MLVisualizationTools/examples/Models/titanicmodel_v2.0/saved_model.pb +0 -0
- MLVisualizationTools-0.7.3/MLVisualizationTools/examples/Models/titanicmodel_v2.0/variables/variables.data-00000-of-00001 +0 -0
- MLVisualizationTools-0.7.3/MLVisualizationTools/examples/Models/titanicmodel_v2.0/variables/variables.index +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/LICENSE +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MANIFEST.in +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/__init__.py +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/colorizers.py +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/dashbackend.py +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/datainterface.py +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/examples/Datasets/Titanic/TitanicDemoPreprocess.py +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/examples/Datasets/Titanic/train.csv +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/examples/Datasets/Titanic/train_orig.csv +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/examples/SklearnDemo.py +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/express/DashModelVisualizer.py +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/express/__init__.py +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/graphinterface.py +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/modelanalytics.py +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/modelinterface.py +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/removefeature.py +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/theme_assets/dark_assets/darktheme.css +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/theme_assets/light_assets/lighttheme.css +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/types.py +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools.egg-info/dependency_links.txt +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools.egg-info/requires.txt +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools.egg-info/top_level.txt +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/README.md +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/pyproject.toml +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/setup.py +0 -0
- {MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/tests/testconf.py +0 -0
|
@@ -26,13 +26,18 @@ def colinfo(data: pd.DataFrame, exclude:List[str] = None) -> Tuple[Dict[str, Dic
|
|
|
26
26
|
allcols.append(item)
|
|
27
27
|
return coldata, allcols
|
|
28
28
|
|
|
29
|
+
def model_version_check():
|
|
30
|
+
"""Returns true if old tf version"""
|
|
31
|
+
import tensorflow as tf
|
|
32
|
+
return float('.'.join(tf.version.VERSION.split('.')[0:2])) < 2.16
|
|
33
|
+
|
|
29
34
|
def fileloader(target: str, dynamic_model_version = True):
|
|
30
35
|
"""Specify a path relative to MLVisualizationTools"""
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
|
|
37
|
+
if dynamic_model_version and 'examples/Models' in target and model_version_check():
|
|
38
|
+
target = target.replace('.keras', '')
|
|
39
|
+
target += "_old"
|
|
40
|
+
print(target)
|
|
36
41
|
return path.dirname(__file__) + '/' + target
|
|
37
42
|
|
|
38
43
|
class ColorMessage:
|
|
@@ -12,7 +12,7 @@ except ImportError:
|
|
|
12
12
|
" `pip install plotly' or run the matplotlib demo instead.")
|
|
13
13
|
|
|
14
14
|
def main(show=True):
|
|
15
|
-
model = keras.models.load_model(fileloader('examples/Models/titanicmodel'))
|
|
15
|
+
model = keras.models.load_model(fileloader('examples/Models/titanicmodel.keras'))
|
|
16
16
|
df: pd.DataFrame = pd.read_csv(fileloader('examples/Datasets/Titanic/train.csv'))
|
|
17
17
|
|
|
18
18
|
AR = Analytics.analyzeModel(model, df, ["Survived"])
|
{MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/examples/DashDemo.py
RENAMED
|
@@ -13,7 +13,7 @@ def main(theme = 'dark', highcontrast = True):
|
|
|
13
13
|
import os
|
|
14
14
|
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' # stops agressive error message printing
|
|
15
15
|
from tensorflow import keras
|
|
16
|
-
model = keras.models.load_model(fileloader('examples/Models/titanicmodel'))
|
|
16
|
+
model = keras.models.load_model(fileloader('examples/Models/titanicmodel.keras'))
|
|
17
17
|
df: pd.DataFrame = pd.read_csv(fileloader('examples/Datasets/Titanic/train.csv'))
|
|
18
18
|
df = df.drop("Survived", axis=1)
|
|
19
19
|
DashModelVisualizer.visualize(model, df, title="DashInteractiveDemo", theme=theme, highcontrast=highcontrast)
|
|
@@ -15,7 +15,7 @@ def main(theme='dark', highcontrast=True, mode='external'):
|
|
|
15
15
|
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' # stops agressive error message printing
|
|
16
16
|
from tensorflow import keras
|
|
17
17
|
|
|
18
|
-
model = keras.models.load_model(fileloader('examples/Models/titanicmodel'))
|
|
18
|
+
model = keras.models.load_model(fileloader('examples/Models/titanicmodel.keras'))
|
|
19
19
|
df: pd.DataFrame = pd.read_csv(fileloader('examples/Datasets/Titanic/train.csv'))
|
|
20
20
|
df = df.drop("Survived", axis=1)
|
|
21
21
|
DashModelVisualizer.visualize(model, df, title="DashKaggleDemo", theme=theme,
|
|
@@ -14,7 +14,7 @@ def main(theme = 'dark', highcontrast = True, mode='external'):
|
|
|
14
14
|
import os
|
|
15
15
|
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' # stops agressive error message printing
|
|
16
16
|
from tensorflow import keras
|
|
17
|
-
model = keras.models.load_model(fileloader('examples/Models/titanicmodel'))
|
|
17
|
+
model = keras.models.load_model(fileloader('examples/Models/titanicmodel.keras'))
|
|
18
18
|
df: pd.DataFrame = pd.read_csv(fileloader('examples/Datasets/Titanic/train.csv'))
|
|
19
19
|
df = df.drop("Survived", axis=1)
|
|
20
20
|
DashModelVisualizer.visualize(model, df, title="DashNotebookDemo", theme=theme,
|
|
@@ -24,7 +24,7 @@ except ImportError:
|
|
|
24
24
|
raise ImportError()
|
|
25
25
|
|
|
26
26
|
def main(show=True):
|
|
27
|
-
model = keras.models.load_model(fileloader('examples/Models/titanicmodel'))
|
|
27
|
+
model = keras.models.load_model(fileloader('examples/Models/titanicmodel.keras'))
|
|
28
28
|
df: pd.DataFrame = pd.read_csv(fileloader('examples/Datasets/Titanic/train.csv'))
|
|
29
29
|
|
|
30
30
|
AR = Analytics.analyzeModel(model, df, ["Survived"])
|
{MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/examples/Demo.py
RENAMED
|
@@ -13,7 +13,7 @@ except ImportError:
|
|
|
13
13
|
|
|
14
14
|
def main(show=True):
|
|
15
15
|
"""Run the demo. Disable show for testing purposes."""
|
|
16
|
-
model = keras.models.load_model(fileloader('examples/Models/titanicmodel'))
|
|
16
|
+
model = keras.models.load_model(fileloader('examples/Models/titanicmodel.keras'))
|
|
17
17
|
df: pd.DataFrame = pd.read_csv(fileloader('examples/Datasets/Titanic/train.csv'))
|
|
18
18
|
|
|
19
19
|
AR = Analytics.analyzeModel(model, df, ["Survived"])
|
|
@@ -12,7 +12,7 @@ except ImportError:
|
|
|
12
12
|
" with `pip install matplotlib` or run the plotly demo instead.")
|
|
13
13
|
|
|
14
14
|
def main():
|
|
15
|
-
model = keras.models.load_model(fileloader('examples/Models/titanicmodel'))
|
|
15
|
+
model = keras.models.load_model(fileloader('examples/Models/titanicmodel.keras'))
|
|
16
16
|
df: pd.DataFrame = pd.read_csv(fileloader('examples/Datasets/Titanic/train.csv'))
|
|
17
17
|
|
|
18
18
|
AR = Analytics.analyzeModel(model, df, ["Survived"])
|
|
Binary file
|
MLVisualizationTools-0.7.4/MLVisualizationTools/examples/Models/titanicmodel_old/fingerprint.pb
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
����҉����������%Ǖ������d ��֏����3(����2
|
MLVisualizationTools-0.7.4/MLVisualizationTools/examples/Models/titanicmodel_old/keras_metadata.pb
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
�&root"_tf_keras_sequential*�&{"name": "sequential", "trainable": true, "expects_training_arg": true, "dtype": "float32", "batch_input_shape": null, "must_restore_from_config": false, "preserve_input_structure_in_config": false, "autocast": false, "class_name": "Sequential", "config": {"name": "sequential", "layers": [{"class_name": "InputLayer", "config": {"batch_input_shape": {"class_name": "__tuple__", "items": [null, 7]}, "dtype": "float32", "sparse": false, "ragged": false, "name": "input_1"}}, {"class_name": "Dense", "config": {"name": "dense", "trainable": true, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}}, {"class_name": "Dense", "config": {"name": "dense_1", "trainable": true, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}}, {"class_name": "Dense", "config": {"name": "dense_2", "trainable": true, "dtype": "float32", "units": 1, "activation": "sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}}]}, "shared_object_id": 10, "input_spec": [{"class_name": "InputSpec", "config": {"dtype": null, "shape": {"class_name": "__tuple__", "items": [null, 7]}, "ndim": 2, "max_ndim": null, "min_ndim": null, "axes": {}}}], "build_input_shape": {"class_name": "TensorShape", "items": [null, 7]}, "is_graph_network": true, "full_save_spec": {"class_name": "__tuple__", "items": [[{"class_name": "TypeSpec", "type_spec": "tf.TensorSpec", "serialized": [{"class_name": "TensorShape", "items": [null, 7]}, "float32", "input_1"]}], {}]}, "save_spec": {"class_name": "TypeSpec", "type_spec": "tf.TensorSpec", "serialized": [{"class_name": "TensorShape", "items": [null, 7]}, "float32", "input_1"]}, "keras_version": "2.13.1", "backend": "tensorflow", "model_config": {"class_name": "Sequential", "config": {"name": "sequential", "layers": [{"class_name": "InputLayer", "config": {"batch_input_shape": {"class_name": "__tuple__", "items": [null, 7]}, "dtype": "float32", "sparse": false, "ragged": false, "name": "input_1"}, "shared_object_id": 0}, {"class_name": "Dense", "config": {"name": "dense", "trainable": true, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 1}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 2}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 3}, {"class_name": "Dense", "config": {"name": "dense_1", "trainable": true, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 4}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 5}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 6}, {"class_name": "Dense", "config": {"name": "dense_2", "trainable": true, "dtype": "float32", "units": 1, "activation": "sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 7}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 8}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 9}]}}, "training_config": {"loss": "binary_crossentropy", "metrics": [[{"class_name": "MeanMetricWrapper", "config": {"name": "accuracy", "dtype": "float32", "fn": "binary_accuracy"}, "shared_object_id": 12}]], "weighted_metrics": null, "loss_weights": null, "optimizer_config": {"class_name": "Custom>Adam", "config": {"name": "Adam", "weight_decay": null, "clipnorm": null, "global_clipnorm": null, "clipvalue": null, "use_ema": false, "ema_momentum": 0.99, "ema_overwrite_frequency": null, "jit_compile": false, "is_legacy_optimizer": false, "learning_rate": 0.0010000000474974513, "beta_1": 0.9, "beta_2": 0.999, "epsilon": 1e-07, "amsgrad": false}}}}2
|
|
3
|
+
�root.layer_with_weights-0"_tf_keras_layer*�{"name": "dense", "trainable": true, "expects_training_arg": false, "dtype": "float32", "batch_input_shape": null, "stateful": false, "must_restore_from_config": false, "preserve_input_structure_in_config": false, "autocast": true, "class_name": "Dense", "config": {"name": "dense", "trainable": true, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 1}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 2}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 3, "input_spec": {"class_name": "InputSpec", "config": {"dtype": null, "shape": null, "ndim": null, "max_ndim": null, "min_ndim": 2, "axes": {"-1": 7}}, "shared_object_id": 13}, "build_input_shape": {"class_name": "TensorShape", "items": [null, 7]}}2
|
|
4
|
+
�root.layer_with_weights-1"_tf_keras_layer*�{"name": "dense_1", "trainable": true, "expects_training_arg": false, "dtype": "float32", "batch_input_shape": null, "stateful": false, "must_restore_from_config": false, "preserve_input_structure_in_config": false, "autocast": true, "class_name": "Dense", "config": {"name": "dense_1", "trainable": true, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 4}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 5}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 6, "input_spec": {"class_name": "InputSpec", "config": {"dtype": null, "shape": null, "ndim": null, "max_ndim": null, "min_ndim": 2, "axes": {"-1": 10}}, "shared_object_id": 14}, "build_input_shape": {"class_name": "TensorShape", "items": [null, 10]}}2
|
|
5
|
+
�root.layer_with_weights-2"_tf_keras_layer*�{"name": "dense_2", "trainable": true, "expects_training_arg": false, "dtype": "float32", "batch_input_shape": null, "stateful": false, "must_restore_from_config": false, "preserve_input_structure_in_config": false, "autocast": true, "class_name": "Dense", "config": {"name": "dense_2", "trainable": true, "dtype": "float32", "units": 1, "activation": "sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 7}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 8}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 9, "input_spec": {"class_name": "InputSpec", "config": {"dtype": null, "shape": null, "ndim": null, "max_ndim": null, "min_ndim": 2, "axes": {"-1": 10}}, "shared_object_id": 15}, "build_input_shape": {"class_name": "TensorShape", "items": [null, 10]}}2
|
|
6
|
+
�Kroot.keras_api.metrics.0"_tf_keras_metric*�{"class_name": "Mean", "name": "loss", "dtype": "float32", "config": {"name": "loss", "dtype": "float32"}, "shared_object_id": 16}2
|
|
7
|
+
�Lroot.keras_api.metrics.1"_tf_keras_metric*�{"class_name": "MeanMetricWrapper", "name": "accuracy", "dtype": "float32", "config": {"name": "accuracy", "dtype": "float32", "fn": "binary_accuracy"}, "shared_object_id": 12}2
|
MLVisualizationTools-0.7.4/MLVisualizationTools/examples/Models/titanicmodel_old/saved_model.pb
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -7,7 +7,7 @@ from tensorflow import keras
|
|
|
7
7
|
|
|
8
8
|
def main(verbose=True):
|
|
9
9
|
"""Run the demo. Disable show for testing purposes."""
|
|
10
|
-
model = keras.models.load_model(fileloader('examples/Models/titanicmodel'))
|
|
10
|
+
model = keras.models.load_model(fileloader('examples/Models/titanicmodel.keras'))
|
|
11
11
|
df: pd.DataFrame = pd.read_csv(fileloader('examples/Datasets/Titanic/train.csv'))
|
|
12
12
|
|
|
13
13
|
header = list(df.columns)
|
|
@@ -12,7 +12,8 @@ from MLVisualizationTools.backend import fileloader
|
|
|
12
12
|
|
|
13
13
|
def getModel():
|
|
14
14
|
model = keras.Sequential()
|
|
15
|
-
model.add(keras.layers.
|
|
15
|
+
model.add(keras.layers.Input((7,)))
|
|
16
|
+
model.add(keras.layers.Dense(10, activation='relu'))
|
|
16
17
|
model.add(keras.layers.Dense(10, activation='relu'))
|
|
17
18
|
model.add(keras.layers.Dense(1, activation='sigmoid'))
|
|
18
19
|
model.compile(loss="binary_crossentropy", optimizer="adam", metrics=["accuracy"])
|
|
@@ -47,7 +48,7 @@ def main():
|
|
|
47
48
|
print("We achieved an (training) accuracy of:", str(round(trainaccuracy,3) * 100) + "%")
|
|
48
49
|
print("We achieved an (testing) accuracy of:", str(round(testaccuracy,3) * 100) + "%")
|
|
49
50
|
print()
|
|
50
|
-
model.save(fileloader('examples/Models/titanicmodel_new'))
|
|
51
|
+
model.save(fileloader('examples/Models/titanicmodel_new.keras'))
|
|
51
52
|
print("Model saved to Models/titanicmodel_new")
|
|
52
53
|
|
|
53
54
|
if __name__ == '__main__':
|
{MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: MLVisualizationTools
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.4
|
|
4
4
|
Summary: A set of functions and demos to make machine learning projects easier to understand through effective visualizations.
|
|
5
5
|
Home-page: https://github.com/RobertJN64/MLVisualizationTools
|
|
6
6
|
Author: Robert Nies
|
|
@@ -13,6 +13,7 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.9
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
17
|
Requires-Python: >=3.8
|
|
17
18
|
Description-Content-Type: text/markdown
|
|
18
19
|
License-File: LICENSE
|
{MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools.egg-info/SOURCES.txt
RENAMED
|
@@ -32,14 +32,12 @@ MLVisualizationTools/examples/TrainTitanicModel.py
|
|
|
32
32
|
MLVisualizationTools/examples/Datasets/Titanic/TitanicDemoPreprocess.py
|
|
33
33
|
MLVisualizationTools/examples/Datasets/Titanic/train.csv
|
|
34
34
|
MLVisualizationTools/examples/Datasets/Titanic/train_orig.csv
|
|
35
|
-
MLVisualizationTools/examples/Models/titanicmodel
|
|
36
|
-
MLVisualizationTools/examples/Models/
|
|
37
|
-
MLVisualizationTools/examples/Models/
|
|
38
|
-
MLVisualizationTools/examples/Models/
|
|
39
|
-
MLVisualizationTools/examples/Models/
|
|
40
|
-
MLVisualizationTools/examples/Models/
|
|
41
|
-
MLVisualizationTools/examples/Models/titanicmodel_v2.0/variables/variables.data-00000-of-00001
|
|
42
|
-
MLVisualizationTools/examples/Models/titanicmodel_v2.0/variables/variables.index
|
|
35
|
+
MLVisualizationTools/examples/Models/titanicmodel.keras
|
|
36
|
+
MLVisualizationTools/examples/Models/titanicmodel_old/fingerprint.pb
|
|
37
|
+
MLVisualizationTools/examples/Models/titanicmodel_old/keras_metadata.pb
|
|
38
|
+
MLVisualizationTools/examples/Models/titanicmodel_old/saved_model.pb
|
|
39
|
+
MLVisualizationTools/examples/Models/titanicmodel_old/variables/variables.data-00000-of-00001
|
|
40
|
+
MLVisualizationTools/examples/Models/titanicmodel_old/variables/variables.index
|
|
43
41
|
MLVisualizationTools/express/DashModelVisualizer.py
|
|
44
42
|
MLVisualizationTools/express/__init__.py
|
|
45
43
|
MLVisualizationTools/theme_assets/dark_assets/darktheme.css
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: MLVisualizationTools
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.4
|
|
4
4
|
Summary: A set of functions and demos to make machine learning projects easier to understand through effective visualizations.
|
|
5
5
|
Home-page: https://github.com/RobertJN64/MLVisualizationTools
|
|
6
6
|
Author: Robert Nies
|
|
@@ -13,6 +13,7 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.9
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
17
|
Requires-Python: >=3.8
|
|
17
18
|
Description-Content-Type: text/markdown
|
|
18
19
|
License-File: LICENSE
|
|
@@ -6,7 +6,7 @@ license = MIT
|
|
|
6
6
|
license_file = LICENSE
|
|
7
7
|
url = https://github.com/RobertJN64/MLVisualizationTools
|
|
8
8
|
author_email = robertjnies@gmail.com
|
|
9
|
-
version = 0.7.
|
|
9
|
+
version = 0.7.4
|
|
10
10
|
long_description = file: README.md
|
|
11
11
|
long_description_content_type = text/markdown
|
|
12
12
|
classifiers =
|
|
@@ -17,6 +17,7 @@ classifiers =
|
|
|
17
17
|
Programming Language :: Python :: 3.9
|
|
18
18
|
Programming Language :: Python :: 3.10
|
|
19
19
|
Programming Language :: Python :: 3.11
|
|
20
|
+
Programming Language :: Python :: 3.12
|
|
20
21
|
|
|
21
22
|
[options]
|
|
22
23
|
packages = MLVisualizationTools
|
|
@@ -25,7 +25,7 @@ def test_colorizer():
|
|
|
25
25
|
|
|
26
26
|
def test_dash_visualizer(): #doesn't launch dash apps, but tests creation process
|
|
27
27
|
import MLVisualizationTools.express.DashModelVisualizer as DMV
|
|
28
|
-
model = keras.models.load_model(fileloader('examples/Models/titanicmodel'))
|
|
28
|
+
model = keras.models.load_model(fileloader('examples/Models/titanicmodel.keras'))
|
|
29
29
|
df: pd.DataFrame = pd.read_csv(fileloader('examples/Datasets/Titanic/train.csv'))
|
|
30
30
|
df = df.drop("Survived", axis=1)
|
|
31
31
|
DMV.App(model, df, theme='light')
|
|
@@ -72,8 +72,8 @@ def test_process_data_train_and_run_model():
|
|
|
72
72
|
import MLVisualizationTools.examples.TrainTitanicModel as TTM
|
|
73
73
|
TTM.main()
|
|
74
74
|
|
|
75
|
-
model = keras.models.load_model('
|
|
76
|
-
df = pd.read_csv('
|
|
75
|
+
model = keras.models.load_model(fileloader('examples/Models/titanicmodel.keras'))
|
|
76
|
+
df = pd.read_csv(fileloader('examples/Datasets/Titanic/train.csv'))
|
|
77
77
|
|
|
78
78
|
# region preprocess
|
|
79
79
|
header = list(df.columns)
|
|
@@ -86,7 +86,7 @@ def test_process_data_train_and_run_model():
|
|
|
86
86
|
# assert accuracy >= 0.70 #had to disable this because we kept failing...
|
|
87
87
|
|
|
88
88
|
def test_colorizer_edge_cases():
|
|
89
|
-
model = keras.models.load_model(fileloader('examples/Models/titanicmodel'))
|
|
89
|
+
model = keras.models.load_model(fileloader('examples/Models/titanicmodel.keras'))
|
|
90
90
|
df: pd.DataFrame = pd.read_csv(fileloader('examples/Datasets/Titanic/train.csv'))
|
|
91
91
|
|
|
92
92
|
AR = project.Analytics.analyzeModel(model, df, ["Survived"])
|
|
@@ -112,7 +112,7 @@ def test_colorizer_edge_cases():
|
|
|
112
112
|
def test_wrong_data_format_exception():
|
|
113
113
|
from MLVisualizationTools.graphinterface import WrongDataFormatException
|
|
114
114
|
|
|
115
|
-
model = keras.models.load_model(fileloader('examples/Models/titanicmodel'))
|
|
115
|
+
model = keras.models.load_model(fileloader('examples/Models/titanicmodel.keras'))
|
|
116
116
|
df: pd.DataFrame = pd.read_csv(fileloader('examples/Datasets/Titanic/train.csv'))
|
|
117
117
|
|
|
118
118
|
AR = project.Analytics.analyzeModel(model, df, ["Survived"])
|
|
@@ -132,7 +132,7 @@ def test_wrong_data_format_exception():
|
|
|
132
132
|
_ = project.Graphs.matplotlibGrid(grid)
|
|
133
133
|
|
|
134
134
|
def test_OutputKey_warning():
|
|
135
|
-
model = keras.models.load_model(fileloader('examples/Models/titanicmodel'))
|
|
135
|
+
model = keras.models.load_model(fileloader('examples/Models/titanicmodel.keras'))
|
|
136
136
|
df: pd.DataFrame = pd.read_csv(fileloader('examples/Datasets/Titanic/train.csv'))
|
|
137
137
|
|
|
138
138
|
cols = list(df.columns)
|
|
@@ -145,7 +145,7 @@ def test_OutputKey_warning():
|
|
|
145
145
|
project.Interfaces.predictionAnimation(model, cols[1], cols[2], cols[3], df, ["Survived"])
|
|
146
146
|
|
|
147
147
|
def test_graph_branch_error():
|
|
148
|
-
model = keras.models.load_model(fileloader('examples/Models/titanicmodel'))
|
|
148
|
+
model = keras.models.load_model(fileloader('examples/Models/titanicmodel.keras'))
|
|
149
149
|
df: pd.DataFrame = pd.read_csv(fileloader('examples/Datasets/Titanic/train.csv'))
|
|
150
150
|
|
|
151
151
|
AR = project.Analytics.analyzeModel(model, df, ["Survived"])
|
|
@@ -174,7 +174,7 @@ def test_graph_branch_error():
|
|
|
174
174
|
project.backend.ColorizerableDataFrame(pd.DataFrame(), mode = 'Not A Mode')
|
|
175
175
|
|
|
176
176
|
def test_data_interface_errors():
|
|
177
|
-
model = keras.models.load_model(fileloader('examples/Models/titanicmodel'))
|
|
177
|
+
model = keras.models.load_model(fileloader('examples/Models/titanicmodel.keras'))
|
|
178
178
|
df: pd.DataFrame = pd.read_csv(fileloader('examples/Datasets/Titanic/train.csv'))
|
|
179
179
|
|
|
180
180
|
AR = project.Analytics.analyzeModel(model, df, ["Survived"])
|
|
@@ -188,7 +188,7 @@ def test_data_interface_errors():
|
|
|
188
188
|
project.datainterface.addPercentageData(grid, df)
|
|
189
189
|
|
|
190
190
|
def test_custom_sizekeys():
|
|
191
|
-
model = keras.models.load_model(fileloader('examples/Models/titanicmodel'))
|
|
191
|
+
model = keras.models.load_model(fileloader('examples/Models/titanicmodel.keras'))
|
|
192
192
|
df: pd.DataFrame = pd.read_csv(fileloader('examples/Datasets/Titanic/train.csv'))
|
|
193
193
|
|
|
194
194
|
AR = project.Analytics.analyzeModel(model, df, ["Survived"])
|
|
@@ -203,7 +203,7 @@ def test_custom_sizekeys():
|
|
|
203
203
|
|
|
204
204
|
|
|
205
205
|
def test_unusual_dataoverlay():
|
|
206
|
-
model = keras.models.load_model(fileloader('examples/Models/titanicmodel'))
|
|
206
|
+
model = keras.models.load_model(fileloader('examples/Models/titanicmodel.keras'))
|
|
207
207
|
df: pd.DataFrame = pd.read_csv(fileloader('examples/Datasets/Titanic/train.csv'))
|
|
208
208
|
|
|
209
209
|
AR = project.Analytics.analyzeModel(model, df, ["Survived"])
|
MLVisualizationTools-0.7.3/MLVisualizationTools/examples/Models/titanicmodel/keras_metadata.pb
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
�$root"_tf_keras_sequential*�#{"name": "sequential", "trainable": true, "expects_training_arg": true, "dtype": "float32", "batch_input_shape": null, "must_restore_from_config": false, "class_name": "Sequential", "config": {"name": "sequential", "layers": [{"class_name": "InputLayer", "config": {"batch_input_shape": {"class_name": "__tuple__", "items": [null, 7]}, "dtype": "float32", "sparse": false, "ragged": false, "name": "dense_input"}}, {"class_name": "Dense", "config": {"name": "dense", "trainable": true, "batch_input_shape": {"class_name": "__tuple__", "items": [null, 7]}, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}}, {"class_name": "Dense", "config": {"name": "dense_1", "trainable": true, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}}, {"class_name": "Dense", "config": {"name": "dense_2", "trainable": true, "dtype": "float32", "units": 1, "activation": "sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}}]}, "shared_object_id": 10, "input_spec": {"class_name": "InputSpec", "config": {"dtype": null, "shape": null, "ndim": null, "max_ndim": null, "min_ndim": 2, "axes": {"-1": 7}}, "shared_object_id": 11}, "build_input_shape": {"class_name": "TensorShape", "items": [null, 7]}, "is_graph_network": true, "save_spec": {"class_name": "TypeSpec", "type_spec": "tf.TensorSpec", "serialized": [{"class_name": "TensorShape", "items": [null, 7]}, "float32", "dense_input"]}, "keras_version": "2.5.0", "backend": "tensorflow", "model_config": {"class_name": "Sequential", "config": {"name": "sequential", "layers": [{"class_name": "InputLayer", "config": {"batch_input_shape": {"class_name": "__tuple__", "items": [null, 7]}, "dtype": "float32", "sparse": false, "ragged": false, "name": "dense_input"}, "shared_object_id": 0}, {"class_name": "Dense", "config": {"name": "dense", "trainable": true, "batch_input_shape": {"class_name": "__tuple__", "items": [null, 7]}, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 1}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 2}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 3}, {"class_name": "Dense", "config": {"name": "dense_1", "trainable": true, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 4}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 5}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 6}, {"class_name": "Dense", "config": {"name": "dense_2", "trainable": true, "dtype": "float32", "units": 1, "activation": "sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 7}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 8}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 9}]}}, "training_config": {"loss": "binary_crossentropy", "metrics": [[{"class_name": "MeanMetricWrapper", "config": {"name": "accuracy", "dtype": "float32", "fn": "binary_accuracy"}, "shared_object_id": 12}]], "weighted_metrics": null, "loss_weights": null, "optimizer_config": {"class_name": "Adam", "config": {"name": "Adam", "learning_rate": 0.0010000000474974513, "decay": 0.0, "beta_1": 0.8999999761581421, "beta_2": 0.9990000128746033, "epsilon": 1e-07, "amsgrad": false}}}}2
|
|
3
|
-
�root.layer_with_weights-0"_tf_keras_layer*�{"name": "dense", "trainable": true, "expects_training_arg": false, "dtype": "float32", "batch_input_shape": {"class_name": "__tuple__", "items": [null, 7]}, "stateful": false, "must_restore_from_config": false, "class_name": "Dense", "config": {"name": "dense", "trainable": true, "batch_input_shape": {"class_name": "__tuple__", "items": [null, 7]}, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 1}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 2}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 3, "input_spec": {"class_name": "InputSpec", "config": {"dtype": null, "shape": null, "ndim": null, "max_ndim": null, "min_ndim": 2, "axes": {"-1": 7}}, "shared_object_id": 11}, "build_input_shape": {"class_name": "TensorShape", "items": [null, 7]}}2
|
|
4
|
-
�root.layer_with_weights-1"_tf_keras_layer*�{"name": "dense_1", "trainable": true, "expects_training_arg": false, "dtype": "float32", "batch_input_shape": null, "stateful": false, "must_restore_from_config": false, "class_name": "Dense", "config": {"name": "dense_1", "trainable": true, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 4}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 5}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 6, "input_spec": {"class_name": "InputSpec", "config": {"dtype": null, "shape": null, "ndim": null, "max_ndim": null, "min_ndim": 2, "axes": {"-1": 10}}, "shared_object_id": 13}, "build_input_shape": {"class_name": "TensorShape", "items": [null, 10]}}2
|
|
5
|
-
�root.layer_with_weights-2"_tf_keras_layer*�{"name": "dense_2", "trainable": true, "expects_training_arg": false, "dtype": "float32", "batch_input_shape": null, "stateful": false, "must_restore_from_config": false, "class_name": "Dense", "config": {"name": "dense_2", "trainable": true, "dtype": "float32", "units": 1, "activation": "sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 7}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 8}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 9, "input_spec": {"class_name": "InputSpec", "config": {"dtype": null, "shape": null, "ndim": null, "max_ndim": null, "min_ndim": 2, "axes": {"-1": 10}}, "shared_object_id": 14}, "build_input_shape": {"class_name": "TensorShape", "items": [null, 10]}}2
|
|
6
|
-
�5root.keras_api.metrics.0"_tf_keras_metric*�{"class_name": "Mean", "name": "loss", "dtype": "float32", "config": {"name": "loss", "dtype": "float32"}, "shared_object_id": 15}2
|
|
7
|
-
�6root.keras_api.metrics.1"_tf_keras_metric*�{"class_name": "MeanMetricWrapper", "name": "accuracy", "dtype": "float32", "config": {"name": "accuracy", "dtype": "float32", "fn": "binary_accuracy"}, "shared_object_id": 12}2
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
MLVisualizationTools-0.7.3/MLVisualizationTools/examples/Models/titanicmodel_v2.0/keras_metadata.pb
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
�&root"_tf_keras_sequential*�&{"name": "sequential", "trainable": true, "expects_training_arg": true, "dtype": "float32", "batch_input_shape": null, "must_restore_from_config": false, "preserve_input_structure_in_config": false, "autocast": false, "class_name": "Sequential", "config": {"name": "sequential", "layers": [{"class_name": "InputLayer", "config": {"batch_input_shape": {"class_name": "__tuple__", "items": [null, 7]}, "dtype": "float32", "sparse": false, "ragged": false, "name": "dense_input"}}, {"class_name": "Dense", "config": {"name": "dense", "trainable": true, "batch_input_shape": {"class_name": "__tuple__", "items": [null, 7]}, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}}, {"class_name": "Dense", "config": {"name": "dense_1", "trainable": true, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}}, {"class_name": "Dense", "config": {"name": "dense_2", "trainable": true, "dtype": "float32", "units": 1, "activation": "sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}}]}, "shared_object_id": 10, "input_spec": [{"class_name": "InputSpec", "config": {"dtype": null, "shape": {"class_name": "__tuple__", "items": [null, 7]}, "ndim": 2, "max_ndim": null, "min_ndim": null, "axes": {}}}], "build_input_shape": {"class_name": "TensorShape", "items": [null, 7]}, "is_graph_network": true, "full_save_spec": {"class_name": "__tuple__", "items": [[{"class_name": "TypeSpec", "type_spec": "tf.TensorSpec", "serialized": [{"class_name": "TensorShape", "items": [null, 7]}, "float32", "dense_input"]}], {}]}, "save_spec": {"class_name": "TypeSpec", "type_spec": "tf.TensorSpec", "serialized": [{"class_name": "TensorShape", "items": [null, 7]}, "float32", "dense_input"]}, "keras_version": "2.10.0", "backend": "tensorflow", "model_config": {"class_name": "Sequential", "config": {"name": "sequential", "layers": [{"class_name": "InputLayer", "config": {"batch_input_shape": {"class_name": "__tuple__", "items": [null, 7]}, "dtype": "float32", "sparse": false, "ragged": false, "name": "dense_input"}, "shared_object_id": 0}, {"class_name": "Dense", "config": {"name": "dense", "trainable": true, "batch_input_shape": {"class_name": "__tuple__", "items": [null, 7]}, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 1}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 2}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 3}, {"class_name": "Dense", "config": {"name": "dense_1", "trainable": true, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 4}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 5}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 6}, {"class_name": "Dense", "config": {"name": "dense_2", "trainable": true, "dtype": "float32", "units": 1, "activation": "sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 7}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 8}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 9}]}}, "training_config": {"loss": "binary_crossentropy", "metrics": [[{"class_name": "MeanMetricWrapper", "config": {"name": "accuracy", "dtype": "float32", "fn": "binary_accuracy"}, "shared_object_id": 12}]], "weighted_metrics": null, "loss_weights": null, "optimizer_config": {"class_name": "Adam", "config": {"name": "Adam", "learning_rate": 0.0010000000474974513, "decay": 0.0, "beta_1": 0.8999999761581421, "beta_2": 0.9990000128746033, "epsilon": 1e-07, "amsgrad": false}}}}2
|
|
3
|
-
�root.layer_with_weights-0"_tf_keras_layer*�{"name": "dense", "trainable": true, "expects_training_arg": false, "dtype": "float32", "batch_input_shape": {"class_name": "__tuple__", "items": [null, 7]}, "stateful": false, "must_restore_from_config": false, "preserve_input_structure_in_config": false, "autocast": true, "class_name": "Dense", "config": {"name": "dense", "trainable": true, "batch_input_shape": {"class_name": "__tuple__", "items": [null, 7]}, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 1}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 2}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 3, "input_spec": {"class_name": "InputSpec", "config": {"dtype": null, "shape": null, "ndim": null, "max_ndim": null, "min_ndim": 2, "axes": {"-1": 7}}, "shared_object_id": 13}, "build_input_shape": {"class_name": "TensorShape", "items": [null, 7]}}2
|
|
4
|
-
�root.layer_with_weights-1"_tf_keras_layer*�{"name": "dense_1", "trainable": true, "expects_training_arg": false, "dtype": "float32", "batch_input_shape": null, "stateful": false, "must_restore_from_config": false, "preserve_input_structure_in_config": false, "autocast": true, "class_name": "Dense", "config": {"name": "dense_1", "trainable": true, "dtype": "float32", "units": 10, "activation": "relu", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 4}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 5}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 6, "input_spec": {"class_name": "InputSpec", "config": {"dtype": null, "shape": null, "ndim": null, "max_ndim": null, "min_ndim": 2, "axes": {"-1": 10}}, "shared_object_id": 14}, "build_input_shape": {"class_name": "TensorShape", "items": [null, 10]}}2
|
|
5
|
-
�root.layer_with_weights-2"_tf_keras_layer*�{"name": "dense_2", "trainable": true, "expects_training_arg": false, "dtype": "float32", "batch_input_shape": null, "stateful": false, "must_restore_from_config": false, "preserve_input_structure_in_config": false, "autocast": true, "class_name": "Dense", "config": {"name": "dense_2", "trainable": true, "dtype": "float32", "units": 1, "activation": "sigmoid", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 7}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 8}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 9, "input_spec": {"class_name": "InputSpec", "config": {"dtype": null, "shape": null, "ndim": null, "max_ndim": null, "min_ndim": 2, "axes": {"-1": 10}}, "shared_object_id": 15}, "build_input_shape": {"class_name": "TensorShape", "items": [null, 10]}}2
|
|
6
|
-
�Mroot.keras_api.metrics.0"_tf_keras_metric*�{"class_name": "Mean", "name": "loss", "dtype": "float32", "config": {"name": "loss", "dtype": "float32"}, "shared_object_id": 16}2
|
|
7
|
-
�Nroot.keras_api.metrics.1"_tf_keras_metric*�{"class_name": "MeanMetricWrapper", "name": "accuracy", "dtype": "float32", "config": {"name": "accuracy", "dtype": "float32", "fn": "binary_accuracy"}, "shared_object_id": 12}2
|
MLVisualizationTools-0.7.3/MLVisualizationTools/examples/Models/titanicmodel_v2.0/saved_model.pb
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/colorizers.py
RENAMED
|
File without changes
|
{MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/dashbackend.py
RENAMED
|
File without changes
|
{MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/datainterface.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/express/__init__.py
RENAMED
|
File without changes
|
{MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/graphinterface.py
RENAMED
|
File without changes
|
{MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/modelanalytics.py
RENAMED
|
File without changes
|
{MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/modelinterface.py
RENAMED
|
File without changes
|
{MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools/removefeature.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{MLVisualizationTools-0.7.3 → MLVisualizationTools-0.7.4}/MLVisualizationTools.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|