Stable Diffusion Project: Reviving Old Photos

Photography has been around for more than a century. There are many old photos around, and probably your family has some, too. Limited by the camera and film of the time, you may have photos of low resolution, blurry, or with folds or scratches. Restoring these old photos and making them like new ones taken with today’s camera is a challenging task, but even you can do that with photo editing software such as Photoshop. In this post, you will […]

Read more

Python’s Built-in Functions: A Complete Exploration

Python has many built-in functions that you can use directly without importing anything. These functions cover a wide variety of common programming tasks that include performing math operations, working with built-in data types, processing iterables of data, handling input and output in your programs, working with scopes, and more. To get the most out of this tutorial, you’ll need to be familiar with Python programming, including topics like working with built-in data types, functions, classes, decorators, scopes, and the import […]

Read more

Stable Diffusion Project: Commercial Poster

Stable Diffusion has taken the AI art world by storm, empowering users to generate stunning and imaginative visuals with just a few text prompts. This opens exciting possibilities for creatives, including crafting impactful commercial posters. In this post, we’ll delve into using Stable Diffusion to design a compelling poster for a product. After finishing this post, you will learn: How to prepare a photo of a product for use in Stable Diffusion How to create an appealing commercial poster without […]

Read more

The Ultimate Beginner’s Guide to Docker

Image created by Editor using Midjourney Today’s digital landscape has never been so diverse. Every individual and company selects their preferred tools and operating systems, creating a diverse technological system. However, this diversity often leads to compatibility issues, making it hard to ensure application performance across different environments. This is where Docker plays a key role as an indispensable tool for application development and deployment. Docker enables us to package any application within a container, building all its dependencies and […]

Read more

Understanding the Python Mock Object Library

Python’s unittest.mock library is a tool that helps you create mock objects to simulate complex logic and unpredictable dependencies. This helps you write valuable tests that verify your application logic is correct, reliable, and efficient. You’ll begin by learning about what mocking is and how you can use it to improve your tests. What Is Mocking? A mock object substitutes and imitates a real object within a testing environment. Using mock objects is a versatile and powerful way to improve […]

Read more

Research Focus: Week of June 24, 2024

Welcome to Research Focus, a series of blog posts that highlights notable publications, events, code/datasets, new hires and other milestones from across the research community at Microsoft. NEW RESEARCH Towards Energy Efficient 5G vRAN Servers Virtualized radio access networks (vRANs), which run the cellular radio stack on commodity servers instead of specialized hardware, are increasingly used in modern cellular networks (e.g., 5G), owing to advantages such as a multi-vendor ecosystem, easier maintenance, and faster feature upgrades. In a recent  

Read more

Stable Diffusion Project: Creating Illustration

Many people write in their jobs. Not everyone is a novel writer; some write technical documentation, business plans, news articles, and even blog posts. In those writings, illustrations are not essential but often good to have. They are decorations, interpretations, or visual explanations of the text. However, you probably do not want to spend too much time or do not have the drawing skills to create the illustration. Stable Diffusion is here to help! In this post, you will see […]

Read more

Tips for Choosing the Right Machine Learning Model for Your Data

Image by Author | Midjourney & Canva Introduction Choosing the right machine learning model for your data is of major importance in any data science project. The model you select will have a significant impact on the insights you derive from your data, and ultimately determine the usefulness of a project. In this article, we aim to provide practical tips to help new practitioners make informed decisions when choosing machine learning models. 1. Understand Your Data Understanding the type and […]

Read more

5 Effective Ways to Handle Imbalanced Data in Machine Learning

Image by Author Introduction Here’s a something that new machine learning practitioners figure out almost immediately: not all datasets are created equal. It may now seem obvious to you, but had you considered this before undertaking machine learning projects on a real world dataset? As an example of a single class vastly outnumbering the rest, take for instance some rare disease, which only 1% of the population has. Would a predictive model that only ever predicts “no disease” still be […]

Read more

Build a GUI Calculator With PyQt and Python

Even though web and mobile applications appear to have taken over the software development market, there’s still demand for traditional graphical user interface (GUI) desktop applications. If you’re interested in building these kinds of applications in Python, then you’ll find a wide variety of libraries to choose from. They include Tkinter, wxPython, PyQt, PySide, and a few others. In this video course, you’ll learn the basics of building GUI desktop applications with Python and PyQt. In this video course, you’ll […]

Read more
1 45 46 47 48 49 928