T O P I C R E V I E W |
AKazak |
Posted - 08/23/2020 : 1:48:48 PM OriginPro 2021 (64-bit) Beta 3 9.8.0.112 Windows 7 Pro x64 SP1
Greetings!
Do we have a function or an app for regression clustering (https://ncss-wpengine.netdna-ssl.com/wp-content/themes/ncss/pdf/Procedures/NCSS/Regression_Clustering.pdf)?
Thank you.
--- Andrey |
5 L A T E S T R E P L I E S (Newest First) |
AKazak |
Posted - 08/24/2020 : 11:50:49 AM quote: Originally posted by YimingChen
Hi,
We found the piece of Python code in this page and implemented the analysis in Origin. See the result below. In Origin 2021, we support Python script in Set Column Values dialog (see below) where Python function can be defined to set column values. In this case the clustering labels are output to col(C) to make the graph. Let us know if you would like to try running Python in Beta version. James
Dear James, Can you share this project, please? I want to see how Python works if in Set Column Values dialog.
quote: Originally posted by easwar
Hi Andrey,
Thanks for bringing this up. We will add this as a sample template in upcoming 2021 version. So it will be available from the File->New->Workbook.. menu which opens the New Workbook dialog.
Easwar OriginLab
Great news! Do you plan to include it in Beta 4?
--- Andrey |
easwar |
Posted - 08/24/2020 : 11:33:06 AM Hi Andrey,
Thanks for bringing this up. We will add this as a sample template in upcoming 2021 version. So it will be available from the File->New->Workbook.. menu which opens the New Workbook dialog.
Easwar OriginLab |
YimingChen |
Posted - 08/24/2020 : 11:15:11 AM Hi,
We found the piece of Python code in this page and implemented the analysis in Origin. See the result below. https://stackoverflow.com/questions/39208679/libraries-for-regression-clustering-in-python

In Origin 2021, we support Python script in Set Column Values dialog (see below) where Python function can be defined to set column values. In this case the clustering labels are output to col(C) to make the graph. Let us know if you would like to try running Python in Beta version.

James |
AKazak |
Posted - 08/24/2020 : 10:00:42 AM quote: Originally posted by Echo_Chu
Hi,
We don't have tools or apps for exactly the same algorithm.
But there are two apps which can do a similar job. Please see whether they can help
SVM Classification https://www.originlab.com/fileExchange/details.aspx?fid=570
Gaussian Mixture Models https://www.originlab.com/fileExchange/details.aspx?fid=472
Echo OriginLab Technical Service
Thank you for the suggestion. My task is to classify the data points to get good regression within each class. That would be great to have regression clustering implementation in Origin toolkit.
--- Andrey |
Echo_Chu |
Posted - 08/23/2020 : 10:54:49 PM Hi,
We don't have tools or apps for exactly the same algorithm.
But there are two apps which can do a similar job. Please see whether they can help
SVM Classification https://www.originlab.com/fileExchange/details.aspx?fid=570
Gaussian Mixture Models https://www.originlab.com/fileExchange/details.aspx?fid=472
Echo OriginLab Technical Service |