Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
rapid-mix
RAPID-MIX_API
Commits
ae47f989
Commit
ae47f989
authored
Dec 01, 2017
by
mzed
Browse files
fixing test to work with trainingSet
parent
19bc7741
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/rapidMixTest.cpp
View file @
ae47f989
...
...
@@ -8,7 +8,7 @@ int main() {
///////////////////////////////////Test GVF
rapidmix
::
gvfTemporalVariation
gvf
;
rapidmix
::
training
Data
myGVFData
;
rapidmix
::
training
Set
myGVFData
;
// Record first gesture
auto
gesture1
=
myGVFData
.
createNewExample
();
...
...
@@ -36,7 +36,7 @@ int main() {
//////////////////////////////////////Test RapidLib
rapidmix
::
staticRegression
myNN
;
rapidmix
::
training
Data
myRLData
;
rapidmix
::
training
Set
myRLData
;
std
::
vector
<
double
>
input
=
{
0.2
,
0.7
};
std
::
vector
<
double
>
output
=
{
3.0
};
...
...
@@ -57,7 +57,7 @@ int main() {
rapidmix
::
xmmConfig
xcfg
;
xcfg
.
relativeRegularization
=
0.1
;
rapidmix
::
training
Data
myXmmData
;
rapidmix
::
training
Set
myXmmData
;
std
::
vector
<
double
>
myXmmInput
;
std
::
vector
<
double
>
myXmmOutput
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment