Giter Club home page Giter Club logo

artificial_intelligence_and_machine_learning's Introduction

Artificial Intelligence and Machine Learning

This repository contains code for implementing various AI and ML algorithms along with the required datasets. A brief description is given below:-

Gaussian_Naive_Bayes.py :

Implementation of Bayesian Learning for classification of spam and non-spam emails using UCI's Spambase database (see the spambase.data.csv). To execute the code save the .csv file and the .py file in your current directory and run it with python. Make sure your python has Numpy and Sklearn packages installed.

SVM_Feature_Selection_SkLearn.py :

A short program to study the effects of random and weighted feature selection on the accuracy of SVM. Training and testing performed on UCI's Spambase database (see the spambase.data.csv) using Scikit Learn Library functions. To execute the code save the .csv file and the .py file in your current directory and run it with python. Make sure your python has Numpy and Sklearn packages installed.

Neural_Network.py :

Implementation of Neural Network from the scratch for handwritten digit recognition. The database used is mnist database which is provided in .csv format in mnist_train_&_test.zip. The program experiments with varying number of hidden units, varying momentum values, and variations in the size of training set to observe changes in the network performance. To execute the code save both the .csv files and the .py file in your current directory and run it with python. Make sure your python has Numpy and Sklearn packages installed.

Perceptron_Learning.py :

Implementation of Perceptron Learning Algorithm from the scratch for handwritten digit recognition. The database used is mnist database which is provided in .csv format in mnist_train_&_test.zip. The program experiments with different sets of initial random weights and varying learning rates to observe the changes in the network performance. To execute the code save both the .csv files and the .py file in your current directory and run it with python. Make sure your python has Numpy and Sklearn packages installed.

Genetic_Algorithm_TSP.lisp :

Implementation of Genetic Algorithm to find a near-optimum solution for the Travelling Salesman Problem. A sample map (Genetic_Algorithm_TSP_map) is provided which can be used with the code. To execute the code save the .lisp file and the map in your current directory and run it with clisp. Enter the name of the input file when prompted by the program. If you use an input file other than the one given here, please make sure it has the following format: n (number of cities) \n 1 x1 y1 (city number and coordinates) \n 2 x2 y2 \n ......... n xn yn \n source (start city number)

Tower_of_Hanoi_Iterative.lisp / Tower_of_Hanoi_Recursive.lisp :

Solves the Tower of Hanoi puzzle in iterative and recursive manner respectively using State-Space Search. Execute the code with clisp, enter the desired height of the tower when prompted by the program.

artificial_intelligence_and_machine_learning's People

Contributors

nandini-k avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.