Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/MaCh3PythonUtils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__="2.0.0"
__version__="2.0.1"
__author__="Henry Wallace"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from MaCh3PythonUtils.machine_learning.tf_interface import TfInterface
from MaCh3PythonUtils.machine_learning.tensorflow.tf_interface import TfInterface
import tensorflow as tf
import pandas as pd
import numpy as np
Expand Down Expand Up @@ -101,4 +101,4 @@ def train_model(self):

self._model = self._model_tuner.hypermodel.build(best_hps)

self._model.fit(scaled_data, scaled_labels, epochs=self._epochs, batch_size=self._batch_size , validation_split=0.2, callbacks=[stop_early, lr_schedule])
self._model.fit(scaled_data, scaled_labels, epochs=self._epochs, batch_size=self._batch_size , validation_split=0.2, callbacks=[stop_early, lr_schedule])
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Let's make a tensor flow interface!
from MaCh3PythonUtils.machine_learning.file_ml_interface import FileMLInterface
from MaCh3PythonUtils.machine_learning.tensorflow.file_ml_interface import FileMLInterface
import tensorflow as tf
import pandas as pd
import numpy as np
Expand Down Expand Up @@ -100,4 +100,4 @@ def model_predict(self, test_data: pd.DataFrame):

def model_predict_no_scale(self, test_data):
# Same as above but specifically for TF, optimised to avoid if statement...
return self._model(test_data, training=False)
return self._model(test_data, training=False)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from MaCh3PythonUtils.machine_learning.tf_interface import TfInterface
from MaCh3PythonUtils.machine_learning.tensorflow..tf_interface import TfInterface
import tensorflow as tf
import pandas as pd
import numpy as np
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from MaCh3PythonUtils.machine_learning.tf_manual_interface import TfManualInterface
from MaCh3PythonUtils.machine_learning.tensorflow.tf_manual_interface import TfManualInterface

import tensorflow_probability as tfp
import tensorflow.keras as tfk
Expand Down