Git Product home page Git Product logo

eucl_dist's Introduction

I'm Divakar Roy - d-roy-ed ๐Ÿ‘‹

Connect with me

droyed droyed | LinkedIn

Communities

profile for Divakar at Stack Overflow, Q&A for professional and enthusiast programmers ย  profile for Divakar on Stack Exchange, a network of free, community-driven Q&A sites ย  profile for Divakar on MATLAB Central, a network of MATLAB people sharing their work


General Interest Areas

  • Problem solving
  • Automation
  • Computer vision
  • Performance, parallel-computing
  • Open-source

Languages and Tools

Python

Bash

Terminator

Sublime-text

Nano-editor

Git

Docker

AWS




Regular Py-Modules

Machine-learning Tensorflow, Tensorflow-js, Fastai, keras, scikit-learn

Scientific-computing NumPy, SciPy, scikit-image, opencv

Data-science Pandas, matplotlib, seaborn

IDE

Spyder

Jupyter

Visual Studio Code



Operating System

Ubuntu

Manjaro




Stackoverflow tags

Stackoverflow tags

โฎฑ Created with stackoverflow_tag_cloud

Github stats and languages

Droyed's GitHub stats Top Langs

eucl_dist's People

Contributors

droyed avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

eucl_dist's Issues

Feature request: cosine distance

Sometimes a fast cosine similarity instead of euclidean distance is also useful. It would be very handy to have such an implementation.

How did the author deal with Numerical stability problem?

I want to know how did the author deal with Numerical stability problem? as mentioned by https://stackoverflow.com/questions/34110493/is-scipy-cdist-efficient# :
"Try this yourself on a Python interpreter: a = 1e15 +1; b = 1e15, now compute (a - b)2 and a2 + b**2 - 2ab. Surprised? You have just witnessed (lack of) numerical stability at work. So unless you are certain this type of problem cannot happen in your dataset, it is better to sacrifice performance for correctness. "โ€“ Jaime Dec 6 '15 at 16:59

error importing pycuda

Hi,
I have cuda11.1 installed on windows 10
and i have installed pycuda-2020.1-py3.6

this error showed for me.
Any suggestions?

Traceback (most recent call last):
File "C:/Users/s-f2/Desktop/DELF/gpu_euclidean/main.py", line 4, in
from eucl_dist.gpu_dist import dist as gdist
File "C:\Users\s-f2\Desktop\DELF\gpu_euclidean\eucl_dist\gpu_dist.py", line 1, in
import pycuda.gpuarray as gpuarray
File "C:\Users\s-f2\Desktop\DELF\gpu_euclidean\venv\lib\site-packages\pycuda\gpuarray.py", line 4, in
import pycuda.elementwise as elementwise
File "C:\Users\s-f2\Desktop\DELF\gpu_euclidean\venv\lib\site-packages\pycuda\elementwise.py", line 35, in
from pycuda.tools import context_dependent_memoize
File "C:\Users\s-f2\Desktop\DELF\gpu_euclidean\venv\lib\site-packages\pycuda\tools.py", line 34, in
import pycuda.driver as cuda
File "C:\Users\s-f2\Desktop\DELF\gpu_euclidean\venv\lib\site-packages\pycuda\driver.py", line 62, in
from pycuda._driver import * # noqa
ImportError: DLL load failed: The specified procedure could not be found.

Process finished with exit code 1

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.