def __init__(self, host=None, user=None, okapi_jar_dir=None, okapi_jar_base_name=None, public_key_path=None,
                 hadoop_source=None, okapi_output=None, okapi_input=None, model_java_class=None):
        env.host_string = host or "localhost"
        env.user = user or getpass.getuser()
        if public_key_path:
            env.key_filename = public_key_path

        self._okapi_local_repository = okapi_jar_dir or self._okapi_local_repository
        self._okapi_jar = okapi_jar_base_name or self._okapi_jar
        self._model_java_class = model_java_class

        # Change source
        self._source = hadoop_source or self._source

        self._std_input = okapi_input or self._std_input
        self._std_output = okapi_output or self._std_output
Constructor
dataset/ETHPy150Open grafos-ml/test.fm/src/testfm/okapi/connector.py/BaseOkapiModel.__init__