Configuring Xtensions
An IBM® SPSS® Statistics Server administrator must follow steps to make the Xtension procedures (krr, lenr, lrr, and lrr) available to run in statsb and SPSS Statistics Server. The Xtension procedures include:
- Kernel Ridge Regression (KRR)
- Linear Elastic Net Regression (LENR)
- Linear Lasso Regression (LLR)
- Linear Ridge Regression (LRR)
Installing Xtensions on SPSS Statistics Server
- On the IBM SPSS Statistics client, install the Xtensions (in local mode) from the Extension Hub.
- Ensure that the sklearn library is installed on the IBM SPSS Statistics
Server.
- UNIX®
- Run the following command as the user who installed SPSS Statistics
Server.
./statisticspython3 -m pip install sklearn
Note: statisticspython3 is located in the SPSS Statistics Server installation's bin directory. - Windows®
- Run the following
command.
statisticspython3.bat -m pip install sklearn
Note: statisticspython3.bat Is located in the SPSS Statistics Server installation directory.
- Copy the xtensions directory and its contents from the SPSS Statistics client (%APPDATA%\IBM\SPSS Statistics\one\xtensions\ on Windows, $HOME/Library/Application Support/IBM/SPSS Statistics/one/xtensions on macOS) to the SPSS Statistics Server installation directory.
SPSS Statistics Server is now ready to run the Xtension procedures that are installed under the xtensions directory.