trustyai.initializer.init
- trustyai.initializer.init(*args, path=JAVA_DEPENDENCIES)
Manually initialize the JVM. If you would like to manually specify the Java libraries to be imported, for example if you want to use a different version of the Trusty Explainability library than is bundled by default, you can do so by calling
init(). If this is not manually called, trustyai will use the default set of libraries and automatically initialize itself when necessary.- Parameters:
- args: list
List of args to be passed to
jpype.startJVM. See the JPype manual for more details.- path: list[str]
List of jar files to add the Java class path. By default, this will add the necessary dependencies of the TrustyAI Java library.