Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here

dml

R package for Distance Metric Learning

Subscribe to updates I use dml


Statistics on dml

Number of watchers on Github 42
Number of open issues 12
Average time to close an issue 5 months
Main language R
Average time to merge a PR about 1 hour
Open pull requests 2+
Closed pull requests 1+
Last commit over 2 years ago
Repo Created about 4 years ago
Repo Last Updated over 1 year ago
Size 58 KB
Organization / Authorterrytangyuan
Latest Releasev1.1.0
Contributors2
Page Updated
Do you use dml? Leave a review!
View open issues (12)
View dml activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating dml for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Travis-CI Build Status Coverage Status CRAN_Status_Badge License

dml (Distance Metric Learning in R)

R package for state-of-the-art algorithms for Distance Metric Learning, including global and local methods such as Relevant Component Analysis, Discriminative Component Analysis, Local Fisher Discriminant Analysis, etc. These distance metric learning methods are widely applied in feature extraction, dimensionality reduction, clustering, classification, information retrieval, and computer vision problems.

Install the current release from CRAN:

install.packages('dml')

Install the latest development version from github:

devtools::install_github('terrytangyuan/dml')

Examples:

For examples of Local Fisher Discriminant Analysis, please take a look at the separate package here. For examples of all other implemented algorithms, please take a look at the dml package reference manual.

Brief Intro

Distance metric is widely used in the machine learning literature. We used to choose a distance metric according to a priori (Euclidean Distance , L1 Distance, etc.) or according to the result of cross validation within small class of functions (e.g. choosing order of polynomial for a kernel). Actually, with priori knowledge of the data, we could learn a more suitable distance metric with (semi-)supervised distance metric learning techniques. dml is such an R package aims to implement the state-of-the-art algorithms for (semi-)supervised distance metric learning. These distance metric learning methods are widely applied in feature extraction, dimensionality reduction, clustering, classification, information retrieval, and computer vision problems.

Algorithms

Algorithms planned in the first development stage:

  • Supervised Global Distance Metric Learning:

    • Relevant Component Analysis (RCA) - implemented
    • Kernel Relevant Component Analysis (KRCA)
    • Discriminative Component Analysis (DCA) - implemented
    • Kernel Discriminative Component Analysis (KDCA)
    • Global Distance Metric Learning by Convex Programming - implemented
  • Supervised Local Distance Metric Learning:

    • Local Fisher Discriminant Analysis - implemented
    • Kernel Local Fisher Discriminant Analysis - implemented
    • Information-Theoretic Metric Learning (ITML)
    • Large Margin Nearest Neighbor Classifier (LMNN)
    • Neighbourhood Components Analysis (NCA)
    • Localized Distance Metric Learning (LDM)

The algorithms and routines might be adjusted during developing.

Links

Track Devel: https://github.com/terrytangyuan/dml

Report Bugs: https://github.com/terrytangyuan/dml/issues

Contact

Contact the maintainer of this package: Yuan Tang terrytangyuan@gmail.com

dml open pull requests (View All Pulls)
  • Added input dimension error checks
  • added examples in comments to tests file
dml questions on Stackoverflow (View All Questions)
  • In a plsql block all the statements will get rollbacked if any of the statement through error in DML?
  • Can I reference a Sqlite CTE in more than one DML statement?
  • Can a DML trigger be involved with 2 tables?
  • Get Values before and after update in Oracle SQL DML
  • oracle dml where length >= all (select length from river)
  • Moving nodes in XML and rename them using XML DML
  • DML in HIVE using the Java API
  • Why alter command is referred as DDL and not DML?
  • Not supported for DML operations .Unable to update data in postgresql database using spring data
  • How to get column_name and table_name from DML statement?
  • Unable to initialize point cloud - ORA-13249: Error creating dml trigger
  • Detect type of DML statement when using Global Scopes (Laravel/Eloquent)
  • Creation of DML Trigger (for Delete)
  • DDL and DML on EDW from SQL Server using LinkedServer does not work
  • SQL Server 2008: Rename an element using XML DML?
  • Innodb Table not able to execute any DML operations in MySQL-5.6.23
  • target table `RECEIPT` of the DML statement cannot have any enabled triggers if the statement contains an OUTPUT clause without INTO clause
  • select as DML Command
  • The target table 'dbo.Test' of the DML statement cannot have any enabled triggers if the statement contains an OUTPUT clause without INTO clause
  • Tracking mysql DML operations Source
  • Can we replace a DML trigger with a stored procedure
  • Fetching the data from one Source-Org, and performing DML operation form Destination org to Source -org
  • PersistenceException: ERROR executing DML bindLog[] error[Field 'id' doesn't have a default value]
  • Unable to insert new node using insert (XML DML)
  • How to invoke DML trigger to customized OAuth2 table AspNetUser, when new user is created?
  • What is DDL and DML
  • SQL Server XML-DML how to replace element value with value of relative xpath
  • What is the best way to find DML references to objects in SQL Server?
  • Oracle DML statement file - Execute, Record error and continue without aborting
  • How to notify failure of ddl,dml scripts through jenkins?
dml list of languages used
dml latest release notes
v1.1.0 First Release on CRAN

R package for state-of-the-art algorithms for Distance Metric Learning, including global and local methods such as Relevant Component Analysis, Discriminative Component Analysis, Local Fisher Discriminant Analysis, etc. These distance metric learning methods are widely applied in feature extraction, dimensionality reduction, clustering, classification, information retrieval, and computer vision problems.

More projects by terrytangyuan View all
Other projects in R