Advanced Deep Learning with TensorFlow 2 and Keras

dvanced-Deep-Learning-with-Keras This is the code repository for Advanced Deep Learning with TensoFlow 2 and Keras, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish. Please note that the code examples have been updated to support TensorFlow 2.0 Keras API only. About the Book Advanced Deep Learning with TensorFlow 2 and Keras, Second Edition is a completely updated edition of the bestselling guide to the advanced deep learning techniques available […]

Read more

Deep Learning with PyTorch Step-by-Step: A Beginner’s Guide

Deep Learning with PyTorch Step-by-Step This is the official repository of my book “Deep Learning with PyTorch Step-by-Step“. Here you will find one Jupyter notebook for every chapter in the book. Each notebook contains all the code shown in its corresponding chapter, and you should be able torun its cells in sequence to get the same outputs as shown in the book. I strongly believe that being able to reproduce the results brings confidence to the reader. There are three […]

Read more

Creates clean and beautiful plots that work on light and dark backgrounds

dufte This package creates clean and beautiful plots that work on light and dark backgrounds. Inspired by the work of Edward Tufte. To use, simply select the dufte style: import dufte import matplotlib.pyplot as plt # global setting: plt.style.use(dufte.style) # with a context manager: with plt.style.context(dufte.style_bar): # … pass Check out dufte.legend(), dufte.ylabel(), and dufte.show_bar_values() for more duftiness. Comparison with default Matplotlib See here for how to create the below plots. matplotlib dufte with dufte.legend() matplotlib dufte dufte with dufte.show_bar_values() […]

Read more

A Python parser that takes the content of a text file and then reads into variables

Text-File-Parser A Python parser that takes the content of a text file and then reads into variables. Input.text File 1. What is your ***? 1. 18 – 34 2. 35- 44 3. 45- 54 4. 55-64 5. Over 65 6. Don’t know 2. What *** do you live in? 1. Ontario 2. Quebec 3. Manitoba 4. Alberta 5. Other Given a plain text file as above, this Python script reads all the questions and their numbers, storing them into two […]

Read more

A SAML2 SPID/CIE Service Provider validation tool

spid-sp-test spid-sp-test is a SAML2 SPID/CIE Service Provider validation tool that can be executed from the command line. This tool was born by separating the test library already present in spid-saml-check. Features spid-sp-test can: test a SAML2 SPID/CIE Metadata file or http url test a SAML2 SPID/CIE AuthnRequest file or or http url test ACS behaviour, how a SP replies to a SAML2 Response dump the responses sent to an ACS and the HTML of the SP response handle Attributes […]

Read more

Using Selenium to Webscrape Data of Top Tech YouTubers

webscrape_youtube Web scraping was performed on the Top 10 Tech Channels on Youtube using Selenium (an automated browser (driver) controlled using python, which is often used in web scraping and web testing). Web scrapped Youtube channels were were determined using a Top 10 Tech Youtubers list from blog.bit.ai. Scraping included: General data for each channel ex.join date, name, no. of subscribers Data from most popular videos per channel Data specific to each video. ex. post date, no. of upvotes, no. […]

Read more

A tiny tool using script for schema to schedule one day

Schemdule Schemdule is a tiny tool using script for schema to schedule one day and remind you to do something during a day. Usage $ pip install schemdule Write a Schema It’s a pure python script, so you can use any python statement in it. Schemdule provide at and cycle functions for registering events. # time_str can be {hh:mm} or {hh:mm:ss} def at(time_str: str, message: str): # register an event at time with message … def cycle(start_str: str, end_str: str, […]

Read more

Async API for controlling Hue Lights

Hue API Async API for controlling Hue Lights Installation This is an async client to interact with the Hue Bridge API. The minimum Python version required to run this is 3.8 Install the package using pip: pip install hue-api Usage Follow this link to create a Hue API user if not already known (API reference) Using the CLI hue –help # Get the version of hue-api installed hue version # To find your Hue Bridge IP address go to discovery.meethue.com, […]

Read more

Turn based roguelike in python

pyTB Turn based roguelike in python Documentation can be found here: http://mcgillij.github.io/pyTB/index.html Screenshot Arrow keys will move the view port around. Shift + arrow keys will move the view port around quicker. Ctrl + Up / Down will move up and down the Z layers. 1,2,3,4 will auto select / center onto the player with that ID. Space will advance the turn. F11 will fullscreen to the resolution specified in game.conf Clicking on a unit will select it and display […]

Read more
1 560 561 562 563 564 939