R’tichoke
  • Home
  • R Installation Guide
  • Get Started
    • Installing Packages
    • Variables in R
    • Loops and Apply Functions
    • Indexing Arrays
    • Reading Data
    • Introduction to dplyr
    • Introduction to data.table
    • Base Graphics
    • ggplot2 Graphics
    • Parallel Computing in R
  • WebR Playground
  • Blog
  • About
  • R-Bloggers
Categories
All (17)
Analytics (2)
Bootstrapping (1)
Credit Risk Analytics (3)
Data Visualization (1)
Deep Learning (2)
ellmer (1)
Finance (1)
ggplot2 (1)
Introduction (1)
LLMs (1)
Machine Learning (3)
Model Evaluation (1)
Multi-Task Learning (1)
Neural Networks (1)
NLP (2)
Optimization (2)
Python (1)
quanteda (1)
Quarto (1)
R (17)
RAG (1)
ragnar (1)
reticulate (1)
Simulation (1)
Statistics (1)
Text Analytics (1)
tidymodels (1)
torch (2)
Visualization (2)
WebR (1)
XGBoost (1)

Machine Learning Frameworks in R

R
Machine Learning
R’s ecosystem offers a rich selection of machine learning frameworks, each with distinct design philosophies and strengths. This post is a side-by-side comparison of five ML…
Apr 12, 2026

Text Analytics in R: Dense embeddings and RAG pipeline with ragnar and ellmer

R
NLP
RAG
LLMs
ragnar
ellmer
This earlier post explored building a text analytics pipeline using quanteda. We created a Document Feature Matrix (DFM), weighted it with TF-IDF, and measured document…
Mar 15, 2026

Text Analytics in R: Using quanteda

R
Text Analytics
quanteda
NLP
In this post, let’s explore how to transform text data into meaningful insights using the quanteda package — a powerful and intuitive framework for text analysis.
Oct 7, 2025

Explore Neural Networks Interactively with Quarto Live!

R
Quarto
Neural Networks
WebR
Visualization
Quarto Live combines Quarto with WebR to enable interactive R code execution directly in the browser allowing for:
Jul 1, 2025

Multi-Task Learning with torch in R

R
Deep Learning
torch
Multi-Task Learning
Multi-task learning (MTL) is an approach where a single neural network model is trained to perform multiple related tasks simultaneously. This methodology can improve model…
May 11, 2025

Building a Simple Neural Network in R with torch

R
Deep Learning
torch
The torch package brings PyTorch to R. In this post, let’s build and train a simple neural network from scratch.
Dec 5, 2024

Assessing Credit Score Prediction Reliability Using Bootstrap Resampling

R
Credit Risk Analytics
Bootstrapping
Credit scoring models tend to perform well in the middle of the score distribution — but reliability drops at the extremes, where data thins out. In this post, let’s use…
Nov 15, 2024

Building Models in R with tidymodels

R
Machine Learning
tidymodels
The tidymodels framework provides a cohesive set of packages for modeling and machine learning in R, following tidyverse principles. In this post, let’s build a realistic…
Oct 12, 2024

Optimizing XGBoost Hyperparameters Using Bayesian Optimization in R

R
Analytics
Machine Learning
Hyperparameter tuning is computationally intensive and time-consuming. In this post, we’ll use Bayesian optimization to search for good XGBoost hyperparameters — a…
Sep 18, 2024

Implementing Particle Swarm Optimization from Scratch in R

R
Optimization
Visualization
Nature-inspired optimization algorithms can be surprisingly effective at navigating complex, high-dimensional search spaces. In this post, let’s build a Particle Swarm…
Jul 22, 2024

Developing Custom Charting Functions with ggplot2

R
Data Visualization
ggplot2
R has plenty of visualization options, but ggplot2 stands out for its flexibility, quality, and composability. In this post, let’s build reusable custom charting functions…
May 14, 2024

Generating Correlated Random Numbers in R Using Matrix Methods

R
Statistics
Simulation
Generating random data with a specific correlation structure is a common need in statistical simulation. In this post, let’s walk through how to do it in R using matrix…
Mar 19, 2024

Evaluating Binary Classification Models Using Gains Tables

R
Credit Risk Analytics
Model Evaluation
Gains tables (also known as KS tables) are a go-to tool for evaluating binary classification models in credit risk. In this post, let’s build one from scratch in R and…
Jan 28, 2024

Portfolio Optimization Using PSO

R
Finance
Optimization
Portfolio optimization represents a critical task in investment management, where the goal involves allocating capital across different assets to maximize returns while…
May 17, 2023

Introduction to R for Analytics

R
Analytics
Introduction
R is a powerful language built for data analysis and visualization. This post walks through practical examples of using R for real-world analytics tasks.
Mar 22, 2023

Monotonic Binning Using XGBoost

R
Credit Risk Analytics
XGBoost
This post focuses on how to implement monotonic binning, a method that groups variable values into bins where event rates demonstrate consistent monotonic behavior. This…
Jan 19, 2023

Getting Started with Python using R and Reticulate

R
Python
reticulate
Want to use Python’s powerful libraries without leaving R? The reticulate package gives you the best of both worlds - R’s elegant data handling and visualization with…
Jan 15, 2023
No matching items

2026 R’tichoke