mirror of
https://github.com/Relintai/pmlpp.git
synced 2025-01-18 15:07:16 +01:00
Fixed warnings in MLPPCLogLogReg.
This commit is contained in:
parent
3036db18fb
commit
c37237aef8
@ -145,7 +145,9 @@ void MLPPCLogLogReg::MBGD(real_t learning_rate, int max_epoch, int mini_batch_si
|
||||
|
||||
// Creating the mini-batches
|
||||
int n_mini_batch = n / mini_batch_size;
|
||||
auto [inputMiniBatches, outputMiniBatches] = MLPPUtilities::createMiniBatches(inputSet, outputSet, n_mini_batch);
|
||||
auto batches = MLPPUtilities::createMiniBatches(inputSet, outputSet, n_mini_batch);
|
||||
auto inputMiniBatches = std::get<0>(batches);
|
||||
auto outputMiniBatches = std::get<1>(batches);
|
||||
|
||||
while (true) {
|
||||
for (int i = 0; i < n_mini_batch; i++) {
|
||||
@ -214,7 +216,6 @@ real_t MLPPCLogLogReg::propagate(std::vector<real_t> x) {
|
||||
|
||||
// cloglog ( wTx + b )
|
||||
void MLPPCLogLogReg::forwardPass() {
|
||||
MLPPLinAlg alg;
|
||||
MLPPActivation avn;
|
||||
|
||||
z = propagate(inputSet);
|
||||
|
Loading…
Reference in New Issue
Block a user