mirror of
https://github.com/Relintai/pmlpp.git
synced 2025-01-04 16:49:36 +01:00
Fixed MLPPAutoEncoder::cost().
This commit is contained in:
parent
5e13b3abf1
commit
32badc7aee
@ -291,7 +291,7 @@ MLPPAutoEncoder::~MLPPAutoEncoder() {
|
|||||||
real_t MLPPAutoEncoder::cost(const Ref<MLPPMatrix> &y_hat, const Ref<MLPPMatrix> &y) {
|
real_t MLPPAutoEncoder::cost(const Ref<MLPPMatrix> &y_hat, const Ref<MLPPMatrix> &y) {
|
||||||
MLPPCost mlpp_cost;
|
MLPPCost mlpp_cost;
|
||||||
|
|
||||||
return mlpp_cost.msem(y_hat, _input_set);
|
return mlpp_cost.msem(y_hat, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
Ref<MLPPVector> MLPPAutoEncoder::evaluatev(const Ref<MLPPVector> &x) {
|
Ref<MLPPVector> MLPPAutoEncoder::evaluatev(const Ref<MLPPVector> &x) {
|
||||||
|
Loading…
Reference in New Issue
Block a user