Published July 23, 2024 | Journal article | Version v1 | https://doi.org/10.21105/joss.06533

IKPLS: Improved Kernel Partial Least Squares and Fast Cross-Validation Algorithms for Python with CPU and GPU Implementations Using NumPy and JAX

Files

IKPLS-v1.2.4.zip

Files (1.0 MB)

Name Size Download all
md5:e0fccb1b3bde53014dc6960342ab4d7c
481.6 kB Preview Download
md5:0b0518597e6677dee3cab676738907a5
521.3 kB Preview Download

Additional details

Dates

Issued
July 23, 2024

References

  1. Engstrøm, O.-C. G., Dreier, E. S., Jespersen, B. M., & Pedersen, K. S. (2024). IKPLS: Improved Kernel Partial Least Squares and Fast Cross-Validation Algorithms for Python with CPU and GPU Implementations Using NumPy and JAX (Version v1.2.4) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.12794521
  2. Wold, H. (1966). Estimation of principal components and related models by iterative least squares. Multivariate Analysis, 391–420.
  3. Wold, S., Albano, C., Dunn, W. J., Esbensen, K., Hellberg, S., Johansson, E., Sjöström, M., Martens, H., & Russwurm, J. (1983). Food research and data analysis. London: H. Martens and H. Russwurn Jr.
  4. Wold, S., Sjöström, M., & Eriksson, L. (2001). PLS-regression: a basic tool of chemometrics. Chemometrics and Intelligent Laboratory Systems, 58(2), 109–130. https://doi.org/10.1016/s0169-7439(01)00155-1
  5. Barker, M., & Rayens, W. (2003). Partial least squares for discrimination. Journal of Chemometrics, 17(3), 166–173. https://doi.org/10.1002/cem.785
  6. Dayal, B. S., & MacGregor, J. F. (1997). Improved PLS algorithms. Journal of Chemometrics: A Journal of the Chemometrics Society, 11(1), 73–85. https://doi.org/10.1002/(SICI)1099-128X(199701)11:1<73::AID-CEM435>3.0.CO;2-%23 https://doi.org/10.1002/(sici)1099-128x(199701)11:1%3C73::aid-cem435%3E3.0.co;2-%23
  7. Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V., Vanderplas, J., Passos, A., Cournapeau, D., Brucher, M., Perrot, M., & Duchesnay, E. (2011). Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12, 2825–2830.
  8. Rinnan, Å., Berg, F. van . den ., & Engelsen, S. B. (2009). Review of the most common pre-processing techniques for near-infrared spectra. TrAC Trends in Analytical Chemistry, 28(10), 1201–1222. https://doi.org/10.1016/j.trac.2009.07.007
  9. Sørensen, K. M., van den Berg, F., & Engelsen, S. B. (2020). NIR Data Exploration and Regression by Chemometrics—A Primer. In Near-Infrared Spectroscopy (pp. 127–189). Springer Singapore. https://doi.org/10.1007/978-981-15-8648-4_7
  10. Du, Z., Tian, W., Tilley, M., Wang, D., Zhang, G., & Li, Y. (2022). Quantitative assessment of wheat quality using near‐infrared spectroscopy: A comprehensive review. Comprehensive Reviews in Food Science and Food Safety, 21(3), 2956–3009. https://doi.org/10.1111/1541-4337.12958
  11. Alin, A. (2009). Comparison of PLS algorithms when number of objects is much larger than number of variables. Statistical Papers, 50(4), 711–720. https://doi.org/10.1007/s00362-009-0251-7
  12. Andersson, M. (2009). A comparison of nine PLS1 algorithms. Journal of Chemometrics, 23(10), 518–529. https://doi.org/10.1002/cem.1248
  13. Engstrøm, O.-C. G., Schou Dreier, E., Jespersen, B. M., & Steenstrup Pedersen, K. (2023). Improving Deep Learning on Hyperspectral Images of Grain by Incorporating Domain Knowledge from Chemometrics. 2023 IEEE/CVF International Conference on Computer Vision Workshops (ICCVW), 485–494. https://doi.org/10.1109/iccvw60793.2023.00055
  14. Engstrøm, O.-C. G., Dreier, E. S., Jespersen, B. M., & Pedersen, K. S. (2023). Analyzing Near-Infrared Hyperspectral Imaging for Protein Content Regression and Grain Variety Classification Using Bulk References and Varying Grain-to-Background Ratios (Version 1) [Article]. arXiv. https://doi.org/10.48550/arxiv.2311.04042
  15. Harris, C. R., Millman, K. J., van der Walt, S. J., Gommers, R., Virtanen, P., Cournapeau, D., Wieser, E., Taylor, J., Berg, S., Smith, N. J., Kern, R., Picus, M., Hoyer, S., van Kerkwijk, M. H., Brett, M., Haldane, A., del Río, J. F., Wiebe, M., Peterson, P., … Oliphant, T. E. (2020). Array programming with NumPy. Nature, 585(7825), 357–362. https://doi.org/10.1038/s41586-020-2649-2
  16. Bradbury, J., Frostig, R., Hawkins, P., Johnson, M. J., Leary, C., Maclaurin, D., Necula, G., Paszke, A., VanderPlas, J., Wanderman-Milne, S., & Zhang, Q. (2018). JAX: Composable transformations of Python+NumPy programs (Version 0.3.13). https://github.com/google/jax
  17. Maclaurin, D., Duvenaud, D., & Adams, R. P. (2015). Autograd: Effortless gradients in numpy. ICML 2015 AutoML Workshop, 238, 5.
  18. Dreier, E. S., Sorensen, K. M., Lund-Hansen, T., Jespersen, B. M., & Pedersen, K. S. (2022). Hyperspectral imaging for classification of bulk grain samples with deep convolutional neural networks. Journal of Near Infrared Spectroscopy, 30(3), 107–121. https://doi.org/10.1177/09670335221078356
  19. Baum, A., & Vermue, L. (2019). Multiblock PLS: Block dependent prediction modeling for Python. Journal of Open Source Software, 4(34), 1190. https://doi.org/10.21105/joss.01190
  20. Engstrøm, O.-C. G., & Jensen, M. H. (2024). Fast Partition-Based Cross-Validation With Centering and Scaling for $\mathbf{X}^\mathbf{T}\mathbf{X}$ and $\mathbf{X}^\mathbf{T}\mathbf{Y}$ (Version 4) [Article]. arXiv. https://doi.org/10.48550/arxiv.2401.13185