Caixa Loterias Online
Find the lower cost/... to win
- Framework: jQuery
- CAIXA HTML load jQuery + developed DM.JS
- Devloped DM.js location: ai/src/resources/dataminig/data_mining.js
- Running tests & extract data:
-
Run (startup) a server
$ cd src/resources/ $ php -S localhost:5000
-
Open Browser at localhost:5000/(processed)lotofacil_draws.html
-
-
Generate venv (by default it initial project has it)
$ cd src $ virtualenv -p python3 venv
- 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
- Ativando o VENV (faça isso toda vez que for executar o projeto)
-
Install by requirements.txt
# MAC $ pip install -r requirements_mac.txt # WINDOWS $ pip install -r requirements_win.txt
-
Perform any installation (just an example bellow)
$ pip install tensorflow
-
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
- Install the extension plugin to jupyter
$ pip install jupyter_contrib_nbextensions
- Install some extension to the plugin
$ jupyter contrib nbextension install --user
- 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