Coder Social home page Coder Social logo

motapinto / google-hashcode-2018 Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 9.29 MB

Google Hashcode 2018 developed using different algorithms (Genetic, Hill Climbing, Simulated Annealing, Greedy)

Python 99.73% Shell 0.27%
genetic-algorithm hill-climbing-algorithm simulated-annealing-algorithm greedy-algorithm hashcode-2018 python google hashcode

google-hashcode-2018's Introduction

Hey ๐Ÿ‘‹, I'm Martim

Hi there, I'm Martim Pinto da Silva, a Deep Learning Engineer ๐Ÿš€ from Porto.

GIF

Personal Stuffs:

  • ๐ŸŒฑ Currently learning about Explainable AI, and Computer Vision;
  • ๐Ÿค” Interested in Recommender systems, Deep Learning, and Computer Vision;
  • ๐Ÿ’ผ Working on Autonomous Driving research.

๐Ÿ“ซ How to reach me

Martim's Email Martim's LinkdeIn Martim's Instagram

๐Ÿš€ Some tools I use


Top Langs

google-hashcode-2018's People

Contributors

kiko-g avatar motapinto avatar

Stargazers

 avatar

Watchers

 avatar  avatar

google-hashcode-2018's Issues

unable to run the code

getting this error

ase) PS C:\Users\regin\OneDrive\Desktop\google-hashcode-2018-master> cd src
(base) PS C:\Users\regin\OneDrive\Desktop\google-hashcode-2018-master\src> python3 main.py hill_climbing b_should_be_easy

HILL CLIMBING
Traceback (most recent call last):
File "C:\Users\regin\OneDrive\Desktop\google-hashcode-2018-master\src\main.py", line 77, in
run(hill_climbing)
File "C:\Users\regin\OneDrive\Desktop\google-hashcode-2018-master\src\main.py", line 20, in run
score = algorithm(sys.argv[2])
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\regin\OneDrive\Desktop\google-hashcode-2018-master\src\solvers\hill_climbing.py", line 29, in hill_climbing
dump_rides("../assets/output/" + filename + ".out", solution.cars)
File "C:\Users\regin\OneDrive\Desktop\google-hashcode-2018-master\src\solvers\files.py", line 17, in dump_rides
with open(file, 'w') as f:
^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '../assets/output/b_should_be_easy.out'
(base) PS C:\Users\regin\OneDrive\Desktop\google-hashcode-2018-master\src> python3 main.py greedy b_should_be_easy

GREEDY
Traceback (most recent call last):
File "C:\Users\regin\OneDrive\Desktop\google-hashcode-2018-master\src\main.py", line 86, in
run(greedy)
File "C:\Users\regin\OneDrive\Desktop\google-hashcode-2018-master\src\main.py", line 20, in run
score = algorithm(sys.argv[2])
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\regin\OneDrive\Desktop\google-hashcode-2018-master\src\solvers\greedy.py", line 28, in greedy
dump_rides("../assets/output/" + filename + ".out", cars)
File "C:\Users\regin\OneDrive\Desktop\google-hashcode-2018-master\src\solvers\files.py", line 17, in dump_rides
with open(file, 'w') as f:
^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '../assets/output/b_should_be_easy.out'

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.