Question
Whenever I use fitnet it applies minmax to my data by default, however my data is already scaled, so I was just wondering if there was a way to change this default feature.
Expert Answer
Kshitij Singh
PhD Expert
Answered Aug 24, 2026
To remove mapminmax as a processFcn but still keep removeconstantrows
close all, clear all, clc
% WITH DEFAULT MAPMINMAX
[x,t] = simplefit_dataset; net = fitnet; rng(0) [net tr y e ] = train(net,x,t); NMSE1 = mse(e)/mean(var(t',1)) % 1.7558e-05
% WITHOUT DEFAULT MAPMINMAX
[x,t] = simplefit_dataset;
net = fitnet;
net.inputs{1}.processFcns={'removeconstantrows'};
net.outputs{2}.processFcns={'removeconstantrows'};
rng(0)
[net tr y e ] = train(net,x,t);
NMSE2 = mse(e)/mean(var(t',1)) % 1.7241e-05
100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related neural networks Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →