:py:mod:`python.dgbpy.mlmodel_keras_dGB` ======================================== .. py:module:: python.dgbpy.mlmodel_keras_dGB Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: python.dgbpy.mlmodel_keras_dGB.dGB_UnetSeg python.dgbpy.mlmodel_keras_dGB.dGB_UnetReg python.dgbpy.mlmodel_keras_dGB.dGB_LeNet_Classifier python.dgbpy.mlmodel_keras_dGB.dGB_LeNet_Regressor Functions ~~~~~~~~~ .. autoapisummary:: python.dgbpy.mlmodel_keras_dGB._to_tensor python.dgbpy.mlmodel_keras_dGB.root_mean_squared_error python.dgbpy.mlmodel_keras_dGB.getAdamOpt python.dgbpy.mlmodel_keras_dGB.cross_entropy_balanced python.dgbpy.mlmodel_keras_dGB.compile_model python.dgbpy.mlmodel_keras_dGB.dGBUNet python.dgbpy.mlmodel_keras_dGB.dGBLeNet .. py:function:: _to_tensor(x, dtype) .. py:function:: root_mean_squared_error(y_true, y_pred) .. py:function:: getAdamOpt(learning_rate=0.0001) .. py:function:: cross_entropy_balanced(y_true, y_pred) .. py:function:: compile_model(model, nroutputs, isregression, isunet, learnrate) .. py:function:: dGBUNet(model_shape, nroutputs, predtype) .. py:class:: dGB_UnetSeg Bases: :py:obj:`dgbpy.keras_classes.UserModel` .. py:attribute:: uiname :annotation: = dGB UNet Segmentation .. py:attribute:: uidescription :annotation: = dGBs Unet image segmentation .. py:attribute:: predtype .. py:attribute:: outtype .. py:attribute:: dimtype .. py:method:: _make_model(self, model_shape, nroutputs, learnrate) .. py:class:: dGB_UnetReg Bases: :py:obj:`dgbpy.keras_classes.UserModel` .. py:attribute:: uiname :annotation: = dGB UNet Regression .. py:attribute:: uidescription :annotation: = dGBs Unet image regression .. py:attribute:: predtype .. py:attribute:: outtype .. py:attribute:: dimtype .. py:method:: _make_model(self, model_shape, nroutputs, learnrate) .. py:function:: dGBLeNet(model_shape, nroutputs, predtype) .. py:class:: dGB_LeNet_Classifier Bases: :py:obj:`dgbpy.keras_classes.UserModel` .. py:attribute:: uiname :annotation: = dGB LeNet classifier .. py:attribute:: uidescription :annotation: = dGBs LeNet classifier Keras model in UserModel form .. py:attribute:: predtype .. py:attribute:: outtype .. py:attribute:: dimtype .. py:method:: _make_model(self, input_shape, nroutputs, learnrate) .. py:class:: dGB_LeNet_Regressor Bases: :py:obj:`dgbpy.keras_classes.UserModel` .. py:attribute:: uiname :annotation: = dGB LeNet regressor .. py:attribute:: uidescription :annotation: = dGBs LeNet regressor Keras model in UserModel form .. py:attribute:: predtype .. py:attribute:: outtype .. py:attribute:: dimtype .. py:method:: _make_model(self, input_shape, nroutputs, learnrate)