h2o-py/h2o/estimators/word2vec.py
def from_external(external=H2OFrame):
        """
        Creates new H2OWord2vecEstimator based on an external model.
        :param external: H2OFrame with an external model
        :return: H2OWord2vecEstimator instance representing the external model
        """
        w2v_model = H2OWord2vecEstimator(pre_trained=external)
        w2v_model.train()
        return w2v_model
def from_external(external=H2OFrame):
        """
        Creates new H2OWord2vecEstimator based on an external model.
        :param external: H2OFrame with an external model
        :return: H2OWord2vecEstimator instance representing the external model
        """
        w2v_model = H2OWord2vecEstimator(pre_trained=external)
        w2v_model.train()
        return w2v_model
def from_external ( external = H2OFrame ) : w2v_model = H2OWord2vecEstimator ( pre_trained = external ) w2v_model . train ( ) return w2v_model
Creates new H2OWord2vecEstimator based on an external model.
        :param external: H2OFrame with an external model
        :return: H2OWord2vecEstimator instance representing the external model
Creates new H2OWord2vecEstimator based on an external model . : param external : H2OFrame with an external model : return : H2OWord2vecEstimator instance representing the external model