NeuralEngine
A Game Engine with embeded Machine Learning algorithms based on Gaussian Processes.
FgILineSearch.h
1
/*
2
File: MachineLearning/Optimization/Base/ILineSearch.h
3
4
Author:
5
Email:
6
Site:
7
8
Copyright (c) 2017 . All rights reserved.
9
*/
10
11
#pragma once
12
13
#include <NeMachineLearningLib.h>
14
#include <MachineLearning/NonlinearObjectiveFunction.h>
15
#include <MachineLearning/CommonUtil.h>
16
17
namespace
NeuralEngine
18
{
19
namespace
MachineLearning
20
{
21
template
<
typename
Scalar>
22
class
ILineSearch
23
{
24
public
:
25
38
virtual
void
Linesearch
(
NonlinearObjectiveFunction<Scalar>
& objFunc,
Scalar
& fx, af::array& x, af::array& grad,
Scalar
& step,
const
af::array& drt,
const
af::array& xp) = 0;
39
40
~ILineSearch
() { }
41
};
42
}
43
}
NeuralEngine::MachineLearning::ILineSearch
Definition:
FgILineSearch.h:23
NeuralEngine::MachineLearning::ILineSearch::Linesearch
virtual void Linesearch(NonlinearObjectiveFunction< Scalar > &objFunc, Scalar &fx, af::array &x, af::array &grad, Scalar &step, const af::array &drt, const af::array &xp)=0
Linesearches.
NeuralEngine::MachineLearning::NonlinearObjectiveFunction
Definition:
NonlinearObjectiveFunction.h:21
Scalar
NeuralEngine
Definition:
NeArray2.h:18
include
MachineLearning
FgILineSearch.h
Generated by
1.9.4