mirror of
https://github.com/Relintai/pmlpp.git
synced 2024-11-08 13:12:09 +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) {
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user