Coder Social home page Coder Social logo

phtrempe / sknni Goto Github PK

View Code? Open in Web Editor NEW
6.0 0.0 3.0 8 KB

Spherical k-nearest neighbors interpolation (geospatial interpolator)

License: MIT License

Python 100.00%
spherical k-nearest-neighbors interpolation geospatial interpolator knn sphere algorithm

sknni's Introduction

Hi there! ๐Ÿ‘‹ I'm Philippe Trempe (PhTrempe on GitHub).

I'm a Machine Intelligence Research Engineer. ๐Ÿง ๐Ÿ–ฅ๏ธ

  • ๐Ÿ”ญ Iโ€™m currently working on a variety of projects pertaining to AI and deep learning.
  • ๐ŸŒฑ Iโ€™m continuously learning to better bridge the gap between academia and industry.
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on various public and private academic and industrial projects.
  • ๐Ÿ’ฌ Ask me about anything related to AI/ML/DL, data science/engineering, Python, etc.
  • โšก Fun fact: I really enjoy creating (worldbuilding, story writing, music composition, vectoring, games and other software).

Connect with me

PhTrempe | LinkedIn PhTrempe | Twitter

Languages and Tools

TensorFlow PyTorch PyTorch Lightning Cloud TPU ML Engine SageMaker OpenAI GPT
Python Rust Dart Java C# C++ C HTML5 CSS3 JavaScript
Colaboratory PyCharm Webstorm IntelliJ Visual Studio Visual Studio Code Sublime Text
Google Cloud Platform Amazon Web Services
GitHub GitLab

sknni's People

Contributors

phtrempe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

sknni's Issues

The range of latitude angle

Hi Philippe,
I just tried to use your code for spherical data interpolation and it worked very well! While I was trying to figure out which coordinate system is being used, it occured to me that the range of your altitude angle is between [-90,90]. However, in your __polar_to_cartesianfunction, you use
z = r * np.cos(lat)
that means, the z-coordinate is always positive? I'm not sure if this will affect the result.

Thank you very much!

mean value of longitude angles

Hi,
I noticed, that you are calculating the mean value of the longitudinal angles in __nddnisd_interp_fn(). The problem is, if you are using np.mean you are adding e.g. -175 and 180 to 2.5 and not the -177.5. This can be fixed by using scipy.stats.circmean().

However, when I changed it, I noticed that the results look wrong, but I don't understand why at the moment. Do you have any ideas?

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.