Skip to content

Commit

Permalink
refactor!:Using WL-repository paclets instead of imports from GitHub.
Browse files Browse the repository at this point in the history
  • Loading branch information
antononcube committed Sep 8, 2023
1 parent 8147c9d commit 3265e7c
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions MonadicProgramming/MonadicGeometricNearestNeighbors.m
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,6 @@ The primary motivation for making this Geometric Nearest Neighbors (GNN) softwar
Import["https://raw.githubusercontent.com/antononcube/MathematicaForPrediction/master/MathematicaForPredictionUtilities.m"]
];

If[Length[DownValues[StateMonadCodeGenerator`GenerateStateMonadCode]] == 0,
Import["https://raw.githubusercontent.com/antononcube/MathematicaForPrediction/master/MonadicProgramming/StateMonadCodeGenerator.m"]
];

If[Length[DownValues[SSparseMatrix`ToSSparseMatrix]] == 0,
Import["https://raw.githubusercontent.com/antononcube/MathematicaForPrediction/master/SSparseMatrix.m"]
];

If[Length[DownValues[OutlierIdentifiers`OutlierIdentifier]] == 0,
Import["https://raw.githubusercontent.com/antononcube/MathematicaForPrediction/master/OutlierIdentifiers.m"]
];


(**************************************************************)
(* Package definition *)
Expand Down Expand Up @@ -140,6 +128,10 @@ The primary motivation for making this Geometric Nearest Neighbors (GNN) softwar
GNNMonComputeAdjacencyMatrix::usage = "GNNMonComputeAdjacencyMatrix[ n_Integer | {n_Integer, r_?NumericQ}, opts] computes the adjacency \
(distance) matrix for specified number of nearest neighbors and max radius.";

PacletInstall["AntonAntonov`StateMonadCodeGenerator`", AllowVersionUpdate -> False];
PacletInstall["AntonAntonov`SSparseMatrix`", AllowVersionUpdate -> False];
PacletInstall["AntonAntonov`OutlierIdentifiers`", AllowVersionUpdate -> False];

Begin["`Private`"];

Needs["MathematicaForPredictionUtilities`"];
Expand Down

0 comments on commit 3265e7c

Please sign in to comment.