All Projects → jlas → ml.q

jlas / ml.q

Licence: MIT license
Machine Learning for kdb+/q

Programming Languages

q
29 projects
python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to ml.q

rkdb
R client for kdb+
Stars: ✭ 37 (+48%)
Mutual labels:  kdb, q
q-mode
Emacs mode for editing q scripts and communicating with inferior q/qcon buffers
Stars: ✭ 21 (-16%)
Mutual labels:  kdb, q
automl
Automated Machine Learning Framework for kdb+
Stars: ✭ 22 (-12%)
Mutual labels:  kdb, q
docs
Source for documentation site
Stars: ✭ 73 (+192%)
Mutual labels:  kdb, q
javakdb
Using Java with kdb+
Stars: ✭ 41 (+64%)
Mutual labels:  kdb, q
vscode-q
vscode kdb+/q extension
Stars: ✭ 34 (+36%)
Mutual labels:  kdb, q
docs-v1
Source of code.kx.com/q
Stars: ✭ 33 (+32%)
Mutual labels:  kdb, q
kafka
kdb+ to Apache Kafka adapter, for pub/sub
Stars: ✭ 38 (+52%)
Mutual labels:  kdb, q
q4q
Source Code for "Q for Quants"
Stars: ✭ 22 (-12%)
Mutual labels:  kdb, q
kdb nim
Nim Kdb type-safe bindings
Stars: ✭ 13 (-48%)
Mutual labels:  kdb, q
kdb-tick
Latest source files for kdb+tick
Stars: ✭ 73 (+192%)
Mutual labels:  kdb, q
jupyterq
Jupyter kernel for kdb+
Stars: ✭ 87 (+248%)
Mutual labels:  kdb, q
ml
Machine-learning toolkit
Stars: ✭ 48 (+92%)
Mutual labels:  kdb, q
ws.q
Simple library for websockets in kdb+/q
Stars: ✭ 27 (+8%)
Mutual labels:  kdb
Q
q - Run SQL directly on CSV or TSV files
Stars: ✭ 8,809 (+35136%)
Mutual labels:  q
              __
   ____ ___  / /____ _
  / __ `__ \/ // __ `/
 / / / / / / // /_/ /
/_/ /_/ /_/_(_)__, /
                /_/

Machine Learning for kdb+/q

Examples

Reinforcement Learning

DBSCAN

Find clusters of points based on density

q)t:{3?1.} each til 100
q)dbscan[t;3;.2]
-1 0 0 1 0 -1 0 -1 1 1 2 0 3 0 -1 1 4 1 1 1 2 1 0 -1 2 1 2 1 1 4 1 4 1 1 1 0 ..

k nearest neighbors

Find the n closest points to a target

q)t:(`a`b`c!) each {3?100} each til 1000000
q)knn[t;`a`b`c!1 2 3;3]
a b c dist
----------
1 2 3 0
1 2 4 1
0 2 3 1

k-means clustering

Find n centroids in a dataset partitioned by k-means

q)iris:flip `sl`sw`pl`pw`class!("FFFFS";",") 0: `:iris.csv
q)kmeans[delete class from iris;3]
sl       sw       pl       pw
-----------------------------------
6.85     3.073684 5.742105 2.071053
5.901613 2.748387 4.393548 1.433871
5.006    3.418    1.464    0.244

Iris Dataset available here: https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data

Decision Tree (ID3)

q)id3[weatherdata[]]
n_                v_            class
-------------------------------------
,`outlook         ,`overcast    yes
`outlook`wind     `rain`weak    yes
`outlook`wind     `rain`strong  no
`outlook`humidity `sunny`high   no
`outlook`humidity `sunny`normal yes
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].