Analysis Platform is an open source web application to import, connect and visualize factory IoT data. It helps to collect, link and integrate data from multiple data sources.Visualizations include Digital Native QC7 Tools, which is designed especially suitable for data on manufacturing domain.Let’s try data-driven process improvement by utilizing the data sleeping in the field.
What can we do with Analysis Platform?
The main activities that user can take with Analysis Platform are:
- Check behavior of time-series or id-series data, stratify across processes (Full Points Plot)
- Check behavior of fluctuation of the distribution (Ridgeline Plot)
- Check correlation between variables and clusters in distribution (Multiple Scatter Plot)
- Check behavior of each category/group (Stratified Plot)
- Check behavior of related to human activities & process and product behavior (Calendar Heatmap)
- Look for key variables that strongly relates to output (Sankey Diagram)
- Grasp phenomenon that occurs at the same time (Cooccurrence Graph)
Analysis Platform currently supports following data sources:
- SQL Server
- Oracle Database
Analysis Platform uses Flask framework.
- Python (>=3.6) (Tested with Python 3.7.3)
How can we start using Analysis Platform?
First, pull this repository to your PC.
git clone https://github.com/apdn7/AnalysisPlatform.gitcd AnalysisPlatform
or you can download zip file and unzip it.
For users: Run Analysis Platform with Windows embeddable package
If you use Windows machine, you can use Windowsembeddable package to run Analysis Platformwithout installing python.To download necessary packages and activate Analysis Platform,you can run “
Double click "oss_start_app.bat"
This batch file will automaticallydownload:
- Windows embeddable package: To run Analysis Platform without installing Python
- pip: To manage Python packages
- other necessary python packages: To run Analysis Platform
- Oracle Instant Client: To connect Oracle Database
Note:If you are connecting internet using proxy, you might have to edit "oss_start_app.bat" and specify the address unless it is registered in your environmental variable.Open "oss_start_app.bat" with any text editor, and you will findproxy setting on row 7-8. Remove REM from those rows and fill in HTTP_PROXY and HTTPS_PROXY.
Analysis Platform is activated after all downloads are finished.
Analysis Platform uses Port 6868 by default.Access below URL to access Analysis Platform.If another program already uses port 6868, you can change the setting (See Basic Settings).
Downloads are only excecuted only if above files were not detected, so you can use use “
oss_start_app.bat” for the next activation. (Analysis platform detects a folder named
python_embeddedon the same lavel as
Analysis Platform can run without internet connection.If you want to use this application on machine which has no internet connection (for example, intranet),you can first download all required files on other machine (which has internet connection),then copy entire files.
For developers: Run Analysis Platform with Python installed on your machine
pip install -r requirements/common.txt
If pip install fails, try using Python 3.7.3.Analysis Platform is activated by following command
Corresponding ODBC driver must be installed to use SQL Server and Oracle Database.
How do we shut down Analysis Platform?
To shut down Analysis Platform,press shut down button on bottom of sidebar (this button is only available on host machine),or you can press
Ctrl + C on your console.
Basic settings of Analysis Platform is defined in
info field of
histview2/config/basic_config.yml.You can open the file with any text editor and set:
port-no: Port number that Analysis Platform use (default: 6868)
language: Language used in GUI. For example, if you want to use Japanese, set “JA”. If empty or invalid value is set, English is used.See language selectbox on upper right corner of GUI for abbreviations of each language (default: empty)
hide-setting-page: If True, hides link to config page (default: False)
If you want to initialize the application, remove
instance folder and
histview2/config/basic_config.yml.These files are generated on the next activation.
Is there any sample data that we can use?
By default, Analysis Platform contains sample data and corresponding settings to get an overview of each visualization.Data is stored as TSV file under the subdirectories in /sample_data:
- /assembly: Quality data
- /parts_processing: Machine data
- /alarm_signal_cog: Daily occurence of machine alarms
Above data will be automatically imported after activation.You can call each sample visualization from ‘Load’ or ‘Bookmark’ on upper right corner of GUI.
If you do not need those data,you can either initialize the application by removing
instancefolder before the activation,or you can just remove each data source setting from GUI.
Analysis Platform is released under MIT License.See our LICENSE for more detail.