All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.deeplearning4j.models.word2vec.Word2VecResult Maven / Gradle / Ivy

/*
 *
 *  * Copyright 2015 Skymind,Inc.
 *  *
 *  *    Licensed under the Apache License, Version 2.0 (the "License");
 *  *    you may not use this file except in compliance with the License.
 *  *    You may obtain a copy of the License at
 *  *
 *  *        http://www.apache.org/licenses/LICENSE-2.0
 *  *
 *  *    Unless required by applicable law or agreed to in writing, software
 *  *    distributed under the License is distributed on an "AS IS" BASIS,
 *  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  *    See the License for the specific language governing permissions and
 *  *    limitations under the License.
 *
 */

package org.deeplearning4j.models.word2vec;

import org.nd4j.linalg.api.ndarray.INDArray;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by agibsonccc on 11/29/14.
 */
public class Word2VecResult implements Serializable {
    private Map syn0Change = new HashMap<>();
    private Map syn1Change = new HashMap<>();
    private Map negativeChange = new HashMap<>();



    public Word2VecResult() {}

    public Word2VecResult(Map syn0Change, Map syn1Change, Map negativeChange) {
        this.syn0Change = syn0Change;
        this.syn1Change = syn1Change;
        this.negativeChange = negativeChange;
    }

    public Map getSyn0Change() {
        return syn0Change;
    }

    public void setSyn0Change(Map syn0Change) {
        this.syn0Change = syn0Change;
    }

    public Map getSyn1Change() {
        return syn1Change;
    }

    public void setSyn1Change(Map syn1Change) {
        this.syn1Change = syn1Change;
    }

    public Map getNegativeChange() {
        return negativeChange;
    }

    public void setNegativeChange(Map negativeChange) {
        this.negativeChange = negativeChange;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy