/harmonyOS-easyML

An easy machine learning tutorial app using HarmonyOS

Primary LanguageJavaScriptMIT LicenseMIT

harmonyOS-easyML

An easy machine learning tutorial app using HarmonyOS.

API version

HarmonyOS 3.0 API version 7

Usage

Open Huawei DevEco Studio 3.0 beta 2 or later versions.

cd entry
npm install ml
npm install --save ml-regression-simple-linear

image

We have tested the application onHuawei P40 proremote emulator and Huawei P30 pro in reality.

Pages Structure

├─image_processing
│  ├─convolution
│  ├─display
│  ├─histogram
│  └─linear_transform
├─index
├─KNN: the page about KNN algorithm
├─LR
│  ├─index
│  ├─introduce
│  └─linear_regression
├─MLP: multi-layer perceptron (under construction)
└─PCA
    ├─input_pca: input data
    ├─pca_2d: the 2d page
    ├─pca_3d: the 3d page
    ├─pca_out_rand: heatmap output
    └─pca_random: generate random numbers as input