trabalho weka

Upload: caioph

Post on 02-Jun-2018

236 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 Trabalho Weka

    1/24

  • 8/10/2019 Trabalho Weka

    2/24

    III- 4 e 2 camadas pois foram testadas outrasd combinacoes e esta resultou num menor erro

    Time taken to build model: 9.81 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 521 90.2946 %

    Incorrectly Classified Instances 56 9.7054 %

    Kappa statistic 0.8036

    Mean absolute error 0.1539

    Root mean squared error 0.2827

    Relative absolute error 30.8743 %

    Root relative squared error 56.6338 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.971 0.173 0.863 0.971 0.914 0.931 0

    0.827 0.029 0.961 0.827 0.889 0.931 1

    Weighted Avg. 0.903 0.106 0.909 0.903 0.902 0.931

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    3/24

    IV- poca = 2

    Time taken to build model: 7.58 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 306 53.0329 %

    Incorrectly Classified Instances 271 46.9671 %

    Kappa statistic 0

    Mean absolute error 0.4964

    Root mean squared error 0.4999

    Relative absolute error 99.57 %

    Root relative squared error 100.1517 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    1 1 0.53 1 0.693 0.407 0

    0 0 0 0 0 0.407 1

    Weighted Avg. 0.53 0.53 0.281 0.53 0.368 0.407

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    4/24

    poca = 200

    Time taken to build model: 10.45 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 523 90.6412 %

    Incorrectly Classified Instances 54 9.3588 %

    Kappa statistic 0.8104

    Mean absolute error 0.1593

    Root mean squared error 0.2811

    Relative absolute error 31.9564 %

    Root relative squared error 56.3212 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.984 0.181 0.86 0.984 0.918 0.915 0

    0.819 0.016 0.978 0.819 0.892 0.915 1

    Weighted Avg. 0.906 0.104 0.915 0.906 0.905 0.915

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    5/24

    poca = 2000

    Time taken to build model: 38.75 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 515 89.2548 %

    Incorrectly Classified Instances 62 10.7452 %

    Kappa statistic 0.783

    Mean absolute error 0.1497

    Root mean squared error 0.291

    Relative absolute error 30.0306 %

    Root relative squared error 58.3077 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.944 0.166 0.865 0.944 0.903 0.932 0

    0.834 0.056 0.93 0.834 0.879 0.932 1

    Weighted Avg. 0.893 0.114 0.896 0.893 0.892 0.932

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    6/24

    V- 20 por ser o mesmo, mudando isso s fica mais rapido mas a validacao continua

    Time taken to build model: 3.28 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 523 90.6412 %

    Incorrectly Classified Instances 54 9.3588 %

    Kappa statistic 0.8102

    Mean absolute error 0.1605

    Root mean squared error 0.2819

    Relative absolute error 32.1972 %

    Root relative squared error 56.4716 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.99 0.188 0.856 0.99 0.918 0.902 0

    0.812 0.01 0.987 0.812 0.891 0.902 1

    Weighted Avg. 0.906 0.104 0.917 0.906 0.905 0.902

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    7/24

    VI-

    Time taken to build model: 19.8 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 521 90.2946 %

    Incorrectly Classified Instances 56 9.7054 %

    Kappa statistic 0.8033

    Mean absolute error 0.1677

    Root mean squared error 0.2882

    Relative absolute error 33.6402 %

    Root relative squared error 57.7331 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.984 0.188 0.855 0.984 0.915 0.905 0

    0.812 0.016 0.978 0.812 0.887 0.905 1

    Weighted Avg. 0.903 0.107 0.913 0.903 0.902 0.905

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    8/24

    VII- ESTC

    Time taken to build model: 4.71 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 520 90.1213 %

    Incorrectly Classified Instances 57 9.8787 %

    Kappa statistic 0.7998

    Mean absolute error 0.163

    Root mean squared error 0.2901

    Relative absolute error 32.6956 %

    Root relative squared error 58.1129 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.98 0.188 0.855 0.98 0.913 0.906 0

    0.812 0.02 0.973 0.812 0.885 0.906 1

    Weighted Avg. 0.901 0.109 0.91 0.901 0.9 0.906

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    9/24

    II-

    Time taken to build model: 18.52 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 292 50.6066 %

    Incorrectly Classified Instances 285 49.3934 %

    Kappa statistic 0

    Mean absolute error 0.4975

    Root mean squared error 0.5398

    Relative absolute error 99.57 %

    Root relative squared error 107.8247 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    1 1 0.506 1 0.672 0.522 0

    0 0 0 0 0 0.514 1

    Weighted Avg. 0.506 0.506 0.256 0.506 0.34 0.518

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    10/24

    III- 4,2

    Time taken to build model: 8.36 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 517 89.6014 %

    Incorrectly Classified Instances 60 10.3986 %

    Kappa statistic 0.7915

    Mean absolute error 0.1478

    Root mean squared error 0.2981

    Relative absolute error 29.5751 %

    Root relative squared error 59.5502 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.986 0.196 0.837 0.986 0.906 0.91 0

    0.804 0.014 0.983 0.804 0.884 0.91 1

    Weighted Avg. 0.896 0.106 0.909 0.896 0.895 0.91

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    11/24

    IV- poca =2 com a(default) pois resultado melhor q as camadas escondidas

    ime taken to build model: 8.66 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 506 87.695 %

    Incorrectly Classified Instances 71 12.305 %

    Kappa statistic 0.7532

    Mean absolute error 0.1732

    Root mean squared error 0.3144

    Relative absolute error 34.6659 %

    Root relative squared error 62.7903 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.986 0.235 0.811 0.986 0.89 0.919 0

    0.765 0.014 0.982 0.765 0.86 0.919 1

    Weighted Avg. 0.877 0.126 0.896 0.877 0.875 0.919

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    12/24

    POCA =200

    Time taken to build model: 14.94 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 517 89.6014 %

    Incorrectly Classified Instances 60 10.3986 %

    Kappa statistic 0.7915

    Mean absolute error 0.1302

    Root mean squared error 0.2877

    Relative absolute error 26.0523 %

    Root relative squared error 57.4574 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.986 0.196 0.837 0.986 0.906 0.937 0

    0.804 0.014 0.983 0.804 0.884 0.937 1

    Weighted Avg. 0.896 0.106 0.909 0.896 0.895 0.937

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    13/24

    poca = 2000

    Time taken to build model: 34.72 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 512 88.7348 %

    Incorrectly Classified Instances 65 11.2652 %

    Kappa statistic 0.7743

    Mean absolute error 0.1284

    Root mean squared error 0.3039

    Relative absolute error 25.6922 %

    Root relative squared error 60.6911 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.952 0.179 0.845 0.952 0.895 0.934 0

    0.821 0.048 0.944 0.821 0.878 0.934 1

    Weighted Avg. 0.887 0.114 0.894 0.887 0.887 0.934

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    14/24

    V-

    Time taken to build model: 5.71 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 518 89.7747 %

    Incorrectly Classified Instances 59 10.2253 %

    Kappa statistic 0.795

    Mean absolute error 0.1341

    Root mean squared error 0.2901

    Relative absolute error 26.8437 %

    Root relative squared error 57.933 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.99 0.196 0.838 0.99 0.907 0.927 0

    0.804 0.01 0.987 0.804 0.886 0.927 1

    Weighted Avg. 0.898 0.105 0.911 0.898 0.897 0.927

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    15/24

    VI-

    Time taken to build model: 41.09 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 509 88.2149 %

    Incorrectly Classified Instances 68 11.7851 %

    Kappa statistic 0.7637

    Mean absolute error 0.1654

    Root mean squared error 0.3072

    Relative absolute error 33.112 %

    Root relative squared error 61.3547 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.976 0.214 0.824 0.976 0.893 0.92 0

    0.786 0.024 0.97 0.786 0.868 0.92 1

    Weighted Avg. 0.882 0.12 0.896 0.882 0.881 0.92

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    16/24

    VII-

    Time taken to build model: 5.54 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 519 89.948 %

    Incorrectly Classified Instances 58 10.052 %

    Kappa statistic 0.7985

    Mean absolute error 0.1345

    Root mean squared error 0.2886

    Relative absolute error 26.926 %

    Root relative squared error 57.6358 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.993 0.196 0.838 0.993 0.909 0.931 0

    0.804 0.007 0.991 0.804 0.888 0.931 1

    Weighted Avg. 0.899 0.103 0.914 0.899 0.898 0.931

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    17/24

    II-

    Time taken to build model: 10.7 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 326 56.4991 %

    Incorrectly Classified Instances 251 43.5009 %

    Kappa statistic 0

    Mean absolute error 0.4945

    Root mean squared error 0.4963

    Relative absolute error 99.1517 %

    Root relative squared error 99.492 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    1 1 0.565 1 0.722 0.493 0

    0 0 0 0 0 0.485 1

    Weighted Avg. 0.565 0.565 0.319 0.565 0.408 0.489

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    18/24

    III- 4,2

    Time taken to build model: 8.23 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 515 89.2548 %

    Incorrectly Classified Instances 62 10.7452 %

    Kappa statistic 0.7786

    Mean absolute error 0.1766

    Root mean squared error 0.3099

    Relative absolute error 35.4209 %

    Root relative squared error 62.1198 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.948 0.179 0.873 0.948 0.909 0.922 0

    0.821 0.052 0.924 0.821 0.869 0.922 1

    Weighted Avg. 0.893 0.124 0.895 0.893 0.892 0.922

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    19/24

    IV defiuit epoca= 2

    Time taken to build model: 5.75 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 512 88.7348 %

    Incorrectly Classified Instances 65 11.2652 %

    Kappa statistic 0.7682

    Mean absolute error 0.1945

    Root mean squared error 0.3083

    Relative absolute error 39.0003 %

    Root relative squared error 61.8035 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.939 0.179 0.872 0.939 0.904 0.915 0

    0.821 0.061 0.912 0.821 0.864 0.915 1

    Weighted Avg. 0.887 0.128 0.889 0.887 0.886 0.915

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    20/24

    Epoca 200

    Time taken to build model: 7.89 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 512 88.7348 %

    Incorrectly Classified Instances 65 11.2652 %

    Kappa statistic 0.7697

    Mean absolute error 0.1509

    Root mean squared error 0.3029

    Relative absolute error 30.2574 %

    Root relative squared error 60.7245 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.917 0.151 0.887 0.917 0.902 0.926 0

    0.849 0.083 0.888 0.849 0.868 0.926 1

    Weighted Avg. 0.887 0.122 0.887 0.887 0.887 0.926

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    21/24

    Epoca 2000

    Time taken to build model: 45.52 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 514 89.0815 %

    Incorrectly Classified Instances 63 10.9185 %

    Kappa statistic 0.7765

    Mean absolute error 0.1526

    Root mean squared error 0.3074

    Relative absolute error 30.59 %

    Root relative squared error 61.6267 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.923 0.151 0.888 0.923 0.905 0.927 0

    0.849 0.077 0.895 0.849 0.871 0.927 1

    Weighted Avg. 0.891 0.119 0.891 0.891 0.89 0.927

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    22/24

    V-

    Time taken to build model: 3.37 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 518 89.7747 %

    Incorrectly Classified Instances 59 10.2253 %

    Kappa statistic 0.7894

    Mean absolute error 0.1447

    Root mean squared error 0.2887

    Relative absolute error 29.0122 %

    Root relative squared error 57.8839 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.951 0.171 0.878 0.951 0.913 0.921 0

    0.829 0.049 0.929 0.829 0.876 0.921 1

    Weighted Avg. 0.898 0.118 0.9 0.898 0.897 0.921

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    23/24

    VI-

    Time taken to build model: 11.72 seconds

    === Evaluation on test set ===

    === Summary ===

    Correctly Classified Instances 521 90.2946 %

    Incorrectly Classified Instances 56 9.7054 %

    Kappa statistic 0.8004

    Mean absolute error 0.1475

    Root mean squared error 0.2924

    Relative absolute error 29.5687 %

    Root relative squared error 58.6281 %

    Total Number of Instances 577

    === Detailed Accuracy By Class ===

    TP Rate FP Rate Precision Recall F-Measure ROC Area Class

    0.951 0.159 0.886 0.951 0.917 0.925 0

    0.841 0.049 0.93 0.841 0.883 0.925 1

    Weighted Avg. 0.903 0.111 0.905 0.903 0.902 0.925

    === Confusion Matrix ===

    a b

  • 8/10/2019 Trabalho Weka

    24/24