Giter Club home page Giter Club logo

machine-learning-vtu's Introduction

FIND-S ALGORITHM

Developer :Praahas Amin
Contact:[email protected]
Contact:[email protected]
License: GPL
Maintainer: Praahas Amin
Credits: Tom M.Mitchell

Machine-Learning-Lab-VTU

Python Codes for the machine learning lab course of vtu 7th semester

DESCRIPTION

This algorithm is the first program in the Machine Learning Laboratory Course 15CSL76 under VTU. The theory behind the algorithm is based on the description given by Tom M. Mitchell in his book titled "Machine Learning" The algorithm used to find a Maximally Specific Hypothesis. We start off with a Most Specific Hypothesis and based on the Training Examples, we end up with a Maximally Specific Hypothesis for the Target Concept. The description for teh algorithm is given below.

Algorithm:

Initialize h to the most specific hypothesis in H
For each positive training instance x
      For each attribute constraint a in h
            If the constraint a is satisfied by x
                  Then do nothing
            Else
                  Replace a in h by the next more general constraint that is satisfied by x
Output hypothesis h

INSTALLATION

Ensure that Python 3 is installed. The .csv file to be used with the python code should be located in the same folder as the python code. According to the code, the csv file should be named enjoysport.csv. That may be changed by the developer and appropriate changes should be done in the python code. Pandas must be installed. This is because in the python code, Pandas is used to open and read the data from the .csv file.

USAGE

Once python is installed and has been added to path, then python can be directly invoked from the command line interface. (Users may also use Spyder,IDLE or any other IDE). Type "python finds.py" (without quotes"") this should execute the code. and the output will be displayed on the screen. The output will show the Table, Hypotheses corresponding to Positive Training Examples, Hypotheses corresponding to Negative Training Examples and the Maximally Specific Hypothesis for teh Target Concept.

CREDITS

I am grateful to the author of "Machine Learning",Professor Tom M. Mitchell who has given a really simple explanation for the algorithm in his book which is the Text book for the Course.

machine-learning-vtu's People

Contributors

praahas avatar ggrao1 avatar

Stargazers

Charmi avatar

Watchers

James Cloos 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.