# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'D:\NextGIS\qgis_molusce\src\molusce\ui\neuralnetworkwidgetbase.ui'
#
# Created by: PyQt5 UI code generator 5.15.10
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from qgis.PyQt import QtCore, QtGui, QtWidgets


class Ui_NeuralNetworkWidgetBase(object):
    def setupUi(self, NeuralNetworkWidgetBase):
        NeuralNetworkWidgetBase.setObjectName("NeuralNetworkWidgetBase")
        NeuralNetworkWidgetBase.resize(660, 449)
        NeuralNetworkWidgetBase.setWindowTitle("")
        self.gridLayout_2 = QtWidgets.QGridLayout(NeuralNetworkWidgetBase)
        self.gridLayout_2.setObjectName("gridLayout_2")
        spacerItem = QtWidgets.QSpacerItem(20, 77, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 1, 0, 1, 1)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.leValidationError = QtWidgets.QLineEdit(NeuralNetworkWidgetBase)
        self.leValidationError.setReadOnly(True)
        self.leValidationError.setObjectName("leValidationError")
        self.gridLayout.addWidget(self.leValidationError, 6, 1, 1, 2)
        self.label_9 = QtWidgets.QLabel(NeuralNetworkWidgetBase)
        self.label_9.setObjectName("label_9")
        self.gridLayout.addWidget(self.label_9, 4, 0, 1, 1)
        self.label_2 = QtWidgets.QLabel(NeuralNetworkWidgetBase)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.label = QtWidgets.QLabel(NeuralNetworkWidgetBase)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.label_10 = QtWidgets.QLabel(NeuralNetworkWidgetBase)
        self.label_10.setObjectName("label_10")
        self.gridLayout.addWidget(self.label_10, 6, 0, 1, 1)
        self.label_5 = QtWidgets.QLabel(NeuralNetworkWidgetBase)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 3, 0, 1, 1)
        self.spnMaxIterations = QtWidgets.QSpinBox(NeuralNetworkWidgetBase)
        self.spnMaxIterations.setMinimum(1)
        self.spnMaxIterations.setMaximum(1000000)
        self.spnMaxIterations.setSingleStep(10)
        self.spnMaxIterations.setProperty("value", 500)
        self.spnMaxIterations.setObjectName("spnMaxIterations")
        self.gridLayout.addWidget(self.spnMaxIterations, 2, 1, 1, 2)
        self.spnNeigbourhood = QtWidgets.QSpinBox(NeuralNetworkWidgetBase)
        self.spnNeigbourhood.setMinimum(0)
        self.spnNeigbourhood.setMaximum(99)
        self.spnNeigbourhood.setObjectName("spnNeigbourhood")
        self.gridLayout.addWidget(self.spnNeigbourhood, 0, 1, 1, 2)
        self.spnMomentum = QtWidgets.QDoubleSpinBox(NeuralNetworkWidgetBase)
        self.spnMomentum.setDecimals(3)
        self.spnMomentum.setMinimum(0.001)
        self.spnMomentum.setMaximum(1.0)
        self.spnMomentum.setSingleStep(0.005)
        self.spnMomentum.setProperty("value", 0.05)
        self.spnMomentum.setObjectName("spnMomentum")
        self.gridLayout.addWidget(self.spnMomentum, 4, 1, 1, 2)
        self.label_3 = QtWidgets.QLabel(NeuralNetworkWidgetBase)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.leDeltaRMS = QtWidgets.QLineEdit(NeuralNetworkWidgetBase)
        self.leDeltaRMS.setReadOnly(True)
        self.leDeltaRMS.setObjectName("leDeltaRMS")
        self.gridLayout.addWidget(self.leDeltaRMS, 5, 1, 1, 2)
        self.leTopology = QtWidgets.QLineEdit(NeuralNetworkWidgetBase)
        self.leTopology.setObjectName("leTopology")
        self.gridLayout.addWidget(self.leTopology, 3, 1, 1, 2)
        self.spnLearnRate = QtWidgets.QDoubleSpinBox(NeuralNetworkWidgetBase)
        self.spnLearnRate.setDecimals(3)
        self.spnLearnRate.setMinimum(0.001)
        self.spnLearnRate.setMaximum(1.0)
        self.spnLearnRate.setSingleStep(0.005)
        self.spnLearnRate.setProperty("value", 0.02)
        self.spnLearnRate.setObjectName("spnLearnRate")
        self.gridLayout.addWidget(self.spnLearnRate, 1, 1, 1, 2)
        self.label_6 = QtWidgets.QLabel(NeuralNetworkWidgetBase)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 7, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(NeuralNetworkWidgetBase)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 5, 0, 1, 1)
        self.btnTrainNetwork = QtWidgets.QPushButton(NeuralNetworkWidgetBase)
        self.btnTrainNetwork.setObjectName("btnTrainNetwork")
        self.gridLayout.addWidget(self.btnTrainNetwork, 10, 0, 1, 1)
        self.btnStop = QtWidgets.QPushButton(NeuralNetworkWidgetBase)
        self.btnStop.setObjectName("btnStop")
        self.gridLayout.addWidget(self.btnStop, 10, 1, 1, 2)
        self.leKappa = QtWidgets.QLineEdit(NeuralNetworkWidgetBase)
        self.leKappa.setReadOnly(True)
        self.leKappa.setObjectName("leKappa")
        self.gridLayout.addWidget(self.leKappa, 7, 1, 1, 2)
        self.gridLayout.setColumnStretch(0, 2)
        self.gridLayout.setColumnStretch(1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
        self.layoutPlot = QtWidgets.QVBoxLayout()
        self.layoutPlot.setObjectName("layoutPlot")
        self.gridLayout_2.addLayout(self.layoutPlot, 0, 1, 2, 1)

        self.retranslateUi(NeuralNetworkWidgetBase)
        QtCore.QMetaObject.connectSlotsByName(NeuralNetworkWidgetBase)

    def retranslateUi(self, NeuralNetworkWidgetBase):
        _translate = QtCore.QCoreApplication.translate
        self.label_9.setText(_translate("NeuralNetworkWidgetBase", "Momentum"))
        self.label_2.setText(_translate("NeuralNetworkWidgetBase", "Learning Rate"))
        self.label.setText(_translate("NeuralNetworkWidgetBase", "Neighbourhood"))
        self.label_10.setText(_translate("NeuralNetworkWidgetBase", "Min Validation Overall Error"))
        self.label_5.setText(_translate("NeuralNetworkWidgetBase", "Hidden Layers"))
        self.spnNeigbourhood.setSuffix(_translate("NeuralNetworkWidgetBase", " px"))
        self.label_3.setText(_translate("NeuralNetworkWidgetBase", "Maximum Iterations"))
        self.label_6.setText(_translate("NeuralNetworkWidgetBase", "Current Validation Kappa"))
        self.label_4.setText(_translate("NeuralNetworkWidgetBase", "Δ Overall Accuracy"))
        self.btnTrainNetwork.setText(_translate("NeuralNetworkWidgetBase", "Train neural network"))
        self.btnStop.setText(_translate("NeuralNetworkWidgetBase", "Stop"))
