I am doing image processing in Julia, so basically i am having variables like as below:
labelsInfoTrain = readtable(file_name.csv) this reads information from file containing 2 values ID and value
xTrain = read_data("train", labelsInfoTrain, imageSize, pathOfDirectory) xTrain is matrix which reads my training matrix, imagesize is integer, '“train” is just a string.
yTrain = map(x -> x, labelsInfoTrain) this get only first character of string (convert from string to character) and this is applied to each second element in labelsInfoTrain.
and after that i am converting that character to int as
yTrain = int(yTrain)
And Error is like below:
ERROR: LoadError: type Array has no field data in read_data(::String, ::DataFrames.DataFrame, ::Int32, ::String) at .jl file location.