> For the complete documentation index, see [llms.txt](https://sharinghub-eng.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub-eng.kittenbot.hk/programming-platforms/kittenblock/kittenblock-functions-and-features/kittenbot-extensions/machine-learning/machine-learning-5.md).

# Machine Learning 5

Machine Learning 5 is a machine learning extension originated from ml5.js, its main goal is to make machine learning accessible to everone.

Based on Google’s TensorFlow platform, Machine Learning 5 offers reliable and robust features.

[ML5 Website](https://ml5js.org/)

### Functions Showcase

#### Image Classification

Images can be classified using ML5’s built-in model.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ml1.png)

#### Feature Extraction and Detection

Building your own model for image classification is also possible.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ml2.png)

#### SketchRNN

SketchRNN can draw pictures about a topic.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ml3.png)

#### poseNet

poseNet can estimate the posture of a human.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ml4.png)

#### Face Detection

ML5 can detect faces and its facial features.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ml34.png)

### Loading the extension for Machine Learning 5

Open up the extension page.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/add.png)

Select Machine Learning 5.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ml5.png)

New programming blocks will be added.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/ml6.png)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sharinghub-eng.kittenbot.hk/programming-platforms/kittenblock/kittenblock-functions-and-features/kittenbot-extensions/machine-learning/machine-learning-5.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
