Chemometrics
stat pls <json_X> <json_Y>
Description
PLS regression (NIPALS, one or several responses): number of components by cross validation (the smallest whose RMSECV is within 5 % of the best), R2, Q2, RMSEC, RMSECV of each number of components, coefficients on the original scale, VIP scores of the variables
PLS regression (NIPALS, one or several responses): number of components by cross validation (the smallest whose RMSECV is within 5 % of the best), R2, Q2, RMSEC, RMSECV of each number of components, coefficients on the original scale, VIP scores of the variables
Parameters
json_X: The spectra or variables (one row per sample) - String - required
json_Y: The responses (one value or one row per sample) - String - required
json_X: The spectra or variables (one row per sample) - String - required
json_Y: The responses (one value or one row per sample) - String - required
admin
stat pls "[[0.1835, 0.1757, 0.1809, 0.1848, 0.1884, 0.2263, 0.269, 0.35, 0.4809, 0.6332, 0.7964, 0.9521, 1.0542, 1.1036, 1.0966, 1.0491, 0.9784, 0.8854, 0.8045, 0.7151, 0.6184, 0.5257, 0.4344, 0.3587, 0.2995, 0.2505, 0.2238, 0.2127, 0.1921, 0.1809], [0.1097, 0.1171, 0.107, 0.1085, 0.1389, 0.1723, 0.2444, 0.3659, 0.5348, 0.7455, 0.9619, 1.1522, 1.2589, 1.2612, 1.1797, 1.0494, 0.8957, 0.7466, 0.6269, 0.531, 0.439, 0.3614, 0.2964, 0.239, 0.1945, 0.1538, 0.1459, 0.1253, 0.1124, 0.1151], [-0.1889, -0.1922, -0.1911, -0.2005, -0.1876, -0.1918, -0.1924, -0.1838, -0.1847, -0.1831, -0.1767, -0.1787, -0.1657, -0.1625, -0.1561, -0.1556, -0.1567, -0.1495, -0.1531, -0.1617, -0.1603, -0.1724, -0.1767, -0.1768, -0.1832, -0.1853, -0.185, -0.185, -0.1883, -0.1911], [0.0178, 0.0221, 0.0147, 0.0181, 0.0213, 0.0327, 0.052, 0.0679, 0.1037, 0.1509, 0.2205, 0.3049, 0.4068, 0.5056, 0.6131, 0.6978, 0.7609, 0.775, 0.7486, 0.6826, 0.5789, 0.4737, 0.3669, 0.2604, 0.1845, 0.1196, 0.0725, 0.0531, 0.0337, 0.0288], [-0.0635, -0.074, -0.0754, -0.0724, -0.0626, -0.0446, -0.0176, 0.0387, 0.1036, 0.1833, 0.275, 0.3373, 0.3785, 0.3695, 0.3329, 0.2644, 0.1979, 0.1337, 0.0805, 0.0503, 0.0195, -0.0058, -0.0165, -0.0396, -0.0504, -0.0592, -0.068, -0.0699, -0.0734, -0.0765], [0.1756, 0.1844, 0.1816, 0.1812, 0.1999, 0.2439, 0.3044, 0.3992, 0.563, 0.7383, 0.9329, 1.1085, 1.2217, 1.2525, 1.2035, 1.1009, 0.9828, 0.8619, 0.7595, 0.6584, 0.5694, 0.477, 0.4019, 0.3336, 0.2789, 0.2395, 0.2131, 0.1951, 0.192, 0.1844], [-0.1706, -0.1731, -0.1621, -0.1614, -0.1533, -0.1329, -0.0954, -0.0346, 0.0526, 0.1673, 0.2944, 0.4079, 0.4916, 0.5481, 0.5501, 0.5276, 0.4854, 0.4289, 0.361, 0.2925, 0.2104, 0.1331, 0.0583, -0.0131, -0.0576, -0.1013, -0.1256, -0.1443, -0.1603, -0.1587], [-0.0459, -0.0525, -0.0458, -0.0349, -0.0223, 0.0183, 0.1052, 0.2145, 0.3913, 0.6133, 0.8515, 1.0569, 1.1945, 1.2333, 1.1803, 1.0728, 0.9345, 0.7981, 0.6731, 0.5592, 0.4427, 0.3377, 0.2401, 0.1512, 0.0931, 0.0325, -0.0022, -0.0233, -0.0299, -0.0423], [0.2875, 0.2913, 0.2904, 0.296, 0.3005, 0.3175, 0.3503, 0.4113, 0.4805, 0.5741, 0.6715, 0.7602, 0.8216, 0.8256, 0.8036, 0.7567, 0.6999, 0.6433, 0.5773, 0.5344, 0.4774, 0.4413, 0.3965, 0.3648, 0.3475, 0.3276, 0.3081, 0.3058, 0.2943, 0.2961], [-0.0833, -0.088, -0.078, -0.076, -0.075, -0.0422, 0.0001, 0.0608, 0.1691, 0.2859, 0.4116, 0.5333, 0.6046, 0.6237, 0.5951, 0.5464, 0.4691, 0.3997, 0.3275, 0.2567, 0.1925, 0.1409, 0.0851, 0.0334, -0.0093, -0.0402, -0.0572, -0.0613, -0.0736, -0.0807], [-0.0023, 0.0013, -0.0055, 0.0011, 0.017, 0.0358, 0.0757, 0.1295, 0.2274, 0.3435, 0.4685, 0.5735, 0.6714, 0.7005, 0.6995, 0.6543, 0.5954, 0.5353, 0.4685, 0.3916, 0.3253, 0.2562, 0.191, 0.1318, 0.0847, 0.0517, 0.0343, 0.0214, 0.0098, 0.0037], [-0.2712, -0.268, -0.2624, -0.2626, -0.2575, -0.2385, -0.2167, -0.1713, -0.1018, -0.0297, 0.0555, 0.1127, 0.1416, 0.1304, 0.07, 0.0117, -0.0626, -0.1188, -0.1623, -0.1878, -0.214, -0.2218, -0.2414, -0.2477, -0.2533, -0.2543, -0.2614, -0.2656, -0.2656, -0.2705]]" "[6.23, 9.61, 0.09, 0.49, 4.04, 8.17, 4.41, 9.58, 4.15, 5.3, 4.78, 3.79]"
mentdb
{"method": "pls", "n": 12, "variables": 30, "responses": 1, "components": 3, "r2": 0.9999639154355244, "q2": 0.9999374454311021, "rmsec": 0.01749613048810848, "rmsecv": 0.02303619747546662, "cross_validation": [{"components": 0, "rmsecv": 3.2082589326280817, "q2": -0.21332256365272362}, {"components": 1, "rmsecv": 2.2156404587813894, "q2": 0.42132326316939317}, {"components": 2, "rmsecv": 0.8299096949172511, "q2": 0.9188106385329164}, {"components": 3, "rmsecv": 0.02303619747546662, "q2": 0.9999374454311021}, {"components": 4, "rmsecv": 0.026713949216024633, "q2": 0.999915877215057}, {"components": 5, "rmsecv": 0.022982668777650393, "q2": 0.9999377358066507}, {"components": 6, "rmsecv": 0.022285087365053222, "q2": 0.9999414581918916}, {"components": 7, "rmsecv": 0.022026732892808466, "q2": 0.9999428076923118}, {"components": 8, "rmsecv": 0.021976510334942377, "q2": 0.9999430682002518}], "coefficients": [[0.02159655090465372, -0.4712816744610493, -0.480436275154275, -0.45673656008125196, -0.44910695690410174, -0.3911004704552605, -0.2862080377527327, -0.08112821445857211, 0.2534579383444571, 0.7480838964353046, 1.318012548688913, 1.869112624752192, 2.249476352752251, 2.2932411143452223, 2.006256633818788, 1.3562853096623513, 0.6315884806032968, -0.11818939763247954, -0.6722535899228133, -0.9949409902136956, -1.1171077399654565, -1.101324353655884, -1.0257291009688108, -0.9119519711907066, -0.7862209577619979, -0.6956495465945929, -0.6278164593279284, -0.5382268467198975, -0.5451796530316029, -0.4948108779410243, -0.5002315654699514]], "vip": [0.6140492723407153, 0.6227139724406318, 0.6051017010188999, 0.6064640011782401, 0.5861822700221163, 0.564071582988328, 0.5394607029512335, 0.5655962302852162, 0.7477642612204809, 1.0605241473457307, 1.4083655209685404, 1.6891885023151574, 1.7787937059254597, 1.6889210209671834, 1.4345432071970232, 1.1987998412587273, 1.084174259539892, 1.0893791233425918, 1.125959536461098, 1.1200723079282056, 1.063218115162502, 0.9883521826377468, 0.9019577903790084, 0.8166733625843717, 0.7552852042211537, 0.7065039746158798, 0.6570006732633449, 0.6563509072088412, 0.6279488696527793, 0.6305210485074979]}
stat pls <json_X> <json_Y> <json_params>
Description
PLS with parameters: components (fixed), max_components (10), folds (10), scale (false: centered only, as usual for spectra), predict (new rows), seed
PLS with parameters: components (fixed), max_components (10), folds (10), scale (false: centered only, as usual for spectra), predict (new rows), seed
Parameters
json_X: The rows - String - required
json_Y: The responses - String - required
json_params: The parameters - String - required
json_X: The rows - String - required
json_Y: The responses - String - required
json_params: The parameters - String - required
admin
stat pls "[[0.1835, 0.1757, 0.1809, 0.1848, 0.1884, 0.2263, 0.269, 0.35, 0.4809, 0.6332, 0.7964, 0.9521, 1.0542, 1.1036, 1.0966, 1.0491, 0.9784, 0.8854, 0.8045, 0.7151, 0.6184, 0.5257, 0.4344, 0.3587, 0.2995, 0.2505, 0.2238, 0.2127, 0.1921, 0.1809], [0.1097, 0.1171, 0.107, 0.1085, 0.1389, 0.1723, 0.2444, 0.3659, 0.5348, 0.7455, 0.9619, 1.1522, 1.2589, 1.2612, 1.1797, 1.0494, 0.8957, 0.7466, 0.6269, 0.531, 0.439, 0.3614, 0.2964, 0.239, 0.1945, 0.1538, 0.1459, 0.1253, 0.1124, 0.1151], [-0.1889, -0.1922, -0.1911, -0.2005, -0.1876, -0.1918, -0.1924, -0.1838, -0.1847, -0.1831, -0.1767, -0.1787, -0.1657, -0.1625, -0.1561, -0.1556, -0.1567, -0.1495, -0.1531, -0.1617, -0.1603, -0.1724, -0.1767, -0.1768, -0.1832, -0.1853, -0.185, -0.185, -0.1883, -0.1911], [0.0178, 0.0221, 0.0147, 0.0181, 0.0213, 0.0327, 0.052, 0.0679, 0.1037, 0.1509, 0.2205, 0.3049, 0.4068, 0.5056, 0.6131, 0.6978, 0.7609, 0.775, 0.7486, 0.6826, 0.5789, 0.4737, 0.3669, 0.2604, 0.1845, 0.1196, 0.0725, 0.0531, 0.0337, 0.0288], [-0.0635, -0.074, -0.0754, -0.0724, -0.0626, -0.0446, -0.0176, 0.0387, 0.1036, 0.1833, 0.275, 0.3373, 0.3785, 0.3695, 0.3329, 0.2644, 0.1979, 0.1337, 0.0805, 0.0503, 0.0195, -0.0058, -0.0165, -0.0396, -0.0504, -0.0592, -0.068, -0.0699, -0.0734, -0.0765], [0.1756, 0.1844, 0.1816, 0.1812, 0.1999, 0.2439, 0.3044, 0.3992, 0.563, 0.7383, 0.9329, 1.1085, 1.2217, 1.2525, 1.2035, 1.1009, 0.9828, 0.8619, 0.7595, 0.6584, 0.5694, 0.477, 0.4019, 0.3336, 0.2789, 0.2395, 0.2131, 0.1951, 0.192, 0.1844], [-0.1706, -0.1731, -0.1621, -0.1614, -0.1533, -0.1329, -0.0954, -0.0346, 0.0526, 0.1673, 0.2944, 0.4079, 0.4916, 0.5481, 0.5501, 0.5276, 0.4854, 0.4289, 0.361, 0.2925, 0.2104, 0.1331, 0.0583, -0.0131, -0.0576, -0.1013, -0.1256, -0.1443, -0.1603, -0.1587], [-0.0459, -0.0525, -0.0458, -0.0349, -0.0223, 0.0183, 0.1052, 0.2145, 0.3913, 0.6133, 0.8515, 1.0569, 1.1945, 1.2333, 1.1803, 1.0728, 0.9345, 0.7981, 0.6731, 0.5592, 0.4427, 0.3377, 0.2401, 0.1512, 0.0931, 0.0325, -0.0022, -0.0233, -0.0299, -0.0423], [0.2875, 0.2913, 0.2904, 0.296, 0.3005, 0.3175, 0.3503, 0.4113, 0.4805, 0.5741, 0.6715, 0.7602, 0.8216, 0.8256, 0.8036, 0.7567, 0.6999, 0.6433, 0.5773, 0.5344, 0.4774, 0.4413, 0.3965, 0.3648, 0.3475, 0.3276, 0.3081, 0.3058, 0.2943, 0.2961], [-0.0833, -0.088, -0.078, -0.076, -0.075, -0.0422, 0.0001, 0.0608, 0.1691, 0.2859, 0.4116, 0.5333, 0.6046, 0.6237, 0.5951, 0.5464, 0.4691, 0.3997, 0.3275, 0.2567, 0.1925, 0.1409, 0.0851, 0.0334, -0.0093, -0.0402, -0.0572, -0.0613, -0.0736, -0.0807], [-0.0023, 0.0013, -0.0055, 0.0011, 0.017, 0.0358, 0.0757, 0.1295, 0.2274, 0.3435, 0.4685, 0.5735, 0.6714, 0.7005, 0.6995, 0.6543, 0.5954, 0.5353, 0.4685, 0.3916, 0.3253, 0.2562, 0.191, 0.1318, 0.0847, 0.0517, 0.0343, 0.0214, 0.0098, 0.0037], [-0.2712, -0.268, -0.2624, -0.2626, -0.2575, -0.2385, -0.2167, -0.1713, -0.1018, -0.0297, 0.0555, 0.1127, 0.1416, 0.1304, 0.07, 0.0117, -0.0626, -0.1188, -0.1623, -0.1878, -0.214, -0.2218, -0.2414, -0.2477, -0.2533, -0.2543, -0.2614, -0.2656, -0.2656, -0.2705]]" "[6.23, 9.61, 0.09, 0.49, 4.04, 8.17, 4.41, 9.58, 4.15, 5.3, 4.78, 3.79]" "{\"folds\": 4, \"predict\": [[-0.2414, -0.2412, -0.2439, -0.2351, -0.2438, -0.2337, -0.2221, -0.203, -0.1707, -0.1273, -0.0631, 0.0058, 0.0679, 0.1364, 0.2089, 0.2555, 0.2714, 0.2705, 0.2553, 0.2067, 0.1335, 0.0618, -0.0184, -0.0778, -0.1392, -0.1743, -0.2005, -0.2176, -0.2382, -0.2455], [0.0064, 0.0084, 0.0125, 0.0127, 0.027, 0.0466, 0.084, 0.1476, 0.2428, 0.3566, 0.4953, 0.6273, 0.7277, 0.809, 0.8362, 0.8339, 0.8057, 0.7575, 0.6895, 0.6045, 0.5022, 0.4055, 0.3063, 0.2168, 0.1487, 0.1002, 0.0631, 0.0414, 0.0255, 0.0222], [-0.0729, -0.0807, -0.08, -0.0808, -0.0723, -0.0695, -0.0601, -0.0431, -0.0133, 0.0289, 0.0984, 0.1791, 0.2737, 0.3727, 0.474, 0.5546, 0.6103, 0.6221, 0.5961, 0.5396, 0.4444, 0.3487, 0.2385, 0.1442, 0.0717, 0.0212, -0.0181, -0.0503, -0.0727, -0.0663], [0.1665, 0.1682, 0.1561, 0.1641, 0.1643, 0.168, 0.1707, 0.1719, 0.1774, 0.1746, 0.1835, 0.1875, 0.1945, 0.2022, 0.2057, 0.2123, 0.2141, 0.2188, 0.2122, 0.2095, 0.2126, 0.1978, 0.1905, 0.1867, 0.1734, 0.1766, 0.1742, 0.1713, 0.1725, 0.1712]]}"
mentdb
{"method": "pls", "n": 12, "variables": 30, "responses": 1, "components": 3, "r2": 0.9999639154355244, "q2": 0.9999405099849443, "rmsec": 0.01749613048810848, "rmsecv": 0.022464839209776183, "cross_validation": [{"components": 0, "rmsecv": 3.2103833277524836, "q2": -0.21492993386972747}, {"components": 1, "rmsecv": 2.1574310439340585, "q2": 0.4513298958343611}, {"components": 2, "rmsecv": 0.6937742874914824, "q2": 0.9432620226006155}, {"components": 3, "rmsecv": 0.022464839209776183, "q2": 0.9999405099849443}, {"components": 4, "rmsecv": 0.026032343089183247, "q2": 0.999920115233795}, {"components": 5, "rmsecv": 0.024047999166641215, "q2": 0.9999318296778718}, {"components": 6, "rmsecv": 0.02375316173192597, "q2": 0.9999334910178566}, {"components": 7, "rmsecv": 0.02365717220364028, "q2": 0.9999340274741215}], "coefficients": [[0.02159655090465372, -0.4712816744610493, -0.480436275154275, -0.45673656008125196, -0.44910695690410174, -0.3911004704552605, -0.2862080377527327, -0.08112821445857211, 0.2534579383444571, 0.7480838964353046, 1.318012548688913, 1.869112624752192, 2.249476352752251, 2.2932411143452223, 2.006256633818788, 1.3562853096623513, 0.6315884806032968, -0.11818939763247954, -0.6722535899228133, -0.9949409902136956, -1.1171077399654565, -1.101324353655884, -1.0257291009688108, -0.9119519711907066, -0.7862209577619979, -0.6956495465945929, -0.6278164593279284, -0.5382268467198975, -0.5451796530316029, -0.4948108779410243, -0.5002315654699514]], "vip": [0.6140492723407153, 0.6227139724406318, 0.6051017010188999, 0.6064640011782401, 0.5861822700221163, 0.564071582988328, 0.5394607029512335, 0.5655962302852162, 0.7477642612204809, 1.0605241473457307, 1.4083655209685404, 1.6891885023151574, 1.7787937059254597, 1.6889210209671834, 1.4345432071970232, 1.1987998412587273, 1.084174259539892, 1.0893791233425918, 1.125959536461098, 1.1200723079282056, 1.063218115162502, 0.9883521826377468, 0.9019577903790084, 0.8166733625843717, 0.7552852042211537, 0.7065039746158798, 0.6570006732633449, 0.6563509072088412, 0.6279488696527793, 0.6305210485074979], "predictions": [0.9128948148290228, 4.319828828692462, 0.3720891116502804, 0.06233249341186278]}
stat pcr <json_X> <json_Y>
Description
Principal component regression: the least squares on the first principal components of X, number of components by cross validation; same output as stat pls (without VIP)
Principal component regression: the least squares on the first principal components of X, number of components by cross validation; same output as stat pls (without VIP)
Parameters
json_X: The rows - String - required
json_Y: The responses - String - required
json_X: The rows - String - required
json_Y: The responses - String - required
admin
stat pcr "[[0.1835, 0.1757, 0.1809, 0.1848, 0.1884, 0.2263, 0.269, 0.35, 0.4809, 0.6332, 0.7964, 0.9521, 1.0542, 1.1036, 1.0966, 1.0491, 0.9784, 0.8854, 0.8045, 0.7151, 0.6184, 0.5257, 0.4344, 0.3587, 0.2995, 0.2505, 0.2238, 0.2127, 0.1921, 0.1809], [0.1097, 0.1171, 0.107, 0.1085, 0.1389, 0.1723, 0.2444, 0.3659, 0.5348, 0.7455, 0.9619, 1.1522, 1.2589, 1.2612, 1.1797, 1.0494, 0.8957, 0.7466, 0.6269, 0.531, 0.439, 0.3614, 0.2964, 0.239, 0.1945, 0.1538, 0.1459, 0.1253, 0.1124, 0.1151], [-0.1889, -0.1922, -0.1911, -0.2005, -0.1876, -0.1918, -0.1924, -0.1838, -0.1847, -0.1831, -0.1767, -0.1787, -0.1657, -0.1625, -0.1561, -0.1556, -0.1567, -0.1495, -0.1531, -0.1617, -0.1603, -0.1724, -0.1767, -0.1768, -0.1832, -0.1853, -0.185, -0.185, -0.1883, -0.1911], [0.0178, 0.0221, 0.0147, 0.0181, 0.0213, 0.0327, 0.052, 0.0679, 0.1037, 0.1509, 0.2205, 0.3049, 0.4068, 0.5056, 0.6131, 0.6978, 0.7609, 0.775, 0.7486, 0.6826, 0.5789, 0.4737, 0.3669, 0.2604, 0.1845, 0.1196, 0.0725, 0.0531, 0.0337, 0.0288], [-0.0635, -0.074, -0.0754, -0.0724, -0.0626, -0.0446, -0.0176, 0.0387, 0.1036, 0.1833, 0.275, 0.3373, 0.3785, 0.3695, 0.3329, 0.2644, 0.1979, 0.1337, 0.0805, 0.0503, 0.0195, -0.0058, -0.0165, -0.0396, -0.0504, -0.0592, -0.068, -0.0699, -0.0734, -0.0765], [0.1756, 0.1844, 0.1816, 0.1812, 0.1999, 0.2439, 0.3044, 0.3992, 0.563, 0.7383, 0.9329, 1.1085, 1.2217, 1.2525, 1.2035, 1.1009, 0.9828, 0.8619, 0.7595, 0.6584, 0.5694, 0.477, 0.4019, 0.3336, 0.2789, 0.2395, 0.2131, 0.1951, 0.192, 0.1844], [-0.1706, -0.1731, -0.1621, -0.1614, -0.1533, -0.1329, -0.0954, -0.0346, 0.0526, 0.1673, 0.2944, 0.4079, 0.4916, 0.5481, 0.5501, 0.5276, 0.4854, 0.4289, 0.361, 0.2925, 0.2104, 0.1331, 0.0583, -0.0131, -0.0576, -0.1013, -0.1256, -0.1443, -0.1603, -0.1587], [-0.0459, -0.0525, -0.0458, -0.0349, -0.0223, 0.0183, 0.1052, 0.2145, 0.3913, 0.6133, 0.8515, 1.0569, 1.1945, 1.2333, 1.1803, 1.0728, 0.9345, 0.7981, 0.6731, 0.5592, 0.4427, 0.3377, 0.2401, 0.1512, 0.0931, 0.0325, -0.0022, -0.0233, -0.0299, -0.0423], [0.2875, 0.2913, 0.2904, 0.296, 0.3005, 0.3175, 0.3503, 0.4113, 0.4805, 0.5741, 0.6715, 0.7602, 0.8216, 0.8256, 0.8036, 0.7567, 0.6999, 0.6433, 0.5773, 0.5344, 0.4774, 0.4413, 0.3965, 0.3648, 0.3475, 0.3276, 0.3081, 0.3058, 0.2943, 0.2961], [-0.0833, -0.088, -0.078, -0.076, -0.075, -0.0422, 0.0001, 0.0608, 0.1691, 0.2859, 0.4116, 0.5333, 0.6046, 0.6237, 0.5951, 0.5464, 0.4691, 0.3997, 0.3275, 0.2567, 0.1925, 0.1409, 0.0851, 0.0334, -0.0093, -0.0402, -0.0572, -0.0613, -0.0736, -0.0807], [-0.0023, 0.0013, -0.0055, 0.0011, 0.017, 0.0358, 0.0757, 0.1295, 0.2274, 0.3435, 0.4685, 0.5735, 0.6714, 0.7005, 0.6995, 0.6543, 0.5954, 0.5353, 0.4685, 0.3916, 0.3253, 0.2562, 0.191, 0.1318, 0.0847, 0.0517, 0.0343, 0.0214, 0.0098, 0.0037], [-0.2712, -0.268, -0.2624, -0.2626, -0.2575, -0.2385, -0.2167, -0.1713, -0.1018, -0.0297, 0.0555, 0.1127, 0.1416, 0.1304, 0.07, 0.0117, -0.0626, -0.1188, -0.1623, -0.1878, -0.214, -0.2218, -0.2414, -0.2477, -0.2533, -0.2543, -0.2614, -0.2656, -0.2656, -0.2705]]" "[6.23, 9.61, 0.09, 0.49, 4.04, 8.17, 4.41, 9.58, 4.15, 5.3, 4.78, 3.79]"
mentdb
{"method": "pcr", "n": 12, "variables": 30, "responses": 1, "components": 3, "r2": 0.9999638778263215, "q2": 0.9999374545896458, "rmsec": 0.01750524580055072, "rmsecv": 0.023034511061922475, "cross_validation": [{"components": 0, "rmsecv": 3.2082589326280817, "q2": -0.21332256365272362}, {"components": 1, "rmsecv": 2.363438925131085, "q2": 0.34154482129603014}, {"components": 2, "rmsecv": 1.1783034827537413, "q2": 0.8363365233574327}, {"components": 3, "rmsecv": 0.023034511061922475, "q2": 0.9999374545896458}, {"components": 4, "rmsecv": 0.024943228958764843, "q2": 0.9999266596807305}, {"components": 5, "rmsecv": 0.02628390343888334, "q2": 0.9999185638608362}, {"components": 6, "rmsecv": 0.026863488772083288, "q2": 0.9999149327726505}, {"components": 7, "rmsecv": 0.028871882218872765, "q2": 0.9999017375372695}, {"components": 8, "rmsecv": 0.028323758212041143, "q2": 0.9999054330882761}], "coefficients": [[0.02159862309858646, -0.47199783607341295, -0.4799601403006379, -0.456436037826779, -0.44931851761268726, -0.3908005921298762, -0.2858381942537743, -0.08125547793239019, 0.2534208593151992, 0.7483070548332114, 1.3177979399488704, 1.8691396330880237, 2.249374542974687, 2.2929965070200256, 2.0068850424756963, 1.3561968696885078, 0.6313279040555044, -0.11822020754750745, -0.6724786906819197, -0.9948178457037264, -1.116689518963555, -1.1010499707121086, -1.025901831612332, -0.9124597690957159, -0.786438618347076, -0.6955990832405787, -0.6274105586297843, -0.5381412780243553, -0.5458355655816693, -0.4949138426760578, -0.4999966061146697]]}
stat pcr <json_X> <json_Y> <json_params>
Description
PCR with parameters: components, max_components, folds, scale, predict, seed
PCR with parameters: components, max_components, folds, scale, predict, seed
Parameters
json_X: The rows - String - required
json_Y: The responses - String - required
json_params: The parameters - String - required
json_X: The rows - String - required
json_Y: The responses - String - required
json_params: The parameters - String - required
admin
stat pcr "[[0.1835, 0.1757, 0.1809, 0.1848, 0.1884, 0.2263, 0.269, 0.35, 0.4809, 0.6332, 0.7964, 0.9521, 1.0542, 1.1036, 1.0966, 1.0491, 0.9784, 0.8854, 0.8045, 0.7151, 0.6184, 0.5257, 0.4344, 0.3587, 0.2995, 0.2505, 0.2238, 0.2127, 0.1921, 0.1809], [0.1097, 0.1171, 0.107, 0.1085, 0.1389, 0.1723, 0.2444, 0.3659, 0.5348, 0.7455, 0.9619, 1.1522, 1.2589, 1.2612, 1.1797, 1.0494, 0.8957, 0.7466, 0.6269, 0.531, 0.439, 0.3614, 0.2964, 0.239, 0.1945, 0.1538, 0.1459, 0.1253, 0.1124, 0.1151], [-0.1889, -0.1922, -0.1911, -0.2005, -0.1876, -0.1918, -0.1924, -0.1838, -0.1847, -0.1831, -0.1767, -0.1787, -0.1657, -0.1625, -0.1561, -0.1556, -0.1567, -0.1495, -0.1531, -0.1617, -0.1603, -0.1724, -0.1767, -0.1768, -0.1832, -0.1853, -0.185, -0.185, -0.1883, -0.1911], [0.0178, 0.0221, 0.0147, 0.0181, 0.0213, 0.0327, 0.052, 0.0679, 0.1037, 0.1509, 0.2205, 0.3049, 0.4068, 0.5056, 0.6131, 0.6978, 0.7609, 0.775, 0.7486, 0.6826, 0.5789, 0.4737, 0.3669, 0.2604, 0.1845, 0.1196, 0.0725, 0.0531, 0.0337, 0.0288], [-0.0635, -0.074, -0.0754, -0.0724, -0.0626, -0.0446, -0.0176, 0.0387, 0.1036, 0.1833, 0.275, 0.3373, 0.3785, 0.3695, 0.3329, 0.2644, 0.1979, 0.1337, 0.0805, 0.0503, 0.0195, -0.0058, -0.0165, -0.0396, -0.0504, -0.0592, -0.068, -0.0699, -0.0734, -0.0765], [0.1756, 0.1844, 0.1816, 0.1812, 0.1999, 0.2439, 0.3044, 0.3992, 0.563, 0.7383, 0.9329, 1.1085, 1.2217, 1.2525, 1.2035, 1.1009, 0.9828, 0.8619, 0.7595, 0.6584, 0.5694, 0.477, 0.4019, 0.3336, 0.2789, 0.2395, 0.2131, 0.1951, 0.192, 0.1844], [-0.1706, -0.1731, -0.1621, -0.1614, -0.1533, -0.1329, -0.0954, -0.0346, 0.0526, 0.1673, 0.2944, 0.4079, 0.4916, 0.5481, 0.5501, 0.5276, 0.4854, 0.4289, 0.361, 0.2925, 0.2104, 0.1331, 0.0583, -0.0131, -0.0576, -0.1013, -0.1256, -0.1443, -0.1603, -0.1587], [-0.0459, -0.0525, -0.0458, -0.0349, -0.0223, 0.0183, 0.1052, 0.2145, 0.3913, 0.6133, 0.8515, 1.0569, 1.1945, 1.2333, 1.1803, 1.0728, 0.9345, 0.7981, 0.6731, 0.5592, 0.4427, 0.3377, 0.2401, 0.1512, 0.0931, 0.0325, -0.0022, -0.0233, -0.0299, -0.0423], [0.2875, 0.2913, 0.2904, 0.296, 0.3005, 0.3175, 0.3503, 0.4113, 0.4805, 0.5741, 0.6715, 0.7602, 0.8216, 0.8256, 0.8036, 0.7567, 0.6999, 0.6433, 0.5773, 0.5344, 0.4774, 0.4413, 0.3965, 0.3648, 0.3475, 0.3276, 0.3081, 0.3058, 0.2943, 0.2961], [-0.0833, -0.088, -0.078, -0.076, -0.075, -0.0422, 0.0001, 0.0608, 0.1691, 0.2859, 0.4116, 0.5333, 0.6046, 0.6237, 0.5951, 0.5464, 0.4691, 0.3997, 0.3275, 0.2567, 0.1925, 0.1409, 0.0851, 0.0334, -0.0093, -0.0402, -0.0572, -0.0613, -0.0736, -0.0807], [-0.0023, 0.0013, -0.0055, 0.0011, 0.017, 0.0358, 0.0757, 0.1295, 0.2274, 0.3435, 0.4685, 0.5735, 0.6714, 0.7005, 0.6995, 0.6543, 0.5954, 0.5353, 0.4685, 0.3916, 0.3253, 0.2562, 0.191, 0.1318, 0.0847, 0.0517, 0.0343, 0.0214, 0.0098, 0.0037], [-0.2712, -0.268, -0.2624, -0.2626, -0.2575, -0.2385, -0.2167, -0.1713, -0.1018, -0.0297, 0.0555, 0.1127, 0.1416, 0.1304, 0.07, 0.0117, -0.0626, -0.1188, -0.1623, -0.1878, -0.214, -0.2218, -0.2414, -0.2477, -0.2533, -0.2543, -0.2614, -0.2656, -0.2656, -0.2705]]" "[6.23, 9.61, 0.09, 0.49, 4.04, 8.17, 4.41, 9.58, 4.15, 5.3, 4.78, 3.79]" "{\"components\": 3}"
mentdb
{"method": "pcr", "n": 12, "variables": 30, "responses": 1, "components": 3, "r2": 0.9999638778263215, "q2": 0.9999374545896458, "rmsec": 0.01750524580055072, "rmsecv": 0.023034511061922475, "cross_validation": [{"components": 0, "rmsecv": 3.2082589326280817, "q2": -0.21332256365272362}, {"components": 1, "rmsecv": 2.363438925131085, "q2": 0.34154482129603014}, {"components": 2, "rmsecv": 1.1783034827537413, "q2": 0.8363365233574327}, {"components": 3, "rmsecv": 0.023034511061922475, "q2": 0.9999374545896458}, {"components": 4, "rmsecv": 0.024943228958764843, "q2": 0.9999266596807305}, {"components": 5, "rmsecv": 0.02628390343888334, "q2": 0.9999185638608362}, {"components": 6, "rmsecv": 0.026863488772083288, "q2": 0.9999149327726505}, {"components": 7, "rmsecv": 0.028871882218872765, "q2": 0.9999017375372695}, {"components": 8, "rmsecv": 0.028323758212041143, "q2": 0.9999054330882761}], "coefficients": [[0.02159862309858646, -0.47199783607341295, -0.4799601403006379, -0.456436037826779, -0.44931851761268726, -0.3908005921298762, -0.2858381942537743, -0.08125547793239019, 0.2534208593151992, 0.7483070548332114, 1.3177979399488704, 1.8691396330880237, 2.249374542974687, 2.2929965070200256, 2.0068850424756963, 1.3561968696885078, 0.6313279040555044, -0.11822020754750745, -0.6724786906819197, -0.9948178457037264, -1.116689518963555, -1.1010499707121086, -1.025901831612332, -0.9124597690957159, -0.786438618347076, -0.6955990832405787, -0.6274105586297843, -0.5381412780243553, -0.5458355655816693, -0.4949138426760578, -0.4999966061146697]]}
