Beispiel #1
0
def main():
    # Import data
    #x_data, y_data = data.artificial2D()
    x_data, y_data = data.artificial3D()

    model = ad.Adaline(x_data, y_data)
    model.adaline()
Beispiel #2
0
def main():

    # Database
    x_data, y_data = data.artificial3C()
    #x_data, y_data = data.irisFlower()
    #x_data, y_data = data.vertebralColumn()

    model = pc.Perceptron(x_data, y_data, activation='logistic')
    model.execute()
Beispiel #3
0
def main():
    # Artificial Database
    x_data, y_data = data.artificialSeno()

    #Database
    #x_data, y_data = data.abalone()
    #x_data, y_data = data.carFuel()

    model = elm.ELM(x_data, y_data)
    model.execute()
Beispiel #4
0
def main():
    # Artificial Database
    #x_data, y_data = data.artificialSeno()

    #Database
    #x_data, y_data = data.abalone()
    x_data, y_data = data.carFuel()

    model = rbf.RBF(x_data, y_data)
    model.execute()
Beispiel #5
0
def main():
    # Artificial Database
    x_data, y_data = data.artificialSeno()

    #Database
    #x_data, y_data = data.abalone()
    #x_data, y_data = data.carFuel()

    model = mlp.Perceptron(x_data,
                           y_data,
                           activation='logistic',
                           hidden_layer=10)
    model.execute()
Beispiel #6
0
def main():

    x_data, y_data = data.irisFlowerBinary('Iris-setosa')
    #x_data, y_data = data.irisFlowerBinary('Iris-versicolor')
    #x_data, y_data = data.irisFlowerBinary('Iris-virginica')
    #x_data, y_data = data.vertebralColumnBinary()
    #x_data, y_data = data.dermatologyBinary()
    #x_data, y_data = data.cancerBinary()

    # Artificial
    #x_data, y_data = data.artificial2C()
    #x_data, y_data = data.artificialAND()
    #x_data, y_data = data.artificialOR()

    model = ps.Perceptron(x_data, y_data)
    model.perceptron()
Beispiel #7
0
def main():
    # Artificial Database
    #x_data, y_data = data.artificial3C()
    #x_data, y_data = data.artificialAND()
    #x_data, y_data = data.artificialOR()
    #x_data, y_data = data.artificialXOR()
    #x_data, y_data = data.artificialMoons()
    #x_data, y_data = data.artificialCircles()

    # Database
    x_data, y_data = data.irisFlower()
    #x_data, y_data = data.vertebralColumn()
    #x_data, y_data = data.dermatology()
    #x_data, y_data = data.cancer()

    model = rbf.RBF(x_data, y_data, g_search=True)
    model.execute()
Beispiel #8
0
def main():
    # Artificial Database
    x_data, y_data = data.artificial3C()
    #x_data, y_data = data.artificialAND()
    #x_data, y_data = data.artificialOR()
    #x_data, y_data = data.artificialXOR()
    #x_data, y_data = data.artificialMoons()
    #x_data, y_data = data.artificialCircles()

    # Database
    #x_data, y_data = data.irisFlower()
    #x_data, y_data = data.vertebralColumn()
    #x_data, y_data = data.dermatology()
    #x_data, y_data = data.cancer()

    model = mlp.Perceptron(x_data, y_data, activation='logistic', g_search=False, hidden_layer=2)
    model.execute()