Skip to content
  • Home
  • About Me
    • Cookie Policy (EU)
  • R Blogs
  • Python Blogs
  • My GitHub
  • NHS-R Community
Hutsons-hacks

Hutsons-hacks

HACKS, TIPS AND TRICKS IN R, Python and beyond…

Category: Python

Python content for tutorials and blogs

Parallelisation of Sci Kit Learning Python Models

PythonGary Hutson14/09/20210
Parallel scikit learn

Learn how to speed up your models in Scikit Learn with parallel processing.

Continue Reading

Creating and replicating an Anaconda Environment from a YAML file

PythonGary Hutson08/09/20211

I had the perfect environment for my setup and I want to potentially create another environment and add some additional packages, or I want to roll this environment out for training purposes. This is where the YAML file comes in and it is sweet. Head to Anaconda Navigator I load up my Anaconda Navigator and…

Continue Reading
PythonGary Hutson07/09/20210

Training XGBoost Model and Assessing Feature Importance using Shapley Values in Sci-kit Learn

In this tutorial I will take you through how to: Read in data Perform feature engineering, dummy encoding and feature selection…
PythonGary Hutson16/07/20210

PyHacks tutorials – the resource for learning Python is growing

I had an aim at the start of this year to make learning Python accessible to everyone, for free. Unfortunately, I…
PythonGary Hutson01/07/20210

Python (PyHacks) tutorials on lists, list comprehensions and Tuples has arrived

I have had many colleagues who work with the R programming language wanting something that is easily accessible for learning Python.…
PythonGary Hutson21/04/20210

Feature encoding methods – the Pandas way

This tutorial explores the various ways data can be encoded, using Pandas and Numpy, to prepare the data ready for a…
PythonGary Hutson13/04/20211

Creating Virtual Environments for Python Projects in VS Code

I had a similar problem recently, and then a request came through from a close friend (Chris Mainey) for the same…
PythonGary Hutson23/01/20210

Reticulate webinar – R and Python – a happy union

Wednesday (20th January 2021) myself and a colleagues Andreas kicked off the first webinar of 2021 for the NHS-R Community with…
PythonGary Hutson25/11/20200

LondonR Talks – Computer Vision Classification – Turning a Kaggle example into a clinical decision making tool

I had the pleasure of speaking at the last LondonR event of 2020. What a strange year it has been? But…
PythonGary Hutson05/10/20200

Python Pandas Pro – Session Three – Setting and Operations

The third in the series of Python Pandas tutorials. In this session we look at setting values, performing operations on data…

Posts navigation

Older posts
Newer posts
Follow and Subscribe
Follow @StatsGary
Most recent musings!
  • Creating doodles with HED detection and ControlNet 01/10/2023
  • Building a PyTorch binary classification multi-layer perceptron from the ground up 10/07/2023
  • Graph Data Modeling with Python 30/06/2023
  • Fine tune a Dreambooth model for image generation using Stable Diffusion with PyTorch 25/05/2023
  • Using ControlNet models to remodel my living room 09/03/2023
Recent Comments
  • Creating doodles with HED detection and ControlNet – Hutsons-hacks on Stable Diffusion application with Streamlit
  • Creating doodles with HED detection and ControlNet – Hutsons-hacks on Using ControlNet models to remodel my living room
  • Using ControlNet models to remodel my living room – Hutsons-hacks on Stable Diffusion application with Streamlit
  • danielgbaena on Hyperparameter tuning a Transformer with Optuna
  • Diverging Bar Charts – Plotting Variance with ggplot2 – NHS-R Community on Diverging Bar Charts – Plotting Variance with ggplot2
Archives
Cool categories
RSS

    No feed items found.

Advertising blurb
Copyright © 2025 Hutsons-Hacks. All Rights Reserved.
Boston Theme by FameThemes
Manage Cookie Consent
We use cookies to optimise our website and our service.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}