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…

Tag: scikit learn

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

PythonGary Hutson07/09/20210

In this tutorial I will take you through how to: Read in data Perform feature engineering, dummy encoding and feature selection Splitting data Training an XGBoost classifier Pickling your model and data to be consumed in an evaluation script Evaluating your model with Confusion Matrices and Classification reports in Sci-kit Learn Working with the shap…

Continue Reading
Follow and Subscribe
Follow @StatsGary
Most recent musings!
  • Building a PyTorch binary classification multi-layer perceptron from the ground up 10/07/2023
  • Graph Data Modeling with Python 30/06/2023
  • Fundamental building blocks in Python – Sets, Lists, Dictionaries and Tuples 13/04/2022
  • Build a Transformers Game – using classes and object orientation concepts 13/04/2022
  • CRAN package development is addictive 24/03/2022
Recent Comments
  • Diverging Bar Charts – Plotting Variance with ggplot2 – NHS-R Community on Diverging Bar Charts – Plotting Variance with ggplot2
  • 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
[wp-rss-aggregator]
Advertising blurb
Copyright © 2023 Hutsons-Hacks. All Rights Reserved.
Boston Theme by FameThemes