Home Applications IntegratedMLandDashboardSample

IntegratedMLandDashboardSample

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
0
0 reviews
1
Awards
328
Views
3
IPM installs
0
1
Details
Releases  (5)
Reviews
Awards  (1)
Issues
Articles  (2)
A simple example of generating machine learning prediction data

What's new in this version

Add code quality inspection

Quality Gate Status

IntegratedMLandDashboardSample

A simple data analysis example created in IntegratedML and Dashboard

IRIS version

IRIS for Windows (x86-64) 2022.1.2 (Build 574U) Fri Jan 13 2023 15:08:27 EST

ZPM installation

zpm:USER>install IntegratedMLandDashboardSample

Process Deployment

Use or create a new namespace

Import code into the corresponding namespace

Execute in Terminal:

Do # # class (customizemashinelerningandaanalysis. Util. Tool) Deployment()

The front-end is the dist folder under the Vue folder. Before using it, open dist static config.js and modify the IP and port to be used by the back-end server. Then you need to modify the test of iframeUrl to “Analysis”+the namespace used by the backend, such as “AnalysisUSER”

Then start the front-end file (you can place the dist folder in tomcat to start using)

The access address is:

Ip: port/dist

image

HOW TO USE

Taking women.csv as an example

  1. Select a CSV file to upload, and the CSV file name and data column name must not contain other symbols such as spaces

  2. Fill in the column name that needs to be predicted, such as “height”

  3. Click OK to wait for the interface to return

After successfully returning, refresh the current page and click on the secondary option under the Model List. The newly generated project will appear

image

① After filling in other values, clicking ② OK will generate a predicted value at ③

④ The embedded iris dashboard displays some data previously imported into CSV

Other CSV displays

image

image

Unit Testing

Set ^UnitTestRoot=your modules dir +”\src”+namespace+”\integratedmlanddashboardsample\src” (such C:\InterSystems\HealthConnect\mgr.modules\USER\integratedmlanddashboardsample\src)

do ##class(%UnitTest.Manager).RunTest(“UnitTests”)

Tips

Due to the embedded dashboard of iris on the page, if you encounter cross domain issues that cannot be displayed properly, you can visit iris to view the chart

image

Made with
Install
zpm install integratedmlanddashboardsample download archive
Version
1.0.406 Jul, 2023
ObjectScript quality test
Category
Analytics
Works with
InterSystems IRISInterSystems IRIS for HealthInterSystems IRIS BI
First published
29 Jun, 2023