Category: Blog
-
Gaussian Processes: An Intro to Nonparametric Regression
test Introduction In the world of machine learning, finding models that balance precision and flexibility is essential. Gaussian Processes (GPs) offer a captivating approach that thrives in the realm of nonparametric regression. With GPs, we venture beyond fixed assumptions, allowing uncertainty and adaptability to shine in our predictions. My goal here is to make this…
-
Sparse Matrices in Numba
Welcome file Introduction What is a sparse matrix? Creating a sparse matrix Adding and subtracting sparse matrices Multiplying sparse matrices Multiply matrix and vector The dot function Summing over a dimension Wall time comparison Using smn within a Numba compiled function Conclusion Introduction Numba is a widely-used just-in-time (JIT) compiler for Python that optimizes the…
-
Demystifying PyTorch DataSets: Building a Chinese Character Dataset
Introduction DataSets in PyTorch serve as a crucial bridge between raw data and the machine learning model during training. They encapsulate the logic needed to access, transform, and even augment the data, making the model’s training loop cleaner and more manageable. In this tutorial, we’ll shed light on what PyTorch DataSets are, how you can…