Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pulling updates from main scholar #2

Closed
wants to merge 56 commits into from
Closed

pulling updates from main scholar #2

wants to merge 56 commits into from

Conversation

norm4nn
Copy link
Owner

@norm4nn norm4nn commented May 29, 2024

No description provided.

msluszniak and others added 30 commits December 14, 2023 12:15
* Fix cubic spline when x isn't sorted

* Format
…lixir-nx#222)

* Add other non-encoding preprocessing utilities as separate modules

* Delete test/scholar/preprocessing/normalizer_test.exs

* Delete lib/scholar/preprocessing/normalizer.ex

* Format

* Remove redundant module attribute
* Introduce encoders in separate modules

* Update preprocessing.ex

* Add module docs
* Add Normalizer

* Change preprocessing.ex

* Update moduledoc
* Add draft of NNDescent

* Working version

* Apply improvements

* Format

* Add documentation, unify variables, etc

* Format

* Remove redundant comma

* Remove unused comment

* Apply suggestions from feedback

* Pass key as an argument

* Update paper in documentation

* Add quering

* Improve doctest

* Make num_neighbors more functional

* Add Trimap

* Update lib/scholar/manifold/trimap.ex

Co-authored-by: José Valim <[email protected]>

* Add docs and tests

* Apply improvements

* Resolve after merge

* increase temporarily size of stack

---------

Co-authored-by: José Valim <[email protected]>
* Add priority queue

* Apply changes to NNDescent

* Apply Suggestions form code review

* Format

* Remove redundant space

* Raise when tree_init and non-euclidean metric

* Update lib/scholar/neighbors/nn_descent.ex

Co-authored-by: Krsto Proroković <[email protected]>

* Update lib/scholar/neighbors/nn_descent.ex

Co-authored-by: José Valim <[email protected]>

* Decrease tolerance

* Ensure that all initial nearest neighbors are initialized and fix tests according to the implemented changes

---------

Co-authored-by: Krsto Proroković <[email protected]>
Co-authored-by: José Valim <[email protected]>
* update multinomial naive bayes

* remove Nx.Type.merge/2

---------

Co-authored-by: Krsto Proroković <[email protected]>
* Added ndcg metric

* Update lib/scholar/metrics/ranking.ex

Co-authored-by: José Valim <[email protected]>

* Update lib/scholar/metrics/ranking.ex

Co-authored-by: José Valim <[email protected]>

* Update lib/scholar/metrics/ranking.ex

Co-authored-by: Krsto Proroković <[email protected]>

* Update lib/scholar/metrics/ranking.ex

Co-authored-by: Mateusz Sluszniak <[email protected]>

* Update lib/scholar/metrics/ranking.ex

---------

Co-authored-by: José Valim <[email protected]>
Co-authored-by: Krsto Proroković <[email protected]>
Co-authored-by: Mateusz Sluszniak <[email protected]>
* add BruteKNN

* update docs and tests

* mix format

* move get_batches inside BruteKNN

* raise error when k > n

---------

Co-authored-by: Krsto Proroković <[email protected]>
msluszniak and others added 26 commits April 24, 2024 22:50
* Add livebook

* Update notebooks/nearest_neighbors.livemd

Co-authored-by: José Valim <[email protected]>

* Update notebooks/nearest_neighbors.livemd

Co-authored-by: José Valim <[email protected]>

* Update notebooks/nearest_neighbors.livemd

Co-authored-by: José Valim <[email protected]>

* Apply suggestions from code review

Co-authored-by: Krsto Proroković <[email protected]>

* Apply changes from code review

---------

Co-authored-by: José Valim <[email protected]>
Co-authored-by: Krsto Proroković <[email protected]>
* Output distances in kdtree

* Add checks on data in predict
* Major update, submitting a PR

* Update doc

* Update doc

* Add distance to KDTree.predict/2

* Update doc

* Update doc

* Add metric to RandomProjectionForest and LargeVis, more unit-tests, etc

* Add predict_proba/2

* Rename predict_proba to predict_probability, fix a bug inside of it

* Remove Nx.Type.merge in predict_probability

Co-authored-by: José Valim <[email protected]>

---------

Co-authored-by: Krsto Proroković <[email protected]>
Co-authored-by: José Valim <[email protected]>
* Add k-NN regressor.

* Remove k_nearest_neighbors

* Resolve conflicts.

* y must be of rank 2

---------

Co-authored-by: Krsto Proroković <[email protected]>
@norm4nn norm4nn closed this May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants