def METHOD_NAME():
    try:
        if len(list(txt.get())) == 2:
            inputData = str(1) + txt.get()
            inputMatrix = numpy.asmatrix(list(map(int, inputData)))
            weightsMatrix = numpy.asmatrix(trainedNeuron.weights)
            result = inputMatrix * weightsMatrix.transpose()
            #Función de activación (para Yc)
            ycList = []
            for u in result:
                if(u <= 0):
                    ycList.append(0)
                else:
                    ycList.append(1)
            Yc = numpy.asmatrix(ycList).transpose()
            messagebox.showinfo('Result', 'EL resultado es: ' + str(Yc[0,0]))
        else:
            messagebox.showinfo('ERROR', 'Ha ocurrido un error. La cadena de entrada debe ser de 3 dígitos')
    except:
        messagebox.showinfo('ERROR', 'Ha ocurrido un error. Verifique los datos ingresados')