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
| carla-server-8e64b277ea18f28d |
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
| model m; | |
| arma::mat images; | |
| StandardSGD s(0.0003, 1, 1, 1e-9, true); | |
| CustomCallback cb(images); | |
| std::stringstream stream; | |
| s.Optimize(model, coordinates, cb); |
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
| <?xml version="1.0"?> | |
| <valgrindoutput> | |
| <protocolversion>4</protocolversion> | |
| <protocoltool>memcheck</protocoltool> | |
| <preamble> | |
| <line>Memcheck, a memory error detector</line> | |
| <line>Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.</line> |
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 mlpack | |
| /* | |
| #cgo CFLAGS: -I/srv/conda/envs/notebook/include/ -I. -I/capi -g -Wall -Wno-unused-variable | |
| #cgo LDFLAGS: -L. /srv/conda/envs/notebook/lib/libgo_util.so | |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <capi/cli_util.h> | |
| #include <capi/arma_util.h> | |
| */ |
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
| // Image saving API for multiple files. | |
| template<typename eT> | |
| bool Save(const std::vector<std::string>& files, | |
| arma::Mat<eT>& matrix, | |
| ImageInfo& info, | |
| const bool fatal, | |
| const bool transpose) | |
| { | |
| if (files.size() == 0) | |
| { |
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
| arma::cube imageA(28, 28, 3); | |
| imageA.fill(1.0); | |
| arma::cube imageB(28, 28, 3); | |
| imageB.fill(0.5); | |
| arma::mat imageData(28*28*3, 100); | |
| imageData.fill(1.0); | |
| arma::mat imageLabels = arma::zeros<arma::mat>(1, 100); |
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
| template<typename EnvType> | |
| class EnvWrapper | |
| { | |
| public: | |
| EnvWrapper(const EnvType& env) : env(env) {} | |
| EnvType env; | |
| } | |
| CartPole env; |
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
| /** | |
| * Main task idea. | |
| */ | |
| class Task | |
| { | |
| double Evalaute(Genome& genome) | |
| { | |
| // This is just a super simple example that shows how to set the input | |
| // values. | |
| genome.Input() = arma::vec("1 2 0.3"); |
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
| { | |
| "header" : ["stable (3.1.0)", "nightly"], | |
| "stable" : { | |
| "mac" : [ | |
| { | |
| "package" : "homebrew", | |
| "language" : "python", | |
| "cmd" : ["1", "2"] | |
| }, | |
| { |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Test</title> | |
| <script src="jquery-3.4.0.min.js"></script> | |
| <style type="text/css"> | |
| .seltable { |
NewerOlder