Code Monkey home page Code Monkey logo

geomle's Introduction

GeoMLE

Build Status

This repo contains code for our paper Geometry-Aware Maximum Likelihood Estimation of Intrinsic Dimension

Abstract

The existing approaches to intrinsic dimension estimation usually are not reliable when the data are nonlinearly embedded in the high dimensional space. In this work, we show that the explicit accounting to geometric properties of unknown support leads to the polynomial correction to the standard maximum likelihood estimate of intrinsic dimension for flat manifolds. The proposed algorithm (GeoMLE) realizes the correction by regression of standard MLEs based on distances to nearest neighbors for different sizes of neighborhoods. Moreover, the proposed approach also efficiently handles the case of nonuniform sampling of the manifold. We perform numerous experiments on different synthetic and real-world datasets. The results show that our algorithm achieves state-of-the-art performance, while also being computationally efficient and robust to noise in the data.

Quick Start with library GeoMLE

Data generation

from geomle import DataGenerator
DG = DataGenerator()
data = DG.gen_data('Sphere', 1000, 2, 1)

Algorithm Levina-Bickel (MLE)

from geomle import mle
mle(data)

Algorithm GeoMLE

from geomle import geomle
geomle(data)

Experiments

All experiments you can find in notebook:

  • Decribing algorithms
  • Test with nonuniform distibution
  • Dependence on manifold dimension
  • Dependence on number of points
  • Comparing algorithms with Dolan-More curves
  • Dependence on noise
  • Dependence on neigbors (k1 and k2)

Algorithms

In this paper we compare our approch with many famous algorithms:

  • MLE
  • ESS
  • MIND
  • DANCo
  • Local PCA

We use this implementation in R.

BibTex

@article{GeoMLE2019,
  title={Geometry-Aware Maximum Likelihood Estimation of Intrinsic Dimension},
  author={Marina Gomtsyan and Nikita Mokrov and Maxim Panov and Yury Yanovich},
  journal={arXiv preprint arXiv:1904.06151},
  year={2019},
  url = {https://arxiv.org/abs/1904.06151},
}

geomle's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

geomle's Issues

Use case question

Would it be appropriate to use this method, for example, to estimate the intrinsic dimensionality of a word embedding?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.