This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.tactico.tm.nn.graphs; | |
| import java.io.File; | |
| import java.io.FileNotFoundException; | |
| import java.io.IOException; | |
| import org.deeplearning4j.api.storage.StatsStorage; | |
| import org.deeplearning4j.nn.api.Layer; | |
| import org.deeplearning4j.nn.api.OptimizationAlgorithm; | |
| import org.deeplearning4j.nn.conf.BackpropType; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.tactico.tm.nn.graphs.confs; | |
| import org.deeplearning4j.api.storage.StatsStorage; | |
| import org.deeplearning4j.nn.api.OptimizationAlgorithm; | |
| import org.deeplearning4j.nn.conf.BackpropType; | |
| import org.deeplearning4j.nn.conf.ComputationGraphConfiguration; | |
| import org.deeplearning4j.nn.conf.NeuralNetConfiguration; | |
| import org.deeplearning4j.nn.conf.Updater; | |
| import org.deeplearning4j.nn.conf.inputs.InputType; | |
| import org.deeplearning4j.nn.conf.layers.GravesLSTM; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [INFO] Scanning for projects... | |
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] Reactor Build Order: | |
| [INFO] | |
| [INFO] nd4j | |
| [INFO] nd4j-shade | |
| [INFO] jackson | |
| [INFO] nd4j-common | |
| [INFO] nd4j-context | |
| [INFO] nd4j-buffer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| eval cmake | |
| Running windows | |
| PACKAGING = none | |
| BUILD = release | |
| CHIP = cpu | |
| ARCH = x86-64 | |
| CHIP_VERSION = | |
| GPU_COMPUTE_CAPABILITY = all | |
| EXPERIMENTAL = no | |
| LIBRARY TYPE = dynamic |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| eval cmake | |
| Running windows | |
| PACKAGING = none | |
| BUILD = release | |
| CHIP = cuda | |
| ARCH = x86-64 | |
| CHIP_VERSION = | |
| GPU_COMPUTE_CAPABILITY = 50 | |
| EXPERIMENTAL = no | |
| LIBRARY TYPE = dynamic |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.tactico.tm.bugs; | |
| import org.deeplearning4j.nn.api.OptimizationAlgorithm; | |
| import org.deeplearning4j.nn.conf.BackpropType; | |
| import org.deeplearning4j.nn.conf.ComputationGraphConfiguration; | |
| import org.deeplearning4j.nn.conf.NeuralNetConfiguration; | |
| import org.deeplearning4j.nn.conf.Updater; | |
| import org.deeplearning4j.nn.conf.inputs.InputType; | |
| import org.deeplearning4j.nn.conf.layers.RnnOutputLayer; | |
| import org.deeplearning4j.nn.weights.WeightInit; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import gpflow as gp | |
| import numpy as np | |
| import pylab as plt | |
| import tensorflow as tf | |
| X = np.array([[ 1.16527441e+09], | |
| [ 1.16527442e+09], | |
| [ 1.16527443e+09], | |
| [ 1.16527443e+09], | |
| [ 1.16527444e+09], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import tensorflow as tf | |
| from gpflow.likelihoods import Likelihood | |
| from gpflow import densities | |
| from gpflow.decors import params_as_tensors | |
| from gpflow.params import Parameter | |
| from gpflow.transforms import Transform, positive, Chain | |
| from gpflow import settings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --------------------------------------------------------------------------- | |
| ValueError Traceback (most recent call last) | |
| <ipython-input-65-a4128a1c8e7f> in <module>() | |
| 14 gp = pm.gp.Marginal(cov_func=cov_func) | |
| 15 f = gp.marginal_likelihood('f',X,y,0.1) | |
| ---> 16 f_star = gp.conditional('fstar',Xnew) | |
| 17 | |
| ~/anaconda3/envs/kerastf/lib/python3.6/site-packages/pymc3-3.3rc2-py3.6.egg/pymc3/gp/gp.py in conditional(self, name, Xnew, pred_noise, given, **kwargs) | |
| 501 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def speed_test_jax(): | |
| import numpy as np | |
| from jax import jit,value_and_grad, random | |
| from jax.scipy.optimize import minimize as minimize_jax | |
| from scipy.optimize import minimize as minimize_np | |
| import pylab as plt | |
| from timeit import default_timer | |
| S = 3 |