Machine Learning Tutorials

Machine Learning provides a comprehensive learning path for artificial intelligence and predictive modeling. Our tutorials cover a wide range of ML algorithms and techniques, suitable for beginners and intermediate data scientists. Through interactive labs and real - world code examples, you'll gain practical experience in building and training models. Our ML playground allows you to test different algorithms and datasets.

How to use regex capture groups in Python

How to use regex capture groups in Python

Master Python regex capture groups with practical examples, learn advanced pattern matching techniques, and enhance your text processing skills effectively.
Python
How to resolve ValueError: too many values to unpack

How to resolve ValueError: too many values to unpack

Discover how to resolve the "ValueError: too many values to unpack" error in Python programming. Learn practical solutions to diagnose and fix this common issue.
Python
How to create inline functions in Python

How to create inline functions in Python

Learn to create efficient inline functions in Python using lambda expressions, explore advanced techniques, and improve your functional programming skills with concise code solutions.
Python
How to filter out non-alphanumeric characters from Python strings

How to filter out non-alphanumeric characters from Python strings

Learn how to effectively remove non-alphanumeric characters from Python strings, enabling you to clean and process text data efficiently in your Python projects.
Python
Cracking Website Passwords Using Python

Cracking Website Passwords Using Python

In this lab, you'll learn how to crack website passwords using Python. You'll explore a target website, create a password dictionary, write a password cracking script, and run the script. Finally, you'll learn how to improve password security.
PythonLinux
How to replace multiple whitespaces in a Python string

How to replace multiple whitespaces in a Python string

Learn how to efficiently replace multiple whitespaces in a Python string using various techniques. Discover practical examples and use cases for this common programming task.
Python
How to convert a Python list to a set while preserving the original order

How to convert a Python list to a set while preserving the original order

Discover how to efficiently convert a Python list to a set while maintaining the original order of the elements. Learn the techniques and best practices for this common data transformation task.
Python
How to align output in Python printing

How to align output in Python printing

Learn advanced Python text alignment techniques to format console output, improve readability, and create professional-looking print statements with various alignment methods.
Python
How to determine grade based on marks using Python if-elif-else

How to determine grade based on marks using Python if-elif-else

Discover how to use Python's if-elif-else statements to create a grading system based on student marks. Learn practical applications and examples for this useful programming technique.
Python
How to efficiently group a Python list based on a given function

How to efficiently group a Python list based on a given function

Learn how to efficiently group a Python list based on a given function. Discover built-in methods and advanced techniques to streamline your list grouping process.
Python
How to resolve 'NameError: name 'json' is not defined' in Python

How to resolve 'NameError: name 'json' is not defined' in Python

Discover how to fix the 'NameError: name 'json' is not defined' issue in your Python code. Learn the proper way to import the JSON module and avoid this common error.
Python
How to use __init__, __str__, and __repr__ methods in Python

How to use __init__, __str__, and __repr__ methods in Python

Explore the power of Python's special methods __init__, __str__, and __repr__ to create more expressive and customized objects. Learn how to leverage these techniques in your Python programming.
Python
Reverse Shell to Control Multiple Targets

Reverse Shell to Control Multiple Targets

This lab guides you through creating a Python reverse shell for pentesting and secure remote system management.
Python
How to format the hexadecimal output in Python

How to format the hexadecimal output in Python

Explore how to effectively format hexadecimal output in your Python programs. Learn the basics of hexadecimal and discover practical applications for this powerful numerical representation.
Python
How to wait for a Python thread to finish

How to wait for a Python thread to finish

Learn how to properly wait for Python threads to complete their tasks, ensuring your program's synchronization and reliability. Discover practical techniques for efficient thread handling.
Python
Building a Port Scanner with Python

Building a Port Scanner with Python

In this lab, we will develop a server port scanner using Python to detect open ports on a target server. This tool is crucial for both system administrators, who use it to verify security policies, and potential attackers, who use it to identify operational network services on a host. Our journey will cover the essential aspects of port scanning, including its methodology and implications. We'll delve into creating a simple yet effective port scanner leveraging Python's capabilities, focusing on a multi-threaded approach to enhance efficiency and performance.
Python
How to use a lambda function for custom sorting in Python

How to use a lambda function for custom sorting in Python

Discover how to leverage lambda functions for custom sorting in Python, enabling you to sort data based on complex criteria. Explore practical applications and enhance your Python programming skills.
Python
How to resolve import errors in Python

How to resolve import errors in Python

Explore effective techniques to troubleshoot and resolve common import errors in your Python projects, ensuring smooth code execution and improved productivity.
Python
  • Prev
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • ...
  • 223
  • Next