DEV Community

kohei matsunobu
kohei matsunobu

Posted on

I've Published My First Book: A Practical Introduction to Machine Learning (Japanese, Kindle)

Introduction

I am Kohei Matsunobe, a second-year Intelligence and Informatics student at ZEN University, an online university in Japan. I am aiming to become an AI engineer, and I publish technical articles on Qiita, Zenn, DEV, and note.

On November 29, 2026, I released the Kindle edition of my first book, 『機械学習の実践入門 ― 直感・数式・最小Python実装・実務の落とし穴』 (A Practical Introduction to Machine Learning: Intuition, Mathematics, Minimal Python Implementations, and Practical Pitfalls), on Amazon.co.jp. The book is written in Japanese. The Kindle price is ¥1,650, tax included.

You can find it here:

https://www.amazon.co.jp/dp/B0HR63C213

This article explains why I wrote the book, who it is for, and what is inside. The description of the contents stays within what the official Amazon product page states.

Why I wrote it

It has become easy to run a machine learning model by calling a library in a few lines of code. At the same time, I wanted to be able to explain, in my own words, why an algorithm behaves the way it does, and where it is easy to fail in practice. That is why I wrote this book. Each topic follows the same path: intuition, the meaning of the mathematics, a minimal Python implementation, and practical pitfalls.

What the book is about

The official Amazon product description introduces the book as follows (translated from the Japanese listing):

From "why it works that way" to "designs that do not fail in the field," in this one volume.

This is an era in which calling a library such as scikit-learn can get a machine learning model running in a few lines of code. But if you use these tools without understanding how the algorithms work or what they assume, it is easy to fall into practical traps: leakage from evaluation data, misleading accuracy on imbalanced data, and mistakes in feature scaling.

This book is a practical introduction that explains major machine learning algorithms in a consistent sequence: intuition → the meaning of the mathematics → a minimal Python implementation → practical pitfalls. It covers linear regression, regularization, logistic regression, evaluation metrics and information theory, SVMs, decision trees, ensemble learning and gradient boosting, clustering, PCA and t-SNE, and pipelines, error analysis, and hyperparameter optimization, using original data, figures, and exercises (with answers and intermediate steps) in a systematic way.

Contents

The book has 12 chapters and an appendix. The official product description lists the following structure:

  • Chapter 1. The big picture of machine learning and problem design
  • Chapter 2. Understanding data, preprocessing, and visualization in practice
  • Chapter 3. A starting point for regression: linear regression and least squares
  • Chapter 4. Generalization, overfitting, regularization, and cross-validation
  • Chapter 5. Classifying with probability: logistic regression and gradient descent
  • Chapter 6. Evaluation design for classification models, and foundations of information theory
  • Chapter 7. Maximizing the margin: support vector machines and kernel methods
  • Chapter 8. Learning rules as trees: decision trees (classification and regression trees)
  • Chapter 9. Bundling weak learners: ensemble learning and gradient boosting
  • Chapter 10. Reading data with no labels: clustering
  • Chapter 11. Compressing and visualizing high dimensions: PCA and t-SNE
  • Chapter 12. A practical ML workflow: pipelines, error analysis, and hyperparameter optimization
  • Appendix A. A quick mathematical reference for machine learning

Who it is for

According to the official product description, the book is aimed at:

  • University students, junior engineers, and beginners in data science who can already write basic Python
  • People who can run the libraries, but want the mathematics and the internal processing to really click

I would be glad if you picked it up.

The Kindle edition, and the print edition

The edition you can buy now is the Kindle edition, for ¥1,650 (tax included) on Amazon.co.jp. The listing shows a file size of 31.9 MB, and Amazon notes that the download may take longer because of the large file size.

A B5 paperback (¥2,420, tax included) is currently under review. A publication date has not been set. When it is released, it is expected to appear on the same Amazon product page.

Closing

This is my first book, and I am glad it is finally out. I hope it helps people who are starting to learn machine learning, and people who already use the libraries but want to reorganize what is going on inside.

If you are interested, you can find the Japanese Kindle edition here:

https://www.amazon.co.jp/dp/B0HR63C213

Top comments (0)