From 30b7a443d13da91c34283f3f1aa39cc0d290a529 Mon Sep 17 00:00:00 2001 From: Koen Derks Date: Fri, 9 May 2025 18:12:39 +0200 Subject: [PATCH 1/5] Add small group titles --- inst/Description.qml | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/inst/Description.qml b/inst/Description.qml index 15fbef81..27259f4a 100644 --- a/inst/Description.qml +++ b/inst/Description.qml @@ -15,6 +15,10 @@ Description preloadData: true GroupTitle + { + title: qsTr("Supervised Learning") + } + GroupTitleSmall { title: qsTr("Regression") icon: "analysis-ml-regression.svg" @@ -69,7 +73,7 @@ Description } - GroupTitle + GroupTitleSmall { title: qsTr("Classification") icon: "analysis-ml-classification.svg" @@ -129,8 +133,23 @@ Description func: "mlClassificationSvm" } + GroupTitleSmall + { + title: qsTr("Prediction") + icon: "analysis-ml-prediction.svg" + } + Analysis + { + menu: qsTr("Prediction") + title: qsTr("Prediction") + func: "mlPrediction" + } GroupTitle + { + title: qsTr("Unsupervised Learning") + } + GroupTitleSmall { title: qsTr("Clustering") icon: "analysis-ml-clustering.svg" @@ -171,16 +190,4 @@ Description title: qsTr("Random Forest Clustering") func: "mlClusteringRandomForest" } - - GroupTitle - { - title: qsTr("Prediction") - icon: "analysis-ml-prediction.svg" - } - Analysis - { - menu: qsTr("Prediction") - title: qsTr("Prediction") - func: "mlPrediction" - } } From 4d90e16acae98c34efa7b8abfb3ac03e4ec704ef Mon Sep 17 00:00:00 2001 From: Koen Derks Date: Fri, 9 May 2025 19:06:16 +0200 Subject: [PATCH 2/5] Update --- inst/Description.qml | 4 ++ inst/icons/supervised-learning.svg | 66 ++++++++++++++++++++++++++++ inst/icons/unsupervised-learning.svg | 62 ++++++++++++++++++++++++++ 3 files changed, 132 insertions(+) create mode 100644 inst/icons/supervised-learning.svg create mode 100644 inst/icons/unsupervised-learning.svg diff --git a/inst/Description.qml b/inst/Description.qml index 27259f4a..89652cc2 100644 --- a/inst/Description.qml +++ b/inst/Description.qml @@ -17,7 +17,9 @@ Description GroupTitle { title: qsTr("Supervised Learning") + icon: "supervised-learning.svg" } + GroupTitleSmall { title: qsTr("Regression") @@ -148,7 +150,9 @@ Description GroupTitle { title: qsTr("Unsupervised Learning") + icon: "unsupervised-learning.svg" } + GroupTitleSmall { title: qsTr("Clustering") diff --git a/inst/icons/supervised-learning.svg b/inst/icons/supervised-learning.svg new file mode 100644 index 00000000..8ea8e451 --- /dev/null +++ b/inst/icons/supervised-learning.svg @@ -0,0 +1,66 @@ + + + + + + + diff --git a/inst/icons/unsupervised-learning.svg b/inst/icons/unsupervised-learning.svg new file mode 100644 index 00000000..0a06a855 --- /dev/null +++ b/inst/icons/unsupervised-learning.svg @@ -0,0 +1,62 @@ + + + + + + + From bf112e956aeaf70cc1c55bfff2b319a2ae2dfc81 Mon Sep 17 00:00:00 2001 From: Koen Derks Date: Fri, 9 May 2025 19:15:49 +0200 Subject: [PATCH 3/5] Update --- inst/icons/supervised-learning.svg | 30 +++++++++++++---------- inst/icons/unsupervised-learning.svg | 36 ++++++++++++++++++---------- 2 files changed, 41 insertions(+), 25 deletions(-) diff --git a/inst/icons/supervised-learning.svg b/inst/icons/supervised-learning.svg index 8ea8e451..4e05a6a2 100644 --- a/inst/icons/supervised-learning.svg +++ b/inst/icons/supervised-learning.svg @@ -27,9 +27,9 @@ inkscape:pagecheckerboard="0" showgrid="false" showguides="false" - inkscape:zoom="5.008573" - inkscape:cx="19.167136" - inkscape:cy="32.444371" + inkscape:zoom="7.7340948" + inkscape:cx="26.376713" + inkscape:cy="22.045243" inkscape:window-width="1512" inkscape:window-height="833" inkscape:window-x="0" @@ -47,20 +47,24 @@ + style="stroke-width:0.0750752" /> diff --git a/inst/icons/unsupervised-learning.svg b/inst/icons/unsupervised-learning.svg index 0a06a855..54053977 100644 --- a/inst/icons/unsupervised-learning.svg +++ b/inst/icons/unsupervised-learning.svg @@ -27,14 +27,14 @@ inkscape:pagecheckerboard="0" showgrid="false" showguides="false" - inkscape:zoom="5.008573" - inkscape:cx="2.4957208" - inkscape:cy="32.5442" - inkscape:window-width="1309" - inkscape:window-height="456" + inkscape:zoom="8.5154322" + inkscape:cx="29.241029" + inkscape:cy="33.879666" + inkscape:window-width="1512" + inkscape:window-height="833" inkscape:window-x="0" inkscape:window-y="38" - inkscape:window-maximized="0" + inkscape:window-maximized="1" inkscape:current-layer="g78" inkscape:snap-grids="false" inkscape:snap-to-guides="false" @@ -47,16 +47,28 @@ + style="stroke-width:0.0739671" /> From b00e9c0920a19f5adbe90b424d17b95adabdcb7d Mon Sep 17 00:00:00 2001 From: Koen Derks Date: Sat, 10 May 2025 16:52:50 +0200 Subject: [PATCH 4/5] Remove borders --- inst/icons/supervised-learning.svg | 18 +++++------------- inst/icons/unsupervised-learning.svg | 18 +++++------------- 2 files changed, 10 insertions(+), 26 deletions(-) diff --git a/inst/icons/supervised-learning.svg b/inst/icons/supervised-learning.svg index 4e05a6a2..62912cef 100644 --- a/inst/icons/supervised-learning.svg +++ b/inst/icons/supervised-learning.svg @@ -28,13 +28,13 @@ showgrid="false" showguides="false" inkscape:zoom="7.7340948" - inkscape:cx="26.376713" - inkscape:cy="22.045243" - inkscape:window-width="1512" - inkscape:window-height="833" + inkscape:cx="8.9861841" + inkscape:cy="35.686141" + inkscape:window-width="1309" + inkscape:window-height="456" inkscape:window-x="0" inkscape:window-y="38" - inkscape:window-maximized="1" + inkscape:window-maximized="0" inkscape:current-layer="g78" inkscape:snap-grids="false" inkscape:snap-to-guides="false" @@ -51,14 +51,6 @@ fill="#9d9d9d" id="path132" style="stroke-width:0.0750752" /> Date: Mon, 19 May 2025 10:24:54 +0200 Subject: [PATCH 5/5] Home-made icons --- inst/icons/supervised-learning.svg | 42 ++++++++++-------- inst/icons/unsupervised-learning.svg | 64 ++++++++++++++++++---------- 2 files changed, 65 insertions(+), 41 deletions(-) diff --git a/inst/icons/supervised-learning.svg b/inst/icons/supervised-learning.svg index 62912cef..9fa1e875 100644 --- a/inst/icons/supervised-learning.svg +++ b/inst/icons/supervised-learning.svg @@ -11,7 +11,7 @@ viewBox="0 0 74 56" enable-background="new 0 0 74 56" xml:space="preserve" - sodipodi:docname="supervised-learning.svg" + sodipodi:docname="supervised-learning copy.svg" inkscape:version="1.2.1 (9c6d41e, 2022-07-14)" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" @@ -28,13 +28,13 @@ showgrid="false" showguides="false" inkscape:zoom="7.7340948" - inkscape:cx="8.9861841" - inkscape:cy="35.686141" - inkscape:window-width="1309" - inkscape:window-height="456" + inkscape:cx="30.772832" + inkscape:cy="22.821029" + inkscape:window-width="1512" + inkscape:window-height="833" inkscape:window-x="0" inkscape:window-y="38" - inkscape:window-maximized="0" + inkscape:window-maximized="1" inkscape:current-layer="g78" inkscape:snap-grids="false" inkscape:snap-to-guides="false" @@ -47,16 +47,22 @@ + id="path1874" + style="fill:#000000;fill-opacity:1;stroke-width:0;stop-color:#000000" + d="M 36.973491,8.1456319 A 44.364444,42.866218 0 0 0 0,27.485336 44.364444,44.226108 0 0 0 36.973491,47.437951 44.364444,44.226108 0 0 0 73.996164,27.409901 44.364444,42.866218 0 0 0 36.973491,8.1456319 Z" /> diff --git a/inst/icons/unsupervised-learning.svg b/inst/icons/unsupervised-learning.svg index 9b5ec3ac..d14d0e29 100644 --- a/inst/icons/unsupervised-learning.svg +++ b/inst/icons/unsupervised-learning.svg @@ -11,7 +11,7 @@ viewBox="0 0 74 56" enable-background="new 0 0 74 56" xml:space="preserve" - sodipodi:docname="unsupervised-learning.svg" + sodipodi:docname="unsupervised-learning copy.svg" inkscape:version="1.2.1 (9c6d41e, 2022-07-14)" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" @@ -27,14 +27,14 @@ inkscape:pagecheckerboard="0" showgrid="false" showguides="false" - inkscape:zoom="8.5154322" - inkscape:cx="19.552736" - inkscape:cy="33.820949" - inkscape:window-width="1309" - inkscape:window-height="456" + inkscape:zoom="7.5621582" + inkscape:cx="29.621173" + inkscape:cy="25.455696" + inkscape:window-width="1512" + inkscape:window-height="833" inkscape:window-x="0" inkscape:window-y="38" - inkscape:window-maximized="0" + inkscape:window-maximized="1" inkscape:current-layer="g78" inkscape:snap-grids="false" inkscape:snap-to-guides="false" @@ -47,20 +47,38 @@ + id="path1874" + style="fill:#000000;fill-opacity:1;stroke-width:0;stop-color:#000000" + d="M 36.973491,8.1456319 A 44.364444,42.866218 0 0 0 0,27.485336 44.364444,44.226108 0 0 0 36.973491,47.437951 44.364444,44.226108 0 0 0 73.996164,27.409901 44.364444,42.866218 0 0 0 36.973491,8.1456319 Z" />