Python Code Tutorials


articles/dimensionality-reduction-using-feature-extraction-sklearn.jpg
Dimensionality Reduction: Feature Extraction using Scikit-learn in Python

Learn how to perform different dimensionality reduction using feature extraction methods such as PCA, KernelPCA, Truncated SVD, and more using Scikit-learn library in Python.

articles/make-a-simple-math-quiz-game.jpg
How to Make a Simple Math Quiz Game in Python

Learn how to make a simple math quiz game in Python utilizing the PyInputPlus module to verify the user input.

articles/dropout-regularization-in-pytorch-python.jpg
Dropout Regularization using PyTorch in Python

Learn the importance of dropout regularization and how to apply it in PyTorch Deep learning framework in Python.

articles/named-entity-recognition-using-transformers-and-spacy.jpg
Named Entity Recognition using Transformers and Spacy in Python

Learn how you can perform named entity recognition using HuggingFace Transformers and spaCy libraries in Python.

articles/logistic-regression-in-pytorch.jpg
Logistic Regression using PyTorch in Python

Learn how to perform logistic regression algorithm using the PyTorch deep learning framework on a customer churn example dataset in Python.

articles/crud_bookshop.jpg
How to Build a CRUD App with Flask and SQLAlchemy in Python

Learn how to create a CRUD application as a RESTful API using Flask and SQLAlchemy, making a Bookshop web application as a demonstration in Python.

articles/handling-imbalance-dataset-with-customer-churn-data.jpg
Handling Imbalanced Datasets: A Case Study with Customer Churn

Learn how to handle one of the main data science common problems, which are imbalanced datasets, how to deal with them using SMOTE, tweaking class weights, and resampling in Python.

articles/dhcp-listener.jpg
How to Make a DHCP Listener using Scapy in Python

Learn how you can make a DHCP listener by sniffing DHCP packets in the network using the Scapy library in Python.

articles/recommender-systems-using-association-rules-in-python.jpg
Recommender Systems using Association Rules Mining in Python

Build a recommender system for market basket analysis With association rule mining with the Online Retail dataset in Python.

articles/customer-churn-prediction-in-python.jpg
Customer Churn Prediction: A Complete Guide in Python

Learn how to perform data analysis and make predictive models to predict customer churn effectively in Python using sklearn, seaborn and more.

articles/convert-pandas-dataframe-to-html-in-python.jpg
How to Convert Pandas Dataframes to HTML Tables in Python

Learn how you can make interactive HTML tables with pagination, sorting and searching just from a pandas dataframe using pandas and jQuery data tables in Python.

articles/credit-card-fraud-detection-in-python.jpg
Credit Card Fraud Detection in Python

Learn how to build a model that is able to detect fraudulent credit card transactions with high accuracy, recall and F1 score using Scikit-learn in Python.

articles/how-to-inject-code-to-arp-spoofed-targets-in-python.jpg
How to Inject Code into HTTP Responses in the Network in Python

Learn how you can inject Javascript, HTML or CSS to HTTP response packets in a spoofed network using Scapy and NetfilterQueue in Python.

articles/fake-news-detection-using-transformers-in-python.jpg
Fake News Detection in Python

Exploring the fake news dataset, performing data analysis such as word clouds and ngrams, and fine-tuning BERT transformer to build a fake news detector in Python using transformers library.

articles/making-a-mac-address-changer-in-python_compressed.jpg
How to Make a MAC Address Changer in Python

Learn how you to make a MAC address changer in Windows and Linux using the subprocess module in Python.

articles/extracting-pytrends-data-in-python.jpg
How to Extract Google Trends Data in Python

Learn how you can extract Google Trends Data such as interest by region, suggested searches, and more using pytrends unofficial library in Python.