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…

Hyperparameter tuning a Transformer with Optuna

PythonGary Hutson08/08/20220

Learn how to use Optuna with the transformers large language model library

Continue Reading
PythonGary Hutson05/08/20220

Build a PyTorch regression MLP from scratch

Shows how to build a MLP regression network from scratch with PyTorch.
PythonGary Hutson05/01/20230

Stable Diffusion model for generating images of Fjords

My family had the experience of going to the Norwegian Fjords in May 2022 and I took some great pictures on…
PythonGary Hutson23/12/20220

Stable Diffusion application with Streamlit

This combines my love of Deep Learning and Transformer frameworks, with the ability to generate images from textual prompts. First of…
R BlogsGary Hutson02/11/20220

Building a TidyModels classification model from scratch and deploying with Vetiver

The awesome TidyModels team have been working hard to populate the tidymodels package and make it even easier to get your…
PythonGary Hutson13/06/20220

I know dictionaries, but what is a DefaultDict?

The supporting repository and code file is: https://github.com/StatsGary/PyHacks-Tutorials/blob/main/28_defaultdict.py. This is aimed as a short article to explain why you would want…
PythonGary Hutson23/05/20221

Narly NamedTuples in Python

NamedTuples are an excellent way to make your Python code more useful and readable. In short a NamedTuple is an alternative to…
PythonGary Hutson19/05/20220

Automating and downloading Google Chrome images with Selenium

I love Nottingham Forest and have been trying to find a way to include them in one of my tutorials, as…
PythonGary Hutson17/05/20220

Working with multiple arguments in a Python function using args and kwargs

When I first started programming in Python this used to trip me up all the time. Hopefully through my pain I…
PythonGary Hutson03/05/20220

Building a PyTorch binary classification multi-layer perceptron from the ground up

This assumes you know how to programme in Python and know a little about n-dimensional arrays and how to work with…

Posts navigation

Older posts
Follow and Subscribe
Follow @StatsGary
Most recent musings!
  • Stable Diffusion model for generating images of Fjords 05/01/2023
  • Stable Diffusion application with Streamlit 23/12/2022
  • Building a TidyModels classification model from scratch and deploying with Vetiver 02/11/2022
  • Hyperparameter tuning a Transformer with Optuna 08/08/2022
  • Build a PyTorch regression MLP from scratch 05/08/2022
Recent Comments
  • goodyguts on Narly NamedTuples in Python
  • NHSDataDictionaRy Package Has Arrived On CRAN - AI Summary on NHSDataDictionaRy package has arrived on CRAN
  • Python Virtual Environments and package dependencies with a requirements.txt – Hutsons-hacks on Creating Virtual Environments for Python Projects in VS Code
  • Python Virtual Environments and package dependencies with a requirements.txt – Hutsons-hacks on Creating and replicating an Anaconda Environment from a YAML file
  • A Package Of Machine Learning Datasets Has Arrived For R – MLDataR - AI Summary on A package of Machine Learning datasets has arrived for R – MLDataR
Archives
Cool categories
RSS
  • Cricket Weighted Batting Average in R
    Source: R-Bloggers Published on 05-Feb-2023 By Part Time Analyst
  • Extending R with C++ and Fortran
    Source: R-Bloggers Published on 05-Feb-2023 By Rcpp Gallery
  • Data from the file drawer: Remembering case-sensitive and case-insensitive words
    Source: R-Bloggers Published on 04-Feb-2023 By R on Publishable Stuff
  • Probot: building a Mastodon bot
    Source: R-Bloggers Published on 04-Feb-2023 By quantixed
  • Better and enhanced method of estimating Mallow’s Cp
    Source: R-Bloggers Published on 04-Feb-2023 By R-Blog on Data modelling to develop ...
Advertising blurb
Copyright © 2022 Hutsons-Hacks. All Rights Reserved.
Boston Theme by FameThemes