repo stringlengths 1 191 ⌀ | file stringlengths 23 351 | code stringlengths 0 5.32M | file_length int64 0 5.32M | avg_line_length float64 0 2.9k | max_line_length int64 0 288k | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
java-smt | java-smt-master/src/org/sosy_lab/java_smt/solvers/z3/Z3Formula.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.solvers.z3;
import static com.google.common.base.... | 4,629 | 27.231707 | 98 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/solvers/z3/Z3FormulaCreator.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.solvers.z3;
import static com.google.common.base.... | 36,637 | 37.729387 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/solvers/z3/Z3FormulaManager.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.solvers.z3;
import com.google.common.base.Precond... | 8,647 | 34.588477 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/solvers/z3/Z3IntegerFormulaManager.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.solvers.z3;
import com.microsoft.z3.Native;
impor... | 2,436 | 28.361446 | 96 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/solvers/z3/Z3Model.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.solvers.z3;
import com.google.common.base.Precond... | 14,497 | 36.079284 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/solvers/z3/Z3NumeralFormulaManager.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.solvers.z3;
import com.google.common.primitives.L... | 3,507 | 27.520325 | 96 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/solvers/z3/Z3OptimizationProver.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.solvers.z3;
import com.google.common.base.Precond... | 7,184 | 31.075893 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/solvers/z3/Z3QuantifiedFormulaManager.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.solvers.z3;
import static com.google.common.base.... | 1,779 | 30.785714 | 99 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/solvers/z3/Z3RationalFormulaManager.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.solvers.z3;
import com.microsoft.z3.Native;
impor... | 1,252 | 27.477273 | 97 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/solvers/z3/Z3SolverContext.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.solvers.z3;
import com.google.common.base.Precond... | 11,069 | 36.653061 | 95 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/solvers/z3/Z3SolverException.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.solvers.z3;
import org.sosy_lab.java_smt.api.Solv... | 599 | 26.272727 | 87 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/solvers/z3/Z3StringFormulaManager.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2021 AlejandroSerranoMena
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.solvers.z3;
import com.google.common.base.Preconditions;
import co... | 4,688 | 24.763736 | 91 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/solvers/z3/Z3TheoremProver.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.solvers.z3;
import com.google.common.collect.Immu... | 1,251 | 31.102564 | 83 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/solvers/z3/Z3UFManager.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.solvers.z3;
import org.sosy_lab.java_smt.basicimp... | 481 | 24.368421 | 69 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/solvers/z3/package-info.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
/** Interface to the SMT solver Z3 (based on the native C API and JNI). */
@com.... | 581 | 37.8 | 74 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/ArrayFormulaManagerTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2021 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static org.sosy_lab.java_smt.api.For... | 7,619 | 40.413043 | 98 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/BitvectorFormulaManagerTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2022 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 15,109 | 36.680798 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/BooleanFormulaManagerTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 16,278 | 39.799499 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/BooleanFormulaSubject.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.base.Precon... | 9,890 | 38.094862 | 99 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/BooleanFormulaSubjectTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Expec... | 7,518 | 33.810185 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/EnumerationFormulaManagerTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2023 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 11,158 | 40.951128 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/ExceptionHandlerTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2023 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import org.junit.Test;
/** Test that excep... | 654 | 27.478261 | 90 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/FloatingPointFormulaManagerTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 38,464 | 40.764387 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/FormulaClassifierTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 8,241 | 32.233871 | 97 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/FormulaManagerTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 13,910 | 41.671779 | 99 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/Fuzzer.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import edu.umd.cs.findbugs.annotations.Supp... | 2,453 | 27.206897 | 74 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/HardBitvectorFormulaGenerator.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import com.google.common.base.Preconditions... | 2,421 | 34.617647 | 99 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/HardIntegerFormulaGenerator.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import com.google.common.base.Preconditions... | 2,120 | 34.35 | 99 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/IntegerTheoryFuzzer.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import edu.umd.cs.findbugs.annotations.Supp... | 2,730 | 29.010989 | 90 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/InterpolatingProverTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.collect.Ite... | 36,610 | 35.428856 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/InterpolatingProverWithAssumptionsWrapperTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import org.sosy_lab.java_smt.api.Interpolat... | 911 | 35.48 | 104 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/ModelEvaluationTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2023 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static org.sosy_lab.java_smt.test.Pr... | 7,818 | 37.517241 | 98 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/ModelTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 94,238 | 38.200915 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/NonLinearArithmeticTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.collect.Imm... | 9,220 | 33.02583 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/NonLinearArithmeticWithModuloTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.collect.Imm... | 5,233 | 32.33758 | 98 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/NumeralFormulaManagerTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 4,664 | 34.884615 | 97 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/OptimizationTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 7,974 | 35.582569 | 97 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/PrettyPrinterTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 12,556 | 39.118211 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/ProverEnvironmentSubject.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 3,856 | 35.386792 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/ProverEnvironmentSubjectTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Expec... | 3,998 | 36.027778 | 99 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/ProverEnvironmentTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 6,321 | 39.525641 | 105 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/QuantifierManagerTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 41,980 | 36.651121 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/RationalFormulaManagerTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 4,891 | 34.708029 | 97 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/SolverAllSatTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 8,030 | 30.494118 | 98 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/SolverBasedTest0.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 13,671 | 33.351759 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/SolverConcurrencyTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 25,068 | 37.987558 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/SolverContextFactoryTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2021 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 5,477 | 33.670886 | 99 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/SolverContextTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 4,360 | 34.455285 | 99 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/SolverFormulaIODeclarationsTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2021 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 11,061 | 38.088339 | 99 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/SolverFormulaIOTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.collect.Ite... | 17,734 | 37.05794 | 99 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/SolverFormulaWithAssumptionsTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 6,253 | 34.134831 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/SolverStackTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 23,004 | 32.731672 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/SolverTacticsTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 15,243 | 32.283843 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/SolverTheoriesTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2022 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 46,416 | 36.193109 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/SolverVisitorTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 44,973 | 37.604292 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/StringFormulaManagerTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2021 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 72,824 | 43.029625 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/TimeoutTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static org.junit.Assert.assertThrows... | 4,866 | 33.034965 | 95 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/TranslateFormulaTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 6,541 | 33.431579 | 98 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/UFManagerTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 14,029 | 34.251256 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/UfEliminationTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 12,591 | 44.789091 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/VariableNamesEscaperTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 1,239 | 25.956522 | 89 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/VariableNamesInvalidTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import edu.umd.cs.findbugs.annotations.Supp... | 2,244 | 29.753425 | 98 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/VariableNamesTest.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.test;
import static com.google.common.truth.Truth... | 19,853 | 29.544615 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/test/package-info.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
/** Solver-independent tests and test utilities for the solver API. */
@com.goog... | 512 | 35.642857 | 70 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/utils/PrettyPrinter.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2021 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.utils;
import com.google.common.collect.Immutable... | 9,237 | 32.230216 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/utils/SolverUtils.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.utils;
import org.sosy_lab.java_smt.api.FormulaMa... | 1,071 | 27.210526 | 77 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/utils/UfElimination.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
package org.sosy_lab.java_smt.utils;
import static com.google.common.base.Preco... | 13,117 | 36.587393 | 100 | java |
java-smt | java-smt-master/src/org/sosy_lab/java_smt/utils/package-info.java | // This file is part of JavaSMT,
// an API wrapper for a collection of SMT solvers:
// https://github.com/sosy-lab/java-smt
//
// SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0
/** Utility classes implementing algorithms based on the API of JavaSMT. */
@com... | 577 | 37.533333 | 75 | java |
JSAT | JSAT-master/JSAT/src/jsat/ColumnMajorStore.java | /*
* Copyright (C) 2018 Edward Raff
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distri... | 10,148 | 28.675439 | 120 | java |
JSAT | JSAT-master/JSAT/src/jsat/DataSet.java |
package jsat;
import java.lang.ref.SoftReference;
import java.util.*;
import java.util.stream.IntStream;
import java.util.stream.StreamSupport;
import jsat.classifiers.CategoricalData;
import jsat.classifiers.DataPoint;
import jsat.datatransform.DataTransform;
import jsat.datatransform.FixedDataTransform;
import jsat... | 33,316 | 34.51919 | 145 | java |
JSAT | JSAT-master/JSAT/src/jsat/DataStore.java | /*
* Copyright (C) 2018 Edward Raff
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distri... | 11,512 | 32.468023 | 204 | java |
JSAT | JSAT-master/JSAT/src/jsat/RowMajorStore.java | /*
* Copyright (C) 2018 Edward Raff
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distri... | 6,631 | 26.292181 | 104 | java |
JSAT | JSAT-master/JSAT/src/jsat/SimpleDataSet.java |
package jsat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import jsat.classifiers.CategoricalData;
import jsat.classifiers.ClassificationDataSet;
import jsat.classifiers.DataPoint;
import jsat.linear.DenseVector... | 6,239 | 32.368984 | 157 | java |
JSAT | JSAT-master/JSAT/src/jsat/SimpleWeightVectorModel.java | package jsat;
import jsat.linear.ConstantVector;
import jsat.linear.Vec;
/**
* This interface is for multi-class classification problems where there may be
* <i>K</i> or <i>K-1</i> weight vectors for <i>K</i> classes. For regression
* problems it is treated as <i>K = 1</i> and there should be only one weight
*... | 1,977 | 34.963636 | 80 | java |
JSAT | JSAT-master/JSAT/src/jsat/SingleWeightVectorModel.java | package jsat;
import jsat.linear.Vec;
/**
* This interface is for binary classification and regression problems where the
* solution can be represented as a single weight vector.
*
* @author Edward Raff
*/
public interface SingleWeightVectorModel extends SimpleWeightVectorModel
{
/**
* Returns the onl... | 1,358 | 24.641509 | 145 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/BaseUpdateableClassifier.java |
package jsat.classifiers;
import java.util.Collections;
import jsat.utils.IntList;
import jsat.utils.ListUtils;
/**
* A base implementation of the UpdateableClassifier.
* {@link #train(jsat.classifiers.ClassificationDataSet, java.util.concurrent.ExecutorService) } will simply call
* {@link #train(jsat.classifie... | 3,058 | 28.990196 | 114 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/CategoricalData.java |
package jsat.classifiers;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author Edward Raff
*/
public class CategoricalData implements Cloneable, Serializable
{
private static final long serialVersionUID = 5783467611963064930L;
private int n;//Number of different... | 2,925 | 24.224138 | 133 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/CategoricalResults.java |
package jsat.classifiers;
import java.io.Serializable;
import java.util.Arrays;
import jsat.linear.DenseVector;
import jsat.linear.Vec;
/**
* This class represents the probabilities for each possible result classification.
* @author Edward Raff
*/
public class CategoricalResults implements Cloneable, Serializabl... | 4,686 | 29.633987 | 131 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/ClassificationDataSet.java |
package jsat.classifiers;
import java.util.*;
import jsat.DataSet;
import jsat.DataStore;
import jsat.linear.DenseVector;
import jsat.linear.IndexValue;
import jsat.linear.Vec;
import jsat.utils.IntList;
import jsat.utils.ListUtils;
/**
* ClassificationDataSet is a data set meant specifically for classification pro... | 21,595 | 35.47973 | 157 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/ClassificationModelEvaluation.java |
package jsat.classifiers;
import java.util.*;
import java.util.Map.Entry;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.logging.Level;
import java.util.logging.Logger;
import jsat.DataSet;
import jsat.classifiers.evaluation.ClassificationScore;
import jsat.d... | 23,316 | 37.732558 | 143 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/Classifier.java |
package jsat.classifiers;
import java.io.Serializable;
import jsat.exceptions.FailedToFitException;
import jsat.exceptions.ModelMismatchException;
import jsat.exceptions.UntrainedModelException;
/**
* A Classifier is used to predict the target class of new unseen data points.
*
* @author Edward Raff
*/
public ... | 2,312 | 37.55 | 96 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/DDAG.java | package jsat.classifiers;
import java.util.PriorityQueue;
/**
* Decision Directed Acyclic Graph (DDAG) classifier. DDAG extends
* binary decision classifiers into multi-class decision classifiers. Unlike
* {@link OneVSOne}, DDAG results are hard classification decisions, and will
* not give probabilistic estima... | 3,185 | 32.893617 | 132 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/DataPoint.java |
package jsat.classifiers;
import java.io.Serializable;
import java.util.Arrays;
import jsat.linear.Vec;
/**
* This is the general class object for representing a singular data point in a data set.
* Every data point is made up of either categorical variables, numerical variables,
* or a combination of the two. ... | 5,025 | 29.834356 | 116 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/DataPointPair.java |
package jsat.classifiers;
import java.io.Serializable;
import jsat.linear.Vec;
/**
*
* This class exists so that any data point can be arbitrarily paired with some value
* @author Edward Raff
*/
public class DataPointPair<P> implements Serializable
{
private static final long serialVersionUID = 509130899887322... | 1,061 | 18.666667 | 95 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/MajorityVote.java |
package jsat.classifiers;
import java.util.List;
import java.util.concurrent.ExecutorService;
/**
* The Majority Vote classifier is a simple ensemble classifier. Given a list of base classifiers,
* it will sum the most likely votes from each base classifier and return a result based on the
* majority votes. It ... | 3,283 | 30.27619 | 125 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/OneVSAll.java |
package jsat.classifiers;
import java.util.ArrayList;
import java.util.List;
import jsat.classifiers.calibration.BinaryScoreClassifier;
import jsat.parameters.Parameter.ParameterHolder;
import jsat.parameters.Parameterized;
import jsat.utils.concurrent.ParallelUtils;
/**
* This classifier turns any classifier, spec... | 6,628 | 36.241573 | 134 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/OneVSOne.java | package jsat.classifiers;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.logging.Level;
import java.util.logging.Logger;
import jsat.parameters.Parameter.ParameterHolder;... | 6,913 | 33.57 | 149 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/PriorClassifier.java | package jsat.classifiers;
import java.util.concurrent.ExecutorService;
import jsat.exceptions.UntrainedModelException;
/**
* A Naive classifier that simply returns the prior probabilities as the
* classification decision.
*
* @author Edward Raff
*/
public class PriorClassifier implements Classifier
{
privat... | 1,713 | 22.162162 | 86 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/RegressorToClassifier.java | package jsat.classifiers;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.ExecutorService;
import jsat.classifiers.calibration.BinaryScoreClassifier;
import jsat.parameters.Parameter;
import jsat.parameters.Parameterized;
import jsat.regression.RegressionDataSet;
import jsat.regression... | 3,172 | 27.845455 | 110 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/Rocchio.java |
package jsat.classifiers;
import java.util.*;
import java.util.concurrent.atomic.DoubleAdder;
import jsat.exceptions.FailedToFitException;
import jsat.linear.DenseVector;
import jsat.linear.Vec;
import jsat.linear.distancemetrics.*;
import jsat.utils.DoubleList;
import jsat.utils.concurrent.ParallelUtils;
/**
*
* ... | 3,775 | 28.5 | 119 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/UpdateableClassifier.java | package jsat.classifiers;
import jsat.exceptions.UntrainedModelException;
/**
* UpdateableClassifier is an interface for one type of Online learner. The main
* characteristic of an online learning is that new example points can be added
* incremental after the classifier was initially trained, or as part of its
... | 2,604 | 41.016129 | 114 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/WarmClassifier.java | package jsat.classifiers;
/**
* This interface is meant for models that support efficient warm starting from
* the solution of a previous model. Training with a warm start means that
* instead of solving the problem from scratch, the code can use a previous
* solution to start closer towards its goal. <br>
* <... | 3,054 | 42.642857 | 96 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/bayesian/AODE.java | package jsat.classifiers.bayesian;
import jsat.classifiers.*;
import jsat.exceptions.FailedToFitException;
import jsat.utils.concurrent.ParallelUtils;
/**
* Averaged One-Dependence Estimators (AODE) is an extension of Naive Bayes that
* attempts to be more accurate by reducing the independence assumption. For
* <... | 4,473 | 28.434211 | 113 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/bayesian/BestClassDistribution.java |
package jsat.classifiers.bayesian;
import java.util.*;
import java.util.stream.Collectors;
import jsat.classifiers.*;
import jsat.distributions.multivariate.MultivariateDistribution;
import jsat.parameters.*;
import jsat.utils.concurrent.ParallelUtils;
/**
* BestClassDistribution is a generic class for performing ... | 4,330 | 28.664384 | 152 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/bayesian/ConditionalProbabilityTable.java |
package jsat.classifiers.bayesian;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ExecutorService;
import jsat.DataSet;
import jsat.classifiers.CategoricalData;
import jsat.classifiers.CategoricalResults;
import jsat.classifiers.Classificati... | 11,522 | 38.193878 | 163 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/bayesian/MultinomialNaiveBayes.java |
package jsat.classifiers.bayesian;
import static java.lang.Math.exp;
import java.util.Arrays;
import jsat.classifiers.*;
import jsat.exceptions.FailedToFitException;
import jsat.exceptions.UntrainedModelException;
import jsat.linear.IndexValue;
import jsat.linear.Vec;
import jsat.math.MathTricks;
import jsat.paramete... | 11,424 | 33.412651 | 113 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/bayesian/MultivariateNormals.java | package jsat.classifiers.bayesian;
import jsat.distributions.multivariate.NormalM;
/**
* This classifier can be seen as an extension of {@link NaiveBayes}. Instead of treating the variables as independent,
* each class uses all of its variables to fit a {@link NormalM Multivariate Normal} distribution. As such, it ... | 1,424 | 25.388889 | 123 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/bayesian/NaiveBayes.java |
package jsat.classifiers.bayesian;
import static java.lang.Math.exp;
import static java.lang.Math.log;
import java.util.*;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import jsat.classifiers.*;
import static jsat.distributions.DistributionSearch.getBestDistribution;
impo... | 15,098 | 32.553333 | 148 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/bayesian/NaiveBayesUpdateable.java | package jsat.classifiers.bayesian;
import java.util.Arrays;
import jsat.classifiers.*;
import jsat.distributions.Normal;
import jsat.exceptions.UntrainedModelException;
import jsat.linear.IndexValue;
import jsat.linear.Vec;
import jsat.math.OnLineStatistics;
import static java.lang.Math.*;
import jsat.math.MathTricks;... | 8,101 | 33.476596 | 148 | java |
JSAT | JSAT-master/JSAT/src/jsat/classifiers/bayesian/ODE.java | package jsat.classifiers.bayesian;
import java.util.Arrays;
import jsat.classifiers.*;
import jsat.exceptions.FailedToFitException;
/**
* One-Dependence Estimators (ODE) is an extension of Naive Bayes that, instead
* of assuming all features are independent, assumes all features are dependent
* on one other feat... | 6,120 | 32.086486 | 113 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.