Skip to content
How was last night is an expert system written in Lisp that basically helps you decide whether you had a great time during an event or party or not
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
static
.gitattributes
LICENSE
README.md
core.lisp

README.md

How-was-last-night

How was last night is an expert system written in Lisp that basically helps you decide whether you had a great time during an event or party or not. The result is based on a combination of the user's answers to a certain number of questions.

The system uses an inference engine, itself relying on a process called forward-chaining. Basically, the engine collects data and uses a set of rules to extract more data, until it is able to make a final conclusion.

Although the subject seems quite fun, the implementation was not easy and we spent a fair amount of time on this. How was last night was developed as the final project of an Artifical intelligence class.

Usage

In order to be able to use the expert system, you need to open a Lisp prompt command and type the following:

(load "core.lisp") ;;; To load our core code

And then, to start the engine, type

(start)

Then you just need to answer the questions by typing the answer number and press Enter (beware that the questions are in French only).

You should get something like this

How was last night screenshot

telling me that I indeed had a great time the other night. Hurra!

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.