Techno Blender
Digitally Yours.
Browsing Tag

medium

Building a Medium Stats Tracker With Streamlit | by Andy McDonald | Feb, 2023

Using the Python Streamlit Library to Track and Monitor Medium StatisticsPhoto by Markus Winkler on UnsplashI have been a writer on Medium for a while and recently started tracking my statistics using Excel. But, more recently, I have been thinking of building an app using Streamlit to provide a better experience. So I thought why not give it a go and write an article as I build it?Within this article, we are going to go through the process of building a simple Streamlit dashboard and provide a way for the end user to…

A Simple Way to Speed Up Your Python Code  | by Mike Clayton | Medium

OptimisationUp to 15 times faster just by updating a libraryImage by Gerd Altmann from PixabayA lot of time and money is spent trying to optimise code so that it can be as fast and efficient as possible, and within the field of data science this is becoming even more important due to the vast datasets that are now required to be processed.A simple, and often overlooked, way of achieving code optimisation is just to make sure that your language of choice, and associated libraries, are as up to date as they can reasonably…

NumPy Broadcasting | by Pan Cretan | Medium

Definitions, rules and examplesPhoto by Jean-Guy Nakars on UnsplashNumPy offers fast calculations via vectorisation that avoids the use of slow Python loops. Vectorisation is also available when using binary ufuncs, such as addition or multiplication, with the added benefit that arrays do not need to have the same shape. Operations with arrays of different shape is known as broadcasting and can be particularly confusing, especially with multidimensional arrays, or when both arrays need to be stretched.There are many…

Hideo Kojima Has Said One Of His Next Games Is “Almost Like A New Medium”

Metal Gear Solid and Death Stranding creator Hideo Kojima has teased one of his upcoming games by calling it almost "a new medium."In a recent interview with The Guardian, Kojima touched on one of his upcoming titles, where he explained that it's something he's wanted to make for years, but the technology wasn't up to scratch until now. "It's almost like a new medium," said Kojima. "If this succeeds, it will turn things around--not just in the game industry, but in the movie industry as well."…

Split Jupyter Notebooks into Separate Parts | by Dhia Hmila | Medium

Is Your Notebook Too Large?Written by: Amal Hasni & Dhia HmilaAI-Generated with Stable DiffusionIPython Notebooks are really useful if you want to test a new idea in a quick and dirty way or to explore Data for the first time. Either way, Notebooks have a tendency to quickly get large and bulky and usually require cleaning and refactoring when you’re done exploring at least if you want to share them with your manager, coworker, or future self.One operation that is surprisingly common is to split the notebook into…

PS Plus Extra, Deluxe games for October 2022 revealed: GTA Vice City Definitive Edition, Assassin’s Creed Odyssey, The Medium, more

Your PlayStation Plus Game Catalog lineup for October: ➕ Grand Theft Auto: Vice City – The Definitive Edition➕ Dragon Quest XI S: Echoes of an Elusive Age➕ Assassin’s Creed Odyssey… and many more. The full list: https://t.co/wcIO6E6rEe pic.twitter.com/WNu4xCh2mq— PlayStation (@PlayStation) October 12, 2022PS Plus Extra, Deluxe games for October 2022PS Plus Extra and Deluxe subscribers will get access to several new games on October 18:Grand Theft Auto: Vice City – The Definitive Edition (PS5, PS4)Dragon Quest XI S: Echoes…

CUDA by Numba Examples Part 1 | by Carlos Costa | Medium

Follow this series to learn about CUDA programming from scratch with PythonGPUs (graphics processing units), as the name implies, were originally developed for computer graphics. Since then, they have become ubiquitous in almost every area that requires high computational throughput. This progress has been enabled by the development of GPGPU (general purpose GPU) interfaces, which allow us to program GPUs for general-purpose computing. The most common of these interfaces is CUDA, followed by OpenCL and most recently,…

How Docker runs machine learning on NVIDIA GPUs, AWS Inferentia and other AI accelerators | by Shashank Prasanna | Medium

Learn about how Docker simplifies access to NVIDIA GPUs, AWS Inferentia and scaling ML containers on Kubernetesillustration by authorIf you told me a few years ago that data scientists would be using Docker containers in their day to day work, I wouldn’t have believed you. As a member of the broader machine learning (ML) community I always considered Docker, Kubernetes, Swarm (remember that?) exotic infrastructure tools for IT/Ops experts. Today it’s a different story, rarely a day goes by when I don’t use a Docker…

Equivalents Between Pandas and Pyspark | by Amal Hasni | Medium

Before diving into the equivalents, we first need to set the floor for later. It goes without saying that the first step is to import the needed libraries:import pandas as pdimport pyspark.sql.functions as FThe entry point into PySpark functionalities is the SparkSession class. Through the SparkSession instance, you can create dataframes, apply all kinds of transformations, read and write files, etc … To define a SparkSession you can use the following :from pyspark.sql import SparkSessionspark =…

Harbinger EV startup medium trucks NAIAS 2022

Harbinger EV truckJack Schroeder | HarbingerA new Los Angeles-based electric vehicle startup founded by veterans of Canoo and QuantumScape said Wednesday it's preparing to shake up the medium-duty truck market with a ready-to-build electric truck platform coming next year.The company, called Harbinger, has developed two EV platforms it says are optimized for medium-duty trucks such as delivery vans. The platforms use motors and other technology developed in-house specifically to meet the needs of a market segment where…