Fetch Data
“Data really powers everything that we do.” — Jeff Weiner. “Data that is loved tends to survive.” — Kurt Bollacker.
imagine that I have a list of voters’ data and I want to send a file to the function addVotersList to add all the voters with one click rather than sending the data one by one for each voter
this is the function I would probably write in .sol:
function addVotersList(string[] calldata _names,uint[] calldata _ids , address[] calldata _voters)public {
for (uint i = 0; i < _names.length; i++)
{
global_names[i]=_names[i];
global_ids[i]=_ids[i];
global_voter[i]=_voter[i];
}
}
I used arrays to store data arguments and then those arguments’ states can be altered and be read when called.
When building a program application, you have to be honest with yourself about the precise approach to take. if your data branches are not optimized to give accurate output, it becomes complex to fetch the actual data needed. the info you need may be stored in .,.,. 34 when searched instead of it to come up first. ..1,.2.,.
mostly programs or applications involved in complex data fetching use deep learning, and machine lang to training modules to build on certain specifications. for example
an app to dictate or predict your nationality based on your parent’s name or some other factor, sorting this data as a person in a case where theirs lots of people, going through each file may take a while. It gets exhausting but even with the program you don’t want to fetch the wrong data, your only deceive the output if properly checked it tested, so you train the module.
How deep learning works
Computer programs that use deep learning go through much the same process as the toddler learning to identify a dog. Each algorithm in the hierarchy applies a nonlinear transformation to its input and uses what it learns to create a statistical model as output. Iterations continue until the output has reached an acceptable level of accuracy. The number of processing layers through which data must pass is what inspired the label deep
with a language like a solidity you write functions to get those data stored in arrays and then as more gas is being spent to store them in blocks, you can also sort it with a properly written .sol smart contract.
fetching data is simple as knowing a = apple and then being asked to name other fruits that start with a,
you begin fetching ……