Baunsgaard commented on a change in pull request #874: Add SystemDSContext for 
systemds operations
URL: https://github.com/apache/systemml/pull/874#discussion_r406423876
 
 

 ##########
 File path: src/main/python/docs/source/matrix.rst
 ##########
 @@ -23,6 +23,39 @@
 Matrix API
 ==========
 
+SystemDSContext
+---------------
+
+All operations using SystemDS need a java instance running.
+The connection is ensured by an ``SystemDSContext`` object.
+An ``SystemDSContext`` object can be created using:
+
+.. code_block:: python
+  sysds = SystemDSContext()
+
+When the calculations are finished the context has to be closed again:
+
+.. code_block:: python
+  sysds.close()
+
+Since it is annoying that it is always necessary to close the context, 
``SystemDSContext``
 
 Review comment:
   maybe change word annoying, since it is negatively loaded?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to