NeuralEngine A Game Engine with embeded Machine Learning algorithms based on Gaussian Processes. |

FgIsomap.h
1
11#pragma once
12
13#include <MachineLearning/IEmbed.h>
14
15 namespace NeuralEngine
16{
17 namespace MachineLearning
18 {
86 class NE_IMPEXP Isomap : public IEmbed
87 {
88 public:
89
97 Isomap(int numNeighbours);
98
104 ~Isomap();
105
116 af::array Compute(af::array& M, int q);
117
118 private:
119 struct Xstruct
120 {
121 af::array index;
122 std::vector<af::array> coords;
123 };
124
125 Xstruct isomap(af::array& D, int n_size, int q);
126 af::array L2_distance(af::array& a, af::array& b, bool df);
127
128 int _numNeighbours;
129 };
130 }
131}
NeuralEngine::MachineLearning::IEmbed
IEmbed.
Definition: IEmbed.h:35
NeuralEngine::MachineLearning::Isomap
Isomap.
Definition: FgIsomap.h:87
NeuralEngine::MachineLearning::Isomap::Compute
af::array Compute(af::array &M, int q)
Solves.
NeuralEngine::MachineLearning::Isomap::Isomap
Isomap(int numNeighbours)
Constructor.
NeuralEngine::MachineLearning::Isomap::~Isomap
~Isomap()
Destructor.
NeuralEngine
Definition: NeArray2.h:18
NeuralEngine::MachineLearning::Isomap::Xstruct
Definition: FgIsomap.h:120