Clojure is an opinionated language—it doesn’t try to cover all paradigms or provide every checklist bullet-point feature. Instead it provides the features needed to solve all kinds of real-world problems the Clojure way. To reap the most benefit from Clojure, you’ll want to write your code with the same vision as the language itself. As we walk through the language features in the rest of the book, we’ll mention not just what a feature does, but why it’s there and how best to take advantage of it. But before we get to that, we’ll first take a high-level view of some of Clojure’s most important philosophical underpinnings. Figure 1.1 lists some broad goals that Rich Hickey had in mind while designing Clojure and some of the more specific decisions that are built into the language to support these goals.
2024-02-24 17:50:39 4.57MB Clojure
1
歪斜 倾斜决策树和随机森林的 Clojure 实现。 用法 执照 版权所有 :copyright: 2015 FIXME 根据 Eclipse 公共许可证分发 1.0 版或(由您选择)任何更高版本。
2023-03-12 12:01:32 18KB Clojure
1
influxdb流 InfluxDB存在一些内存使用问题,这使得很难一次或大量数据。 该存储库包含一些帮助程序,这些帮助程序将这些操作分成细小块的操作“流”,这些操作不会导致InfluxDB自我描述。 用法 ( pull-data { ; ; The InfluxDB database to connect to :host " 127.0.0.1 " :port 8086 :db " marketdata " ; ; Fetch all rows for this measurement, between the start and end dates, ; ; making queries spanning :interval amounts of time. The :interval is ; ; important becaus
2023-03-01 14:52:46 10KB Clojure
1
Grid2D 实现为2d向量的二维网格数据结构。 莱宁根 [grid2d " 0.1.0-SNAPSHOT " ] 用法 VectorGrid实现以下clojure.lang接口: ILookup , IFn , Seqable和Associative 。 因此,您可以使用get , assoc , contains? , seq (并映射,for,doseq ...)。 它还实现了Grid2D协议。 ( defprotocol Grid2D ( transform [this f] " f should be a function of [posi old-value] that returns new-value. " ) ( posis [this]) ( cells [this]) ( width [this]) ( height [this])) us
2023-01-10 16:34:29 6KB Clojure
1
clj-http 是一个新的 Clojure HTTP 客户端开发包,主要特点是设计简单、可靠、可扩展和可测试。 示例代码: (require '[clj-http.client :as client]) (client/get "http://rest-test.heroku.com/") => {:status 200 :headers {"date" "Sun, 01 Aug 2010 07:03:49 GMT" "cache-control" "private, max-age=0, must-revalidate" "content-type" "text/html; charset=utf-8" ...} :body "GET http://rest-test.heroku.com/"} 标签:cljhttp 分享 window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "2", "bdMiniList": [], "bdPic": "", "bdStyle": "1", "bdSize": "24" }, "share": {} }; with (document)0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' ~(-new Date() / 36e5)];\r\n \r\n \r\n \r\n \r\n \u8f6f\u4ef6\u9996\u9875\r\n \u8f6f\u4ef6\u4e0b\u8f7d\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\nwindow.changyan.api.config({\r\nappid: 'cysXjLKDf', conf: 'prod_33c27aefa42004c9b2c12a759c851039' });
2022-09-29 01:25:49 9KB 开源项目
1
(更多详情、使用方法,请下载后细读README.md文件) 元数据库雅典娜驱动程序\n 注:此项目正在积极开发中\n安装\n从 Metabase 0.32 开始,驱动程序必须存储在与 isplugins相同目录的目录中metabase.jar,或者您可以通过设置环境变量来指定目录MB_PLUGINS_DIR。有几个选项可以启动和运行自定义驱动程序。\n码头工人\n此存储库有一个示例Dockerfile,您可以使用它来构建 Amazon Athena Metabase 驱动程序并运行最新支持的 Metabase 版本:\ngit clone github.dacortmetabase-athena-driver.git\ncd metabase-athena-driver\ndocker build -t metabaseathena .\ndocker run --name metabase-athena -p 30003000 metabaseathena\n然后打开localhost3000并跳到配置\n下载元数据库 Jar 并运行\n从Metabase 分发页面下载一个相当新的
2022-09-02 09:05:02 73KB Clojure
1
概述 我最喜欢的用 Clojure 编写的元启发式优化算法,用于试验该语言的并发特性。
2022-06-22 12:03:35 45KB clojure
差分进化全局优化算法的 Clojure 实现。 要在您的 leiningen 项目中使用,请添加: [deoptim "0.1.0"] 到你的 project.clj 更多详情、使用方法,请下载后阅读README.md文件
2022-06-22 12:03:27 6KB clojure
Darwin 是一个灵活的遗传算法编程框架,旨在研究应用。它与表示无关,对于简单的 GA 示例和对于复杂的遗传编程问题一样有效。它可以配置为执行单目标和多目标优化,包括 SPEA2 算法。它具有自适应进化的功能,其中运行参数随着种群的变化而进化。 用法 将其添加到您的 project.clj 文件中: [darwin "1.0.0"] 可以在 ws/demo.clj 中找到一个简单的使用示例,可​​在此处查看。
2022-06-20 14:05:37 48KB clojure
一个小型遗传算法框架,用 Clojure 编写
2022-06-19 14:05:57 4KB clojure