j143 opened a new pull request, #2017:
URL: https://github.com/apache/systemds/pull/2017

   
   This is not fixing the log4j issue -- 
https://github.com/apache/systemds/commit/387b6c1c8e472dde65a36e8f3fd22091054ed347
   
   ```py
   
   import logging
   
   from systemds.context import SystemDSContext
   from systemds.operator.algorithm import l2svm
   
   with SystemDSContext() as sds:
       # Generate 10 by 10 matrix with values in range 0 to 100.
       features = sds.rand(10, 10, 0, 100)
       # Add value to all cells in features
       features += 1.1
       # Generate labels of all ones and zeros
       labels = sds.rand(10, 1, 1, 1, sparsity=0.5)
   
       model = l2svm(features, labels, verbose=False).compute()
       logging.info(model)
   ```
   
   
   $ python ~/test.py 
   24/04/08 03:26:16 WARN util.NativeCodeLoader: Unable to load native-hadoop 
library for your platform... using builtin-java classes where applicable
   $
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to