% Import & initialize gold project data
% from file:
% Training_gold.xlsx
T = readtable ("Testing gold (23-7-2019).xlsx");% Specify data range used as input
DataRange = "B5:J14";% Specify column names and types
VariableNames = ["gold", "shcap", "shunit", "truckcap", "truckunit", "eqltime", "midevtime", "miprod", "capex"];SelectedVariableNames = ["gold", "shcap", "shunit", "truckcap", "truckunit", "eqltime", "midevtime", "miprod", "capex"];VariableTypes = ["double", "double", "double", "double", "double", "double", "double", "double", "double"];% Create the variables
goldprice = ('gold');shovelcap = ('shcap');shovelunit = ('shunit');truckcap = ('truckcap');truckunit = ('truckunit');eqltime = ('eqltime');midevtime = ('minedevtime');miprod = ('miprod');capex = ('capex');%Save the variables into one *.mat file
save Training_gold_1 goldprice shovelcap shovelunit truckcap truckunit eqltime midevtime miprod capex %Clear them out of the workspace
clear goldprice shovelcap shovelunit truckcap truckunit eqltime midevtime miprod capex%Load the cost variables
load ("Training_gold_1.mat");
MATLAB: How to use Genetic Algoritm to predict future cost? I am stuck and would like some guidance to the next step
ant colony optimizationgenetic algorithm
Related Question
- Can SPEA2 algorithm be implemted using matlab optimization toolbox
- Does the function give no outputs
- Hungarian algorithm realizated in matlab
- How to save each loop data
- How to convert all string cells in a table to numerical values
- Custom genetic algorithm- linking all the files and data file.
- Converting categorical data to prespecified numbers
Best Answer