/AIHomework

Homework assignments for AI classes at PJWSTK (NAI)

Primary LanguageC++

AI Homework

Homework assignments for the AI subject at PJWSTK (NAI)

K-Nearest Neighbour

20.03.18

  • K-Nearest Neighbour trained and tested on iris class data.
  • Used for detection of iris classes.

Perceptron

29.03.18

  • Implementation of a discrete, unidirectional perceptron.
  • Perceptron implementation:
    • discrete,
    • unidirectional.
  • Used for detection of iris classes.

One Layer Neural Network

10.04.18

  • Implementation of a single layer neural network.
  • Perceptron implementation:
    • continuous,
    • unidirectional,
    • sigmoidal activation function.
  • Test data provided for 4 languages using Wikipedia articles.
  • Includes parser for reading and structuring test data.
  • Used for naive detection of language by learning on letter frequencies.

K-Means

26.04.18

  • K-Means algorithm tested on iris class data.
  • Used for finding iris clusters.

Naive Bayes Classifier

10.05.18

  • Naive Bayes algorithm run on car class data.
  • Allows for inputting new examples.