Help Center> ModelArts> Best Practices> ModelArts Samples

ModelArts Samples

This document provides ModelArts samples concerning a variety of scenarios and AI engines to help you quickly understand the process and operations of using ModelArts for AI development.

ExeML Samples (Basic)

Table 1 ExeML sample projects

Sample

Function

Scenario

Description

Yunbao Detection

ExeML

Object detection

Based on the Yunbao dataset, use the object detection algorithm of ModelArts ExeML to identify Yunbao in images.

Bank Deposit Prediction

ExeML

Predictive analytics

Predict whether customers would be interested in a time deposit based on their characteristics, including the age, work type, marital status, education background, housing loan, and personal loan.

Built-in Algorithm Samples (Basic)

Sample

Engine

Function

Scenario

Description

Flower Recognition

TensorFlow

Training Management > Built-in Algorithms

Image classification

Use the built-in ResNet_v1_50 algorithm to train the flower data to recognize flower types.

Notebook Samples (Basic)

Sample

Engine

Function

Scenario

Description

Using a Notebook for Handwritten Digit Recognition

TensorFlow

  • Training scripts compiled
  • AI Development Lifecycle

Image recognition

Develop training scripts based on the MoXing framework and achieve the recognition of handwritten digits based on the AI development lifecycle.

Common Framework Samples (Basic for AI Development Lifecycle)

Table 2 AI development lifecycle samples

Sample

Engine

Function

Scenario

Description

Handwritten Digit Recognition

MXNet

  • Training scripts compiled
  • AI Development Lifecycle

Image recognition

Develop training scripts based on the MXNet engine and achieve the recognition of handwritten digits based on the AI development lifecycle.

Handwritten Digit Recognition

TensorFlow

  • Training scripts compiled
  • AI Development Lifecycle

Image recognition

Develop training scripts based on the TensorFlow engine and achieve the recognition of handwritten digits based on the AI development lifecycle.

Handwritten Digit Recognition

Caffe

  • Training scripts compiled
  • AI Development Lifecycle

Image recognition

Develop training scripts based on the Caffe engine and achieve the recognition of handwritten digits based on the AI development lifecycle.

Targeted Recommendation

Spark MLlib

  • Training scripts compiled
  • AI Development Lifecycle

Prediction and recommendation

Use the Spark MLlib algorithm to obtain the direction of precision marketing and assist decision-making, increasing the conversion rate of consumer goods and profits of merchants as well as improving consumer experience.

Caltech Image Recognition

MXNet

  • Training scripts compiled
  • AI Development Lifecycle

Image recognition

Based on the MXNet engine, train the Caltech dataset to achieve the recognition of Caltech images.

Vehicle Satisfaction Survey

Spark MLlib

  • Training scripts compiled
  • AI Development Lifecycle

K-nearest-neighbor (kNN) classification

Use the k-Nearest Neighbor (kNN) classification algorithm for vehicle satisfaction survey. The Car Evaluation dataset is used to evaluate six features to obtain the satisfaction of users on vehicles.

Iris Flower Classification

Spark MLlib

  • Training scripts compiled
  • AI Development Lifecycle

Classification and prediction

Use the four attributes (sepal length, sepal width, petal length, and petal width) to predict which type (Setosa, Versicolour, and Virginica) an iris flower belongs to.

Ascend Application Samples (Basic)

This document provides the following samples for algorithms that support Ascend applications. You can use the built-in algorithms (from Training Management or AI Market) of ModelArts to support your service applications by referring to the following samples.

Table 3 Ascend samples

Sample

Engine

Function

Scenario

Description

Using a Built-in Algorithm for Object Detection (Ascend 310)

TensorFlow

Built-in algorithms (in Training Management) and Ascend 310 inference

Object detection

Use built-in algorithms to train a model, and use Ascend 310 to deploy the model as a real-time service.

Application Samples of Advanced Functions (Advanced)

Table 4 MoXing application samples

Sample

Engine

Function

Scenario

Description

Iceberg Detection

MoXing

Notebook

Image classification

Use the MoXing framework on ModelArts to identify icebergs and ships in images.

Handwritten Digit Recognition

MoXing

  • Training scripts compiled
  • AI Development Lifecycle

Image recognition

Develop training scripts based on the MoXing framework and achieve the recognition of handwritten digits based on the AI development lifecycle.