← Open Source
justdark

dml

D's Machine Learning is a machine learning toolkit for python,focus on rightness but efficiency.

Model DevelopmentClassical MLPython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
640
Stars
276
Forks
+0
This week
2
Contributors
Created 2013-10-25 · Updated 2026-09-29 · #15678 today
Top developers
justdarktimgates42

justdark/dml is ranked 15,678 with 640 stars.

Same-category comparison

justdark/dml is ranked 15,678 among these 8 peers; fastai/fastai_dev is ranked 15,675.

Same-category comparison
NameRankMetrics
pytorchbearer/torchbearer15,657
Language:
Python
Stars:
641
Forks:
63
Description:
torchbearer: A model fitting library for PyTorch.
raymin0223/mixture_of_recursions15,658
Language:
Python
Stars:
641
Forks:
92
Description:
Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation (NeurIPS 2025).
facebookresearch/open_lth15,674
Language:
Python
Stars:
640
Forks:
117
Description:
A repository in preparation for open-sourcing lottery ticket hypothesis code.
fastai/fastai_dev15,675
Language:
Jupyter Notebook
Stars:
640
Forks:
346
Description:
fast.ai early development experiments.
pytorch/torcharrow15,681
Language:
Python
Stars:
640
Forks:
80
Description:
High performance model preprocessing library on PyTorch.
xuyige/BERT4doc-Classification15,682
Language:
Python
Stars:
640
Forks:
101
Description:
Code and source for paper ``How to Fine-Tune BERT for Text Classification.
google-deepmind/ai-safety-gridworlds15,692
Language:
Python
Stars:
639
Forks:
127
Description:
This is a suite of reinforcement learning environments illustrating various safety properties of intelligent agents.
google-research/weatherbench215,694
Language:
Python
Stars:
639
Forks:
78
Description:
A benchmark for the next generation of data-driven global weather models.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModel Development
SubcategoryClassical ML
Stars640
Forks276
Contributors2
Created date2013-10-25
Updated date2026-09-29
Stars in 1 day0
Stars in 7 days0
Rank15,678
Previous rank15,486
Rank change-192
7-day stars rank15,121
Previous 7-day stars rank15,127
7-day stars rank change6
Total stars rank15,981
Previous total stars rank15,957
Total stars rank change-24
CountryChina
Frequently asked questions

How many stars and forks are recorded?

justdark/dml has 640 stars and 276 forks.

What is the repository rank?

justdark/dml is ranked 15,678.

What language and category are recorded?

justdark/dml has 640 stars, uses Python and belongs to Model Development.

Which repository is closest in rank?

justdark/dml is compared with fastai/fastai_dev, ranked 15,675 with 640 stars.

README

iDML

D's Machine Learning is a machine learning toolkit for python,focus on rightness but efficiency

all code is based on numpy and scipy


Code Files

./dml/NN -the code of Neural NetWorks

./dml/LR -Logistic Regression,actually It's softmax

./dml/DT -Decision Tree , CART algorithm

./dml/ClUSTER -some cluster algorithm,inculde kmeans \ kmedoids \ spectralCluster \ Hierarchical Cluster

./dml/ADAB -the adaboost algorithm

./dml/KNN -the k-Nearest Neighbor algorithm(kd-tree BBF implementing)

./dml/NB -the naive Bayesian support both continuous and descrete features

./dml/SVM -the basic binary Support Vector Machine

./dml/CNN -the simple Convolutional Neural Networks

./dml/CF -some Collaborative Filtering Algorithm implement,include item-based \ SVD \ RBM

./dml/tool -include some basic tools for computing

./test/ -include some test code for DML


Class Format

all class can be used in this way:(LR for example)

but there is still some different Initialization parameters in different class,also the predict function

sorry for this but most class use pred() and NN use nnpred(),I may formalize them in the future

a = LRC(train_images,trian_labels,nor=False)
a.train(200,True)
pred = a.predict(test_images)

for the input X and y ,X must be a N*M matrix and y is a vector length M

where N is the #feature and M is #training_case

for the cluster method,you can use a.labels or a.result() to get the final result


Install

DML is based on numpy,scipy,matplotlib .you should install them first

This packages uses setuptools, which is the default way of installing python modules. The install command is:(sudo is required in some system)

python setup.py build
python setup.py install

Warning

  • only python 2 is supported,sorry for the python 3 user.

  • some method from numpy and scipy will report warning because of their version


License

WTFPL

Nearby in the ranking
Similar items