From c9eca5e63b941b744d85f7e0e8604e1218253359 Mon Sep 17 00:00:00 2001 From: Carlos Sevilla Salcedo Date: Fri, 22 Sep 2023 12:59:32 +0200 Subject: [PATCH] Update example XML files --- .../xml_files/KNN-classification_demo.xml | 68 +++++++--- src/vai_lab/examples/xml_files/SVR_demo.xml | 71 ++++++---- .../examples/xml_files/canvas_demo.xml | 55 ++++---- .../xml_files/k-mean_clustering_demo.xml | 81 ++++++++---- .../xml_files/pybullet_env_example.xml | 54 ++++---- .../xml_files/random_forest_class_demo.xml | 116 ++++++++++++----- .../examples/xml_files/regression_demo.xml | 44 ------- .../xml_files/ridge-scalar-ridge_demo.xml | 123 +++++++++++++----- .../xml_files/ridge_regression_demo.xml | 49 ------- .../examples/xml_files/scalar_demo.xml | 52 -------- .../examples/xml_files/scaler-lasso_demo.xml | 67 ---------- ...dback_demo2.xml => user_feedback_demo.xml} | 25 ++-- 12 files changed, 403 insertions(+), 402 deletions(-) delete mode 100644 src/vai_lab/examples/xml_files/regression_demo.xml delete mode 100644 src/vai_lab/examples/xml_files/ridge_regression_demo.xml delete mode 100644 src/vai_lab/examples/xml_files/scalar_demo.xml delete mode 100644 src/vai_lab/examples/xml_files/scaler-lasso_demo.xml rename src/vai_lab/examples/xml_files/{user_feedback_demo2.xml => user_feedback_demo.xml} (74%) diff --git a/src/vai_lab/examples/xml_files/KNN-classification_demo.xml b/src/vai_lab/examples/xml_files/KNN-classification_demo.xml index e6bc3fb5..d017339f 100644 --- a/src/vai_lab/examples/xml_files/KNN-classification_demo.xml +++ b/src/vai_lab/examples/xml_files/KNN-classification_demo.xml @@ -4,42 +4,76 @@ - [(350.0,50),0,{}] + [(350.0, 50), 0, {}] - - - - + + + + + + + - [(350.0,350.0),2,{0:'d0-u2'}] + [(350.0, 350.0), 2, {0: 'd0-u2'}] - - - - + + + + distance + + + 7 + + + + + + X + + + Y + + + + + + + X + + + Y + + + + + + + - [(350.0,650),1,{2:'d2-u1'}] + [(350.0, 650), 1, {2: 'd2-u1'}] - - Modelling - - - .\examples\results\output.pkl - + + + Modelling + + + .\examples\results\output.pkl + + diff --git a/src/vai_lab/examples/xml_files/SVR_demo.xml b/src/vai_lab/examples/xml_files/SVR_demo.xml index f94fa31e..5d38db16 100644 --- a/src/vai_lab/examples/xml_files/SVR_demo.xml +++ b/src/vai_lab/examples/xml_files/SVR_demo.xml @@ -4,49 +4,76 @@ - [(350.0,50),0,{}] + [(350.0, 50), 0, {}] - - - - + + + + + + + - [(350.0,350.0),2,{0:'d0-u2'}] + [(350.0, 350.0), 2, {0: 'd0-u2'}] - - - - - 0.1 - - - linear - + + + 0.01 + + + linear + + + + + + X + + + Y + + + + + + + X + + + Y + + + + + + - [(350.0,650),1,{2:'d2-u1'}] + [(350.0, 650), 1, {2: 'd2-u1'}] - - Modelling - - - .\examples\results\output.pkl - + + + Modelling + + + .\examples\results\output.pkl + + diff --git a/src/vai_lab/examples/xml_files/canvas_demo.xml b/src/vai_lab/examples/xml_files/canvas_demo.xml index d9d4859d..439fbedc 100644 --- a/src/vai_lab/examples/xml_files/canvas_demo.xml +++ b/src/vai_lab/examples/xml_files/canvas_demo.xml @@ -1,44 +1,49 @@ - - - - + - [(350.0,50),0,{}] + [(350.0, 50), 0, {}] + + + - - - - + + + + - + - [(350.0,350.0),2,{0:'d0-u2'}] - + [(350.0, 350.0), 2, {0: 'd0-u2'}] + + + + + + - + - - - - - My First UserFeedback Module - - - .\examples\results\output.pkl - - - + - [(350.0,650),1,{2:'d2-u1'}] + [(350.0, 650), 1, {2: 'd2-u1'}] + + + + User Interaction + + + .\examples\results\output.pkl + + + diff --git a/src/vai_lab/examples/xml_files/k-mean_clustering_demo.xml b/src/vai_lab/examples/xml_files/k-mean_clustering_demo.xml index 658fc9db..778d8f54 100644 --- a/src/vai_lab/examples/xml_files/k-mean_clustering_demo.xml +++ b/src/vai_lab/examples/xml_files/k-mean_clustering_demo.xml @@ -4,57 +4,94 @@ - [(350.0,50),0,{}] + [(350.0, 50), 0, {}] - - + + + + + - [(350,200),2,{0:'d0-u2'}] + [(227, 254), 2, {0: 'd0-u2'}] - - - - - X - + + + (0, 1) + + + + + + X + + + + + + - [(350.0,350.0),3,{2:'d2-u3'}] + [(474, 412), 3, {2: 'd2-u3'}] - - - - + + + + 4 + + + 500 + + + + + + X + + + + + + + X + + + + + + + - [(350.0,650),1,{3:'d3-u1'}] + [(350.0, 650), 1, {3: 'd3-u1'}] - - Modelling - - - .\examples\results\output.pkl - + + + Modelling + + + .\examples\results\output.pkl + + diff --git a/src/vai_lab/examples/xml_files/pybullet_env_example.xml b/src/vai_lab/examples/xml_files/pybullet_env_example.xml index 53629908..41e8a999 100644 --- a/src/vai_lab/examples/xml_files/pybullet_env_example.xml +++ b/src/vai_lab/examples/xml_files/pybullet_env_example.xml @@ -15,25 +15,27 @@ [(350.0,350.0),2,{0:'d0-u2'}] - - - plane.urdf - ./Environment/resources/models/half_cheetah_with_mass.xml - - - False - - - 0.0 - 0.0 - -9.81 - - - 0.01 - - - 10 - + + + + plane.urdf + ./Environment/resources/models/half_cheetah_with_mass.xml + + + False + + + 0.0 + 0.0 + -9.81 + + + 0.01 + + + 10 + + @@ -41,12 +43,14 @@ - - MyEnv - - - .\examples\results\output.pkl - + + + MyEnv + + + .\examples\results\output.pkl + + diff --git a/src/vai_lab/examples/xml_files/random_forest_class_demo.xml b/src/vai_lab/examples/xml_files/random_forest_class_demo.xml index 42d4e203..aa4d8ab0 100644 --- a/src/vai_lab/examples/xml_files/random_forest_class_demo.xml +++ b/src/vai_lab/examples/xml_files/random_forest_class_demo.xml @@ -1,62 +1,108 @@ - + - - - - - - - [(350.0,50),0,{}] + [(350.0, 50), 0, {}] + + + + + + - - + + + + - + + + [(349, 207), 2, {0: 'd0-u2'}] + - - X - + + + + + X + + + + + + + X + + + + + - + - - - - + - - - - - [(350.0,350.0),2,{0:'d0-u2'}] + [(349, 419), 3, {2: 'd2-u3'}] + + + + 50 + + + 500 + + + + + + X + + + Y + + + + + + + X + + + Y + + + + - - - [(350.0,650),1,{2:'d2-u1'}] - + + + - + + + [(350.0, 650), 1, {3: 'd3-u1'}] + - - My Modelling Module - - - .\examples\results\output.pkl - + + + Modelling + + + .\examples\results\output.pkl + + diff --git a/src/vai_lab/examples/xml_files/regression_demo.xml b/src/vai_lab/examples/xml_files/regression_demo.xml deleted file mode 100644 index 38faeca5..00000000 --- a/src/vai_lab/examples/xml_files/regression_demo.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - [(350.0,50),0,{}] - - - - - - - - - - - - - [(350.0,350.0),2,{0:'d0-u2'}] - - - - - - - - - - - Modelling - - - .\examples\results\output.pkl - - - - - - - [(350.0,650),1,{2:'d2-u1'}] - - - diff --git a/src/vai_lab/examples/xml_files/ridge-scalar-ridge_demo.xml b/src/vai_lab/examples/xml_files/ridge-scalar-ridge_demo.xml index c98d1191..c3544328 100644 --- a/src/vai_lab/examples/xml_files/ridge-scalar-ridge_demo.xml +++ b/src/vai_lab/examples/xml_files/ridge-scalar-ridge_demo.xml @@ -4,81 +4,138 @@ - [(350.0,50),0,{}] + [(350.0, 50), 0, {}] - - - - + + + + + + + - [(350,180),2,{0:'d0-u2'}] + [(178, 218), 2, {0: 'd0-u2'}] - - 0.01 - + + + 1e-3 + + + + + + X + + + Y + + + + + + + X + + + Y + + + + + - - - [(350.0,350.0),3,{2:'d2-u3'}] + [(450, 219), 3, {2: 'r2-l3'}] - - - - - X - + + + + + X + + + + + + + X + + + + + + - [(350,408),4,{3:'d3-u4'}] + [(350.0, 350.0), 4, {3: 'd3-u4'}] - - - - - 0.01 - + + + + + X + + + Y + + + + + + + X + + + Y + + + + + + - [(350.0,650),1,{4:'d4-u1'}] + [(350.0, 650), 1, {4: 'd4-u1'}] - - Modelling - Modelling-1 - - - .\examples\results\output.pkl - + + + Modelling + Modelling-1 + + + .\examples\results\output.pkl + + diff --git a/src/vai_lab/examples/xml_files/ridge_regression_demo.xml b/src/vai_lab/examples/xml_files/ridge_regression_demo.xml deleted file mode 100644 index 58e182f7..00000000 --- a/src/vai_lab/examples/xml_files/ridge_regression_demo.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - [(350.0,50),0,{}] - - - - - - - - - - - - - - - [(350.0,350.0),2,{0:'d0-u2'}] - - - - 0.01 - - - - - - - - - - - - [(350.0,650),1,{2:'d2-u1'}] - - - - Modelling - - - .\examples\results\output.pkl - - - - diff --git a/src/vai_lab/examples/xml_files/scalar_demo.xml b/src/vai_lab/examples/xml_files/scalar_demo.xml deleted file mode 100644 index 5b2b1d9a..00000000 --- a/src/vai_lab/examples/xml_files/scalar_demo.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - [(350.0, 50), 0, {}] - - - - - - - - - - - - - - - - - - [(350.0, 350.0), 2, {0: 'd0-u2'}] - - - - X - - - - - - - - - - - - [(350.0, 650), 1, {2: 'd2-u1'}] - - - - Data Processing - - - .\examples\results\output.pkl - - - - diff --git a/src/vai_lab/examples/xml_files/scaler-lasso_demo.xml b/src/vai_lab/examples/xml_files/scaler-lasso_demo.xml deleted file mode 100644 index a05d1bfa..00000000 --- a/src/vai_lab/examples/xml_files/scaler-lasso_demo.xml +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - [(350.0,50),0,{}] - - - - - - - - - - - - - - - [(350,183),2,{0:'d0-u2'}] - - - - - - - X - - - - - - - - - - [(350,328),3,{2:'d2-u3'}] - - - - - - - 0.2 - - - - - - - - - [(350.0,650),1,{3:'d3-u1'}] - - - - Data Processing - Modelling - - - ./examples/results/test.pkl - - - - diff --git a/src/vai_lab/examples/xml_files/user_feedback_demo2.xml b/src/vai_lab/examples/xml_files/user_feedback_demo.xml similarity index 74% rename from src/vai_lab/examples/xml_files/user_feedback_demo2.xml rename to src/vai_lab/examples/xml_files/user_feedback_demo.xml index bfe76cc7..7b1ca210 100644 --- a/src/vai_lab/examples/xml_files/user_feedback_demo2.xml +++ b/src/vai_lab/examples/xml_files/user_feedback_demo.xml @@ -1,15 +1,15 @@ - - - - [(350.0, 50), 0, {}] + + + + @@ -22,7 +22,8 @@ [(350.0, 350.0), 2, {0: 'd0-u2'}] - + + @@ -35,12 +36,14 @@ [(350.0, 650), 1, {2: 'd2-u1'}] - - User Interaction - - - .\examples\results\output.pkl - + + + User Interaction + + + .\examples\results\output.pkl + +