Code Monkey home page Code Monkey logo

lotobot's Introduction

LotoBot

Caixa Loterias Online

Goals

Find the lower cost/... to win

Data Mining (JavaScript)

  1. Framework: jQuery
  2. CAIXA HTML load jQuery + developed DM.JS
  3. Devloped DM.js location: ai/src/resources/dataminig/data_mining.js
  4. Running tests & extract data:
    1. Run (startup) a server

          $ cd src/resources/
          $ php -S localhost:5000
    2. Open Browser at localhost:5000/(processed)lotofacil_draws.html

Artificial Intelligence & Statistics (Python)

Virtual Env

  1. Generate venv (by default it initial project has it)

        $ cd src
        $ virtualenv -p python3 venv
    1. Ativando o VENV (faça isso toda vez que for executar o projeto)
          # MacOS
          $ source venv/bin/activate
      
          # Windows (Gitbash)
          $ /c/Projects/LotoBot/venv/Scripts/activate.bat
          # Windows (Prompt)
          > cd C:\Projects\LotoBot
          > venv\Scripts\activate.bat
  2. Install by requirements.txt

        # MAC
        $ pip install -r requirements_mac.txt
        # WINDOWS
        $ pip install -r requirements_win.txt   
  3. Perform any installation (just an example bellow)

        $ pip install tensorflow
  4. Freeze requirements

      # Todos Sistemas Operacionais
      $ pip install jupyter notebook
      $ pip freeze > requirements.txt
    
      # MAC
      $ pip freeze > requirements_mac.txt
      # WINDOWS
      $ pip freeze > requirements_win.txt

Jupyter Extensions

  1. Install the extension plugin to jupyter
        $ pip install jupyter_contrib_nbextensions
  2. Install some extension to the plugin
        $ jupyter contrib nbextension install --user
  3. IF ERROR (before do it, check if your env is activate):
    	$ jupyter serverextension disable nbextensions
    	$ jupyter serverextension disable nbextensions --user
    	$ sudo jupyter serverextension disable nbextensions --sys-prefix

lotobot's People

Contributors

tongarcia avatar

Stargazers

 avatar

Watchers

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