diff --git a/MonadicProgramming/MonadicGeometricNearestNeighbors.m b/MonadicProgramming/MonadicGeometricNearestNeighbors.m index 322327f5..ac54c487 100644 --- a/MonadicProgramming/MonadicGeometricNearestNeighbors.m +++ b/MonadicProgramming/MonadicGeometricNearestNeighbors.m @@ -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 *) @@ -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`"];