Skip to content

Application to proposing movies with fuzzy logic and OMDB API.

License

Notifications You must be signed in to change notification settings

Mikbac/Movie-selector

Repository files navigation

example workflow

Language grade: Java Total alerts

GitHub

Table of contents

Fuzzy logic

Question rating:

ex1

Movies rating:

ex1

Configuration

  • Set API key (omdb.api.key) in:

    ./src/main/resources/config/application.properties

  • Set path to the fuzzy logic controller (fuzzy.logic.controller.path) in:

    ./src/main/resources/config/application.properties

  • Personalize your questions in:

    ./src/main/resources/import.sql

    Parameters:

    Name Meaning
    description Description of the question.
    base_movie_variable Described value from IMDB (one of: RUN_TIME, RELEASED, TOTAL_SEASONS, IMDB_VOTES, METASCORE, QUANTITY_LANGUAGES, QUANTITY_COUNTRIES).
    variable_name Name in the fuzzy logic controller.
    start_variable Beginning of range for variable.
    end_variable End of range for variable.
    good_value_range User response range (+/- good_value_range).
  • Personalize movie list:

    ./src/main/resources/import.sql

Installing

  1. Set API key (details above).
  2. Build and run the application:
mvn install
cd target  
java -jar movieSelector-1.0-SNAPSHOT.jar

or

docker build --tag mikbac/movie_selector:1.0 -f Dockerfile .
docker container run -p 8080:8080 --ip 0.0.0.0 --name movie_selector mikbac/movie_selector:1.0
  1. Open the browser and hit http://localhost:8080/.

Example

ex1

Built with

About

Application to proposing movies with fuzzy logic and OMDB API.

Topics

Resources

License

Stars

Watchers

Forks

Languages