Add code quality inspection
A simple data analysis example created in IntegratedML and Dashboard
IRIS for Windows (x86-64) 2022.1.2 (Build 574U) Fri Jan 13 2023 15:08:27 EST
zpm:USER>install IntegratedMLandDashboardSample
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
Taking women.csv as an example
Select a CSV file to upload, and the CSV file name and data column name must not contain other symbols such as spaces
Fill in the column name that needs to be predicted, such as “height”
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
① After filling in other values, clicking ② OK will generate a predicted value at ③
④ The embedded iris dashboard displays some data previously imported into CSV
Set ^UnitTestRoot=your modules dir +”\src”+namespace+”\integratedmlanddashboardsample\src” (such C:\InterSystems\HealthConnect\mgr.modules\USER\integratedmlanddashboardsample\src)
do ##class(%UnitTest.Manager).RunTest(“UnitTests”)
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