Clean up data files, remove old example data
ClosedPublic

Authored by kqr on Jun 16 2018, 6:07 AM.

Details

Summary

We had to switch from CSV-with-semicolons-as-delimiters to
CSV-with-actual-commas-as-delimiters because Weka does not want to read the
former. I also manually recoded some of the data to UTF-8, so there may be some
weird characters in there still. I can still not figure out what encoding Excel
used when exporting the file...

Test Plan

Run the program, pick the menu alternatives. I get output similar to

CHOOSE METHOD WITH A NUMBER

  1. Train data
  2. Generate people
  3. Exit

2
Observation(id=01801307, count=1, Gender=Male)
Observation(id=01801307, count=1, Gender=Male)
Observation(id=01801307, count=1, Gender=Male)
Observation(id=01801307, count=1, Gender=Female)
Observation(id=01801307, count=1, Gender=Female)
Observation(id=01801307, count=1, Gender=Male)
Observation(id=01801307, count=1, Gender=Male)
Observation(id=01801307, count=1, Gender=Male)
Observation(id=01801307, count=1, Gender=Female)
Observation(id=01801307, count=1, Gender=Male)

CHOOSE METHOD WITH A NUMBER

  1. Train data
  2. Generate people
  3. Exit

1

Results

Correctly Classified Instances 40 100 %
Incorrectly Classified Instances 0 0 %
Kappa statistic 1
Mean absolute error 0.0358
Root mean squared error 0.0551
Relative absolute error 117.4501 %
Root relative squared error 153.8336 %
Total Number of Instances 40

Diff Detail

Repository
rMLVP voting-pred
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kqr created this revision.Jun 16 2018, 6:07 AM
skruttet accepted this revision.Jun 16 2018, 3:56 PM
This revision is now accepted and ready to land.Jun 16 2018, 3:56 PM
Closed by commit rMLVP06ffcd7a88cd: Clean up data files, remove old example data (authored by kqr, committed by Christoffer Stjernlöf <christoffer@loop54.com>). · Explain WhyJul 30 2019, 10:36 AM
This revision was automatically updated to reflect the committed changes.