Visual analysis and diagnostic tools to facilitate machine learning model selection

Yellowbrick Visual analysis and diagnostic tools to facilitate machine learning model selection. What is Yellowbrick? Yellowbrick is a suite of visual diagnostic tools called “Visualizers” that extend the scikit-learn API to allow human steering of the model selection process. In a nutshell, Yellowbrick combines scikit-learn with matplotlib in the best tradition of the scikit-learn documentation, but to produce visualizations for your machine learning workflow! For complete documentation on the Yellowbrick API, a gallery of available visualizers, the contributor’s guide, tutorials […]

Read more

Deep Reinforcement Learning for Smart Cities

smart-cities-drl Urban mobility simulations with Python3, RLlib (Deep Reinforcement Learning) and Mesa (Agent-based modeling) Documentation RLlib: https://docs.ray.io/en/master/rllib.html Mesa: https://mesa.readthedocs.io/en/stable/ Installation Clone repository and install dependencies. git clone [email protected]:eescriba/smart-cities-drl.git cd smart-cities-drl python3 -m venv venv source env/bin/activate pip install -r requirements.txt Training Train environments in Jupyter notebooks with RLlib. WasteNet SmartCab Simulations Run and visualize environments with Mesa. mesa runserver src/[env_name] GitHub https://github.com/eescriba/smart-cities-drl    

Read more

A microservice written in Python which detects nudity in images and videos

py-nudec py-nudec (python nude detector) is a microservice, which scans all the images and videos from the multipart/form-data request payload and sends a response with a boolean value which indicates if all content has passed the checks. This service uses NudeNet created by notAI-tech Configuration Initialize a virtual environment using virtualenv and start it # Install virtualenv pip3 install virtualenv # Create a virtual environment py -m virtualenv venv # Activate virtual environment source venv/scripts/activate Install all required packages pip3 […]

Read more

Neural Nets for Nudity Classification, Detection and selective censoring

NudeNet NudeNet: Neural Nets for Nudity Classification, Detection and selective censoring. Classifier classes: class name Description safe Image/Video is not sexually explicit unsafe Image/Video is sexually explicit Default Detector classes: class name Description EXPOSED_ANUS Exposed Anus; Any gender EXPOSED_ARMPITS Exposed Armpits; Any gender COVERED_BELLY Provocative, but covered Belly; Any gender EXPOSED_BELLY Exposed Belly; Any gender COVERED_BUTTOCKS Provocative, but covered Buttocks; Any gender EXPOSED_BUTTOCKS Exposed Buttocks; Any gender FACE_F Female Face FACE_M Male Face COVERED_FEET Covered Feet; Any gender EXPOSED_FEET Exposed […]

Read more

Pyinfra automates infrastructure super fast at massive scale

pyinfra pyinfra automates/provisions/manages/deploys infrastructure super fast at massive scale. It can be used for ad-hoc command execution, service deployment, configuration management and more. Core design features include: 🚀 Super fast execution over thousands of hosts with predictable performance. 🚨 Instant debugging with stdout & stderr output on error or as required (-v|-vv|-vvv). 📦 Extendable with any Python package as configured & written in standard Python. 💻 Agentless execution against SSH/Docker/subprocess/winrm hosts. ❗️ Two stage process that enables –dry runs before […]

Read more

Transform Pydantic Models into Streamlit UI components

Streamlit Pydantic Transform Pydantic Models into Streamlit UI components Streamlit-pydantic makes it easy to deal with Pydantic objects within Streamlit. It allows to directly generate Input as well as Output UI components based on a Pydantic models. Getting Started Installation Requirements: Python 3.6+. pip install streamlit-pydantic Usage Streamlit-pydantic provides the pydantic_input and pydantic_output methods to render input/output UI components from Pydantic models. Those methods can be easily embedded into any streamlit script. For example: Create a script (my_script.py) with a […]

Read more

A simple Discord Music Bot built with discord.py

Radio-Id Bot (Discord Voice Bot) Radio-id-bot (Radio Indonesia) is a simple Discord Music Bot built with discord.py to play a radio from some Indonesian radio-station Getting Started Invite this bot to your server with this link ![link](https://github.githubassets.com/images/icons/emoji/unicode/1f517.png =20×20) Commands Note: The default prefix is !radio !radio help List all available commands !radio ping Check bot discord latency !radio join Join to desired channel, if empty default to Author voice channel !radio listList all available radio stations !radio play Join/move to […]

Read more

An online examination system that offers automatic grading with python

College Graduation project , REST API backend examify-io is an online examination system that offers automatic grading , exam statistics , proctoring and programming tests , multiple user roles ( Examiner , Supervisor , Student ) Getting Started Installing Dependencies Python Follow instructions to install the latest version of python for your platform in the python docs Virtual Enviornment I recommend working within a virtual environment whenever using Python for projects. This keeps your dependencies for each project separate and […]

Read more

A toy compiler that can convert Python scripts to pickle bytecode

Pickora A small compiler that can convert Python scripts to pickle bytecode. Requirements No third-party modules are required. Usage usage: pickora.py [-h] [-d] [-r] [-o OUTPUT] file A toy compiler that can convert Python scripts to pickle bytecode. positional arguments: file the Python script to compile optional arguments: -h, –help show this help message and exit -d, –dis disassamble compiled pickle bytecode -r, –eval, –run run the pickle bytecode -o OUTPUT, –output OUTPUT Write compiled pickle to file For exmple, […]

Read more
1 554 555 556 557 558 912