Skip to content

A study on how to improve preference learning algorithm and make them 'argue' their decisions.

License

Notifications You must be signed in to change notification settings

maxine-red/alex_study

Repository files navigation

Alex: Proof of concept for preference learning algorithms

Alex

Alex head by the very talented Ulvra

Description

Alex is a test program, to research ways of preference learning algorithms to communicate with their developers.

The code is always cleaned up with rubocop, but can be messy at some times, as idea flow is priotized over immediate code quality.

Currently, there is a method tested, that determines tags, that are most influential, for a decision and highlights those.

Installation

Download this gem or clone it into a directory to use.

A PostgreSQL server must be setup and a database called 'alex' needs to be present.

Please then execute $ psql -f sql/alex.sql alex to populate the database.

The needed SQL file can be downloaded under https://mootech.eu/sql/alex.sql.

You can reset everything by simply running the above command again. It also contains a lot of data, so execution might take some time.

Examples

Required that you're in the project's root directory:

$ bin/alex train

Will train the network, it is pre-trained already.

$ bin/alex show

Shows a post, Alex thinks the user will like, and gives additional information on why something was chosen.

$ bin/alex voteup [post id] [post_id] ... $ bin/alex votedown [post id] [post_id] ...

Add another rating to Alex's list of ratings. This is used for training/learning. $ bin/alex interactive

Spawns a pseudo shell where IDs can be specified and analyzed.

Donations

Patreon KoFi

Social Media

Follow me on Twitter, if you're brave enough.

Twitter Follow

License

GPLv3

Copyright 2018 ©️ Maxine Michalski

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

A study on how to improve preference learning algorithm and make them 'argue' their decisions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages