Quiz: Iterators and Iterables in Python: Run Efficient Iterations

Interactive Quiz ⋅ 20 QuestionsBy Martin Breuss Share In this quiz, you’ll test your understanding of Python’s Iterators and Iterables. By working through this quiz, you’ll revisit how to create and work with iterators and iterables, understand the differences between them, and review how to use generator functions and the yield statement. The quiz contains 20 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a […]

Read more

7 LLM Projects to Boost Your Machine Learning Portfolio

7 LLM Projects to Boost Your Machine Learning PortfolioImage by Author | Created on Canva Large language models (LLMs) are super helpful in a variety of tasks. Building LLM-powered applications can seem quite daunting at first. But all you need are: the ability to code, preferably in Python or TypeScript and a few not-so-fun tasks or problems that you’d like to make simpler (I’m sure you have many!). To build LLM applications, you should be able to run and interact […]

Read more

7 Machine Learning Algorithms Every Data Scientist Should Know

7 Machine Learning Algorithms Every Data Scientist Should KnowImage by Author | Created on Canva As a data scientist, you should be proficient in SQL and Python. But it can be quite helpful to add machine learning to your toolbox, too. You may not always use machine learning as a data scientist. But some problems are better solved using machine learning algorithms instead of programming rule-based systems. This guide covers seven simple yet useful machine learning algorithms. We give a […]

Read more

Quiz: Python import: Advanced Techniques and Tips

Interactive Quiz ⋅ 5 QuestionsBy Martin Breuss Share In this quiz, you’ll test your understanding of Python’s import statement and related topics. By working through this quiz, you’ll revisit how to use modules in your scripts and import modules dynamically at runtime. The quiz contains 5 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck! « […]

Read more

Quiz: When to Use a List Comprehension in Python

Interactive Quiz ⋅ 8 QuestionsBy Martin Breuss Share In this quiz, you’ll test your understanding of List Comprehension in Python. By working through this quiz, you’ll revisit how to rewrite loops as list comprehensions, how to choose when to use list comprehensions, how you can use conditional logic in your comprehensions, and how to profile your code to resolve performance questions. The quiz contains 8 questions and there is no time limit. You’ll get 1 point for each correct answer. […]

Read more

Beyond multi-core parallelism: faster Mandelbrot with SIMD

What do you do when computation is too expensive? Recently I’ve had a brilliant business idea: Mandelbrot-as-a-Service! Instead of companies calculating their own fractals, I will do it for them, freshly calculated in the cloud, with no work on their part. And by using cloud computing, I will be able to scale to the no-doubt vast number of customers who will be paying for my ingenious new service. I have two goals: Speeding up results: The faster I can return […]

Read more

Industries in Focus: Machine Learning for Cybersecurity Threat Detection

Industries in Focus: Machine Learning for Cybersecurity Threat DetectionImage by Editor | Canva(Background designed by Freepik) Cybersecurity threats are becoming increasingly sophisticated and numerous. To address these challenges, the industry has turned to machine learning (ML) as a tool for detecting and responding to cyber threats. This article explores five key ML models that are making an impact in cybersecurity threat detection, examining their applications and effectiveness in protecting digital assets. Applications of Machine Learning in Cybersecurity Before examining specific […]

Read more

Exploring LightGBM: Leaf-Wise Growth with GBDT and GOSS

LightGBM is a highly efficient gradient boosting framework. It has gained traction for its speed and performance, particularly with large and complex datasets. Developed by Microsoft, this powerful algorithm is known for its unique ability to handle large volumes of data with significant ease compared to traditional methods. In this post, we will experiment with LightGBM framework on the Ames Housing dataset. In particular, we will shed some light on its versatile boosting strategies—Gradient Boosting Decision Tree (GBDT) and Gradient-based One-Side […]

Read more

Quiz: A Guide to Modern Python String Formatting Tools

Interactive Quiz ⋅ 10 QuestionsBy Leodanis Pozo Ramos Share Test your understanding of Python’s tools for string formatting, including f-strings and the .format() method. Take this quiz after reading our A Guide to Modern Python String Formatting Tools tutorial. The quiz contains 10 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck! « Browse All Python […]

Read more

A Guide to Modern Python String Formatting Tools

Watch Now This tutorial has a related video course created by the Real Python team. Watch it together with the written tutorial to deepen your understanding: Formatting Python Strings When working with strings in Python, you may need to interpolate values into your string and format these values to create new strings dynamically. In modern Python, you have f-strings and the .format() method to approach the tasks of interpolating and formatting strings. To get the most out of this tutorial, […]

Read more
1 14 15 16 17 18 914