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
| { pkgs ? import <nixpkgs> {}, doBenchmark ? false }: | |
| let my-blas-ffi = pkgs.haskellPackages.callPackage ../blas-ffi/default.nix {}; | |
| f = { mkDerivation, base, blaze-html, boxes, ChasingBottoms | |
| , comfort-array, data-ref, deepseq, fixed-length | |
| , guarded-allocation, hyper, lapack-ffi, lazyio, liblapack, monoid-transformer | |
| , netlib-ffi, non-empty, QuickCheck, quickcheck-transformer, random | |
| , semigroups, stdenv, text, tfp, transformers, unique-logic-tf | |
| , utility-ht }: |
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
| let | |
| jupyterLibPath = ../../..; | |
| nixpkgsPath = jupyterLibPath + "/nix"; | |
| pkgs = import nixpkgsPath {}; | |
| monadBayesSrc = pkgs.fetchFromGitHub { | |
| owner = "adscib"; | |
| repo = "monad-bayes"; | |
| rev = "647ba7cb5a98ae028600f3d828828616891b40fb"; |
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
| let | |
| rOverlay = rself: rsuper: { | |
| myR = rsuper.rWrapper.override { | |
| packages = with rsuper.rPackages; [ | |
| ggplot2 | |
| dplyr | |
| xts | |
| purrr | |
| ]; |
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
| let | |
| rOverlay = rself: rsuper: { | |
| myR = rsuper.rWrapper.override { | |
| packages = with rsuper.rPackages; [ | |
| ggplot2 | |
| dplyr | |
| xts | |
| purrr | |
| ]; |
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
| let | |
| rOverlay = rself: rsuper: { | |
| myR = rsuper.rWrapper.override { | |
| packages = with rsuper.rPackages; [ | |
| ggplot2 | |
| dplyr | |
| xts | |
| purrr | |
| ]; |
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
| let | |
| pkgs = { | |
| ihaskell = builtins.fetchTarball { | |
| url = "https://github.com/gibiansky/IHaskell/tarball/bb2500c448c35ca79bddaac30b799d42947e8774"; | |
| sha256 = "1n4yqxaf2xcnjfq0r1v7mzjhrizx7z5b2n6gj1kdk2yi37z672py"; | |
| }; | |
| nixpkgs = builtins.fetchTarball { | |
| url = "https://github.com/NixOS/nixpkgs-channels/tarball/49dc8087a20e0d742d38be5f13333a03d171006a"; | |
| sha256 = "1fdnqm4vyj50jb2ydcc0nldxwn6wm7qakxfhmpf72pz2y2ld55i6"; |
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
| { pkgs ? import <nixpkgs> {}, doBenchmark ? false }: | |
| let | |
| f = { mkDerivation, haskell, base, foldl, Frames, fuzzyset | |
| , inline-r, integration, lens, libintlOrEmpty | |
| , monad-loops | |
| , R, random, stdenv | |
| , template-haskell, temporary }: | |
| mkDerivation { |
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
| { nixpkgs ? import ./nix/nixpkgs.nix {} }: | |
| let | |
| haskellDeps = ps: with ps; [ | |
| inline-r | |
| ]; | |
| ghc = nixpkgs.haskellPackages.ghcWithPackages haskellDeps; |
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
| { system ? builtins.currentSystem }: | |
| let | |
| nixpkgs = builtins.fetchTarball { | |
| url = "https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.03.tar.gz"; | |
| sha256 = "06cqc37yj23g3jbwvlf9704bl5dg8vrzqvs5y2q18ayg9sw61i6z"; | |
| }; | |
| in | |
| import nixpkgs { | |
| inherit system; | |
| config = {}; # prevent nixpkgs from loading user configuration |
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
| name: cmaes | |
| version: 0.2.3 | |
| synopsis: CMA-ES wrapper in Haskell | |
| description: | |
| @cmaes@ is a wrapper for Covariance Matrix Adaptation Evolution | |
| Strategy(CMA-ES), an evolutionary algorithm for difficult non-linear | |
| non-convex optimization problems in continuous domain. To use this | |
| package you need python2 with numpy available on your system. The | |
| package includes @cma.py@ , Nikolaus Hansen's production-level CMA |