GithubHelp home page GithubHelp logo

ianfr / adsl-cpp Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 44 MB

A Data Science Library for C++

License: BSD 2-Clause "Simplified" License

C++ 4.54% Shell 0.02% Gnuplot 0.01% C 44.38% CMake 0.03% Makefile 35.33% M4 0.01% QMake 0.03% Perl 1.24% Raku 0.03% Java 13.83% HTML 0.22% Python 0.08% Prolog 0.27%

adsl-cpp's People

Contributors

ianfr avatar

Watchers

 avatar

adsl-cpp's Issues

Add plotting capability

Use Gnuplot to enable the plotting of data from DataFrames with a new set of lambdas in Plot.h

Optimize `binaryClassifier`

Use the grid search to find a starting set of values for C and gamma. Then use those starting values as the input to a real optimizer.

Consider trying to use the simulated annealing functionality built-in to GSL.

It's also possible to launch a small pool of simulated annealing optimizers concurrently and then exit as soon as a desired level of accuracy is reached.

Structural Changes

The program has a pretty decent design so far, but it's a little bit inconsistent and limited.

I would like the following changes:

  • Get rid of the double limitation by using unions instead (don't need boost::variant because string data can be converted to/from char*. I also don't want to use templates because having vectors of generic templated things gets really messy.
  • Redo the relationship between the built-in chainable functions and the various data classes. Any chainable should not be directly accessing data in a class instance, but instead calling an appropriate class method. This may require ditching the fancy automatic lambdas by using std::function and a naming convention for common operations like dl_filter, df_filter, and dfl_filter for DataLists, DataFrames, and DataFrameLists respectively

Persistent In-Memory Data Storage

Interpreted environments like R and Python's Jupyter notebooks have the advantage of storing large datasets in memory and allowing for code to be modified and re-run without having to re-load the data.

Being compiled and not interpreted, analysis with C++ requires that data be re-loaded from the disk every time a change in the rest of the code occurs, impeding development.

With something like Boost's interprocess library it could be possible to avoid re-loading data from disk in C++.

This could be accomplished by running two scripts: one for data loading, and another for analysis. The data loading script can stay running in the background, and the analysis script can just access a pointer to the shared memory of the data loading script every time it is re compiled instead of re-loading from disk.

Implement `vector` methods for `DataList`

It would be really good to create methods for DataList that act in a way very similar to std::vector such as:

  • at()
  • push_back()
  • begin()
  • end()
  • size()

Along with a larger selection of constructors - maybe even a curly brace initializer!

This would let users use DataLists as a direct stand-in for vectors plus all the ADSL functionality.

These methods can probably just be wrappers around the DataList.vals field's methods.

ARIMA Forecasting

Writing an ARIMA model from scratch (plus an optimizer) seems to0 difficult - could just require that R is installed on the system and make a wrapper for R's auto.arima model

Dlib svm_c_trainer strange iris classifier results

(Working on branch https://github.com/ianfr/adsl-cpp/tree/dlib-start)
(Mentioned in commit 2d991ef)

All of the cross-entropy accuracies should not be 1, and the predictions should not be virtually identical.

BEGIN TRUNCATED PROGRAM OUTPUT:
doing cross validation
gamma: 1e-05 C: 1 cross validation accuracy: 1 1
gamma: 1e-05 C: 5 cross validation accuracy: 1 1
gamma: 1e-05 C: 25 cross validation accuracy: 1 1
gamma: 1e-05 C: 125 cross validation accuracy: 1 1
gamma: 1e-05 C: 625 cross validation accuracy: 1 1
gamma: 1e-05 C: 3125 cross validation accuracy: 1 1
gamma: 1e-05 C: 15625 cross validation accuracy: 1 1
gamma: 1e-05 C: 78125 cross validation accuracy: 1 1
gamma: 5e-05 C: 1 cross validation accuracy: 1 1
gamma: 5e-05 C: 5 cross validation accuracy: 1 1
gamma: 5e-05 C: 25 cross validation accuracy: 1 1
gamma: 5e-05 C: 125 cross validation accuracy: 1 1
gamma: 5e-05 C: 625 cross validation accuracy: 1 1
gamma: 5e-05 C: 3125 cross validation accuracy: 1 1
gamma: 5e-05 C: 15625 cross validation accuracy: 1 1
gamma: 5e-05 C: 78125 cross validation accuracy: 1 1
gamma: 0.00025 C: 1 cross validation accuracy: 1 1
gamma: 0.00025 C: 5 cross validation accuracy: 1 1
gamma: 0.00025 C: 25 cross validation accuracy: 1 1
gamma: 0.00025 C: 125 cross validation accuracy: 1 1
gamma: 0.00025 C: 625 cross validation accuracy: 1 1
gamma: 0.00025 C: 3125 cross validation accuracy: 1 1
gamma: 0.00025 C: 15625 cross validation accuracy: 1 1
gamma: 0.00025 C: 78125 cross validation accuracy: 1 1
gamma: 0.00125 C: 1 cross validation accuracy: 1 1
gamma: 0.00125 C: 5 cross validation accuracy: 1 1
gamma: 0.00125 C: 25 cross validation accuracy: 1 1
gamma: 0.00125 C: 125 cross validation accuracy: 1 1
gamma: 0.00125 C: 625 cross validation accuracy: 1 1
gamma: 0.00125 C: 3125 cross validation accuracy: 1 1
gamma: 0.00125 C: 15625 cross validation accuracy: 1 1
gamma: 0.00125 C: 78125 cross validation accuracy: 1 1
gamma: 0.00625 C: 1 cross validation accuracy: 1 1
gamma: 0.00625 C: 5 cross validation accuracy: 1 1
gamma: 0.00625 C: 25 cross validation accuracy: 1 1
gamma: 0.00625 C: 125 cross validation accuracy: 1 1
gamma: 0.00625 C: 625 cross validation accuracy: 1 1
gamma: 0.00625 C: 3125 cross validation accuracy: 1 1
gamma: 0.00625 C: 15625 cross validation accuracy: 1 1
gamma: 0.00625 C: 78125 cross validation accuracy: 1 1
gamma: 0.03125 C: 1 cross validation accuracy: 1 1
gamma: 0.03125 C: 5 cross validation accuracy: 1 1
gamma: 0.03125 C: 25 cross validation accuracy: 1 1
gamma: 0.03125 C: 125 cross validation accuracy: 1 1
gamma: 0.03125 C: 625 cross validation accuracy: 1 1
gamma: 0.03125 C: 3125 cross validation accuracy: 1 1
gamma: 0.03125 C: 15625 cross validation accuracy: 1 1
gamma: 0.03125 C: 78125 cross validation accuracy: 1 1
gamma: 0.15625 C: 1 cross validation accuracy: 1 1
gamma: 0.15625 C: 5 cross validation accuracy: 1 1
gamma: 0.15625 C: 25 cross validation accuracy: 1 1
gamma: 0.15625 C: 125 cross validation accuracy: 1 1
gamma: 0.15625 C: 625 cross validation accuracy: 1 1
gamma: 0.15625 C: 3125 cross validation accuracy: 1 1
gamma: 0.15625 C: 15625 cross validation accuracy: 1 1
gamma: 0.15625 C: 78125 cross validation accuracy: 1 1
gamma: 0.78125 C: 1 cross validation accuracy: 1 1
gamma: 0.78125 C: 5 cross validation accuracy: 1 1
gamma: 0.78125 C: 25 cross validation accuracy: 1 1
gamma: 0.78125 C: 125 cross validation accuracy: 1 1
gamma: 0.78125 C: 625 cross validation accuracy: 1 1
gamma: 0.78125 C: 3125 cross validation accuracy: 1 1
gamma: 0.78125 C: 15625 cross validation accuracy: 1 1
gamma: 0.78125 C: 78125 cross validation accuracy: 1 1

number of support vectors in our learned_function is 18
Observed: 1 Predicted -0.0559632
Observed: -1 Predicted -0.0559632
Observed: 1 Predicted -0.0559632
Observed: -1 Predicted -0.0559632
Observed: 1 Predicted -0.0559632
Observed: 1 Predicted -0.0559632
Observed: -1 Predicted -0.0559632
Observed: 1 Predicted -0.0559632
Observed: -1 Predicted -0.0559632
Observed: -1 Predicted -0.0559632
Observed: 1 Predicted -0.0559632
Observed: -1 Predicted -0.0559632
Observed: -1 Predicted -0.0559632
Observed: -1 Predicted -0.0559632
Observed: -1 Predicted -0.0559632
Observed: 1 Predicted -0.0559632
Observed: 1 Predicted -0.0559632
Observed: 1 Predicted -0.0559632
Observed: 1 Predicted -0.0559632
Observed: -1 Predicted -0.0559632
Observed: 1 Predicted -0.0559632
Observed: -1 Predicted -0.0559632
Observed: -1 Predicted -0.0559632
Observed: -1 Predicted -0.0559632
Observed: 1 Predicted -0.0559632
Observed: 1 Predicted -0.0559632
Observed: 1 Predicted -0.0559632
Observed: 1 Predicted -0.0559632
Observed: -1 Predicted -0.0559632
Observed: -1 Predicted -0.0559632
Model accuracy: 50
END PROGRAM OUTPUT

Load data from CSV

Create a utility function or a DataFrame class method to load a matrix of doubles from a CSV into a DataFrame.

  • Have user specify whether or not there is a "header" list of column names.
  • Auto-detect the number of columns in the dataset
  • Have user specify delimiter

Don't worry about DataList (can always convert a 1-column file to a DataList with the getFirst lambda)

Build System & Installation

This project needs to be reorganized a little bit:

  • Example cpp files will be in their own folder
  • included archives and other files will be in their own folder
  • ta-lib and ctsa will be in their own include_lib folder
  • a bash script will install all dependencies (including vcpkg w/ unzip etc)
  • one bash script will build standalone object files from the library
  • another bash script will take a command-line argument to build a main cpp file and link to the library object files
  • change the documentation to reflect these updates

Parallelization of binary classifier optimization fails

The binaryClassifier function in Dlib.h works quite well when the LOOP_POL execution policy in DlibConst.h is set to std::execution::seq (single-thread).

The whole point of having the execution policy and the for_each loops is to effortlessly switch to parallel optimization of the classifier by changing LOOP_POL to std::execution::par. BUT, when I switch it over, this happens:

BEGIN PROGRAM OUTPUT
Search for C and gamma based on test accuracy:
gamma: 1e-05 C: 1 test accuracy: 44
gamma: 1e-05 C: 5 test accuracy: 44
gamma: 1e-05 C: 25 test accuracy: 44
gamma: 1e-05 C: 125 test accuracy: 44
gamma: 1e-05 C: 625 test accuracy: 52
gamma: 1e-05 C: 3125 test accuracy: 88
gamma: 1e-05 C: 15625 test accuracy: 64
gamma: 1e-05 C: 78125 test accuracy: 84
gamma: 5e-05 C: 1 test accuracy: 44
gamma: 5e-05 C: 5 test accuracy: 44
gamma: 5e-05 C: 25 test accuracy: 44
gamma: 5e-05 C: 125 test accuracy: 52
gamma: 5e-05 C: 625 test accuracy: 88
gamma: 5e-05 C: 3125 test accuracy: 64
gamma: 5e-05 C: 15625 test accuracy: 84
gamma: 5e-05 C: 78125 test accuracy: 84
gamma: 0.00025 C: 1 test accuracy: 44
gamma: 0.00025 C: 5 test accuracy: 44
gamma: 0.00025 C: 25 test accuracy: 52
gamma: 0.00025 C: 125 test accuracy: 88
gamma: 0.00025 C: 625 test accuracy: 60
gamma: 0.00025 C: 3125 test accuracy: 80
gamma: 0.00025 C: 15625 test accuracy: 80
gamma: 0.00025 C: 78125 test accuracy: 80
gamma: 0.00125 C: 1 test accuracy: 44
gamma: 0.00125 C: 5 test accuracy: 52
gamma: 0.00125 C: 25 test accuracy: 88
gamma: 0.00125 C: 125 test accuracy: 56
gamma: 0.00125 C: 625 test accuracy: 80
gamma: 0.00125 C: 3125 test accuracy: 80
gamma: 0.00125 C: 15625 test accuracy: 80
gamma: 0.00125 C: 78125 test accuracy: 80
gamma: 0.00625 C: 1 test accuracy: 52
gamma: 0.00625 C: 5 test accuracy: 76
gamma: 0.00625 C: 25 test accuracy: 48
gamma: 0.00625 C: 125 test accuracy: 64
gamma: 0.00625 C: 625 test accuracy: 64
gamma: 0.00625 C: 3125 test accuracy: 64
gamma: 0.00625 C: 15625 test accuracy: 64
gamma: 0.00625 C: 78125 test accuracy: 64
gamma: 0.03125 C: 1 test accuracy: 56
gamma: 0.03125 C: 5 test accuracy: 44
gamma: 0.03125 C: 25 test accuracy: 44
gamma: 0.03125 C: 125 test accuracy: 44
gamma: 0.03125 C: 625 test accuracy: 44
gamma: 0.03125 C: 3125 test accuracy: 44
gamma: 0.03125 C: 15625 test accuracy: 44
gamma: 0.03125 C: 78125 test accuracy: 44
gamma: 0.15625 C: 1 test accuracy: 56
gamma: 0.15625 C: 5 test accuracy: 44
gamma: 0.15625 C: 25 test accuracy: 44
gamma: 0.15625 C: 125 test accuracy: 44
gamma: 0.15625 C: 625 test accuracy: 44
gamma: 0.15625 C: 3125 test accuracy: 44
gamma: 0.15625 C: 15625 test accuracy: 44
gamma: 0.15625 C: 78125 test accuracy: 44
gamma: 0.78125 C: 1 test accuracy: 56
gamma: 0.78125 C: 5 test accuracy: 56
gamma: 0.78125 C: 25 test accuracy: 56
gamma: 0.78125 C: 125 test accuracy: 56
gamma: 0.78125 C: 625 test accuracy: 56
gamma: 0.78125 C: 3125 test accuracy: 56
gamma: 0.78125 C: 15625 test accuracy: 56
gamma: 0.78125 C: 78125 test accuracy: 56
Best accuracy before optimizing: 88 with gamma 1e-05 and C 3125
Initializing population...
Done initializing population.
Ranking...
Done ranking
Best accuracy during optimizing: 88

**************************** FATAL ERROR DETECTED ****************************

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 10
this: 006BE0C0


************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 10
this: 006BE0C0

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 10
this: 006BE0C0

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 11
size(): 10
this: 006BE0C0

************************** FATAL ERROR DETECTED ************************** Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 10
this: 006BE0C0

************************** FATAL ERROR DETECTED ************************** Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 10
this: 006BE0C0

************************** FATAL ERROR DETECTED ************************** Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 10
this: 006BE0C0

Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

************************** FATAL ERROR DETECTED ************************** Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

************************** FATAL ERROR DETECTED **************************

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const class dlib::matrix<double,4,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout> &__thiscall dlib::matrix<class dlib::matrix<double,4,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 11
this: 006BE0E0

************************** FATAL ERROR DETECTED ************************** Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const class dlib::matrix<double,4,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout> &__thiscall dlib::matrix<class dlib::matrix<double,4,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 12
this: 006BE0E0

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 10
this: 006BE0C0

************************** FATAL ERROR DETECTED ************************** Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const class dlib::matrix<double,4,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout> &__thiscall dlib::matrix<class dlib::matrix<double,4,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 11
this: 006BE0E0

Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275
************************** FATAL ERROR DETECTED **************************

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 10
this: 006BE0C0

************************** FATAL ERROR DETECTED ************************** Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 10
this: 006BE0C0

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 11
size(): 11
this: 006BE0C0

************************** FATAL ERROR DETECTED **************************
Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275
************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 11
size(): 10
this: 006BE0C0

Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275
Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 10
this: 006BE0C0

Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 10
this: 006BE0C0

Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275
************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 10
this: 006BE0C0

************************** FATAL ERROR DETECTED ************************** Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const class dlib::matrix<double,4,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout> &__thiscall dlib::matrix<class dlib::matrix<double,4,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 11
this: 006BE0E0

************************** FATAL ERROR DETECTED ************************** Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

************************** FATAL ERROR DETECTED **************************

Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 10
this: 006BE0C0

************************** FATAL ERROR DETECTED ************************** Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:
Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 10
this: 006BE0C0

Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const class dlib::matrix<double,4,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout> &__thiscall dlib::matrix<class dlib::matrix<double,4,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 11
this: 006BE0E0

Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 11
size(): 10
this: 006BE0C0

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 11
size(): 11
this: 006BE0C0

************************** FATAL ERROR DETECTED ************************** Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const class dlib::matrix<double,4,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout> &__thiscall dlib::matrix<class dlib::matrix<double,4,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 11
this: 006BE0E0

************************** FATAL ERROR DETECTED **************************
Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 10
this: 006BE0C0

Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275
************************** FATAL ERROR DETECTED **************************
************************** FATAL ERROR DETECTED **************************

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Two fatal errors have been detected, the first was inappropriately ignored.
To prevent further fatal errors from being ignored this application will be
terminated immediately and you should go fix this buggy program.

The error message from this fatal error was:

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const class dlib::matrix<double,4,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout> &__thiscall dlib::matrix<class dlib::matrix<double,4,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 10
size(): 11
this: 006BE0E0

Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275

Error detected at line 1334.
Error detected in file C:\DEV\vcpkg\installed\x86-windows\include\dlib\matrix\matrix.h.
Error detected in function const double &__thiscall dlib::matrix<double,0,1,class dlib::memory_manager_stateless_kernel_1,struct dlib::row_major_layout>::operator ()(long) const.

Failing expression was 0 <= i && i < size().
const type matrix::operator(i)
You must give a valid row/column number
i: 11
size(): 10
this: 006BE0C0

Assertion failed: false, file C:\DEV\vcpkg\installed\x86-windows\include\dlib\error.h, line 275
END PROGRAM OUTPUT

Screenshot 2021-08-30 085341

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.