Giter Site home page Giter Site logo

as2d3 / artificial-intelligence-lab Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 5.0 16.41 MB

For all the examples, test programs and assignments

License: MIT License

Python 28.14% Java 2.49% Prolog 0.16% Jupyter Notebook 69.22%
artificial-intelligence neural-network a-star em-algorithm fuzzy-logic

artificial-intelligence-lab's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

artificial-intelligence-lab's Issues

Modular structure needed

The various methods of the A-star are needed to be written in a modular fashion as it's cumbersome to manage or introduce a change if required in future. Also, it reduce the code redundancy and make the code more readable

Using optimized Manhattan heuristic calculator

This issue is related to few of the recent commits, namely: e821612, ba8fc03 and a60d6fe.

These commits were made to add a more intuitive Manhattan distance calculator which runs in 34 iterations which is almost 10 times slower than the previous Manhattan distance calculator. Also, I don't think that the previous functions were a lot less intuitive. They were intuitive enough if run through some examples first.

Another problem is that new Manhattan distance calculator calculates the movement of blank tile as well which is wrong. If we include the movement of blank tile as well in the sum then h(n) may get bigger than h*(n), which we don't want.

Please revert back this to older commits.

Also, from next time, please refrain from editing the code before commenting on the commit about the problem faced. You can comment on the commits in this way: Example of a comment. Use commenting as much as possible for better code communication.

Please remove .vscode folder

How this can be done?
There may be many method, I am stating one of the methods.

  1. Put .vscode in .gitignore file. (I think this has already been done)
  2. Copy the .vscode folder to some other directory in your local host.
  3. Delete the .vscode folder from this repository in your local host.
  4. Execute following commands:
    1. git add .vscode
    2. git commit -m "Removing .vscode folder"
    3. git push origin master
  5. Now move the .vscode from the directory used in step 2.

Please let me know if you face any problems.

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.