You are reading the article Learn The Use Cases For Return Statement updated in December 2023 on the website Achiashop.com. We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested January 2024 Learn The Use Cases For Return Statement
Introduction to MATLAB ReturnIn computer programming, a return statement is defined to be executed to return the control to the parent sub routine from the invoking subroutine. The flow of execution resumes at the point in the program code immediately after the instruction, which is called its return address, and the running scope of the code can be defined as the called subroutine. In the absence of a parent subroutine, the return statement returns the control of execution to the command prompt. In this topic, we are going to learn about Matlab return.
Start Your Free Data Science Course
Hadoop, Data Science, Statistics & others
Syntax
The return command redirects the control to invoking script or function instead of letting MATLAB execute the rest of the consecutive commands in the called subroutine. MATLAB redirects the control nothing but to the command prompt when a script or a function contains a return, and it is not being called from any invoking program.
Use cases for a return statementReturn command is used in different conditions based on the technical requirement of the program. It can also be used for data validity checking functionality. Some of the important use cases are discussed below.
1. Bringing control to keyboardIf a program needs the user to take action on the occurrence of some specific condition, the current subroutine or function can be called directly without being triggered by any parent sub routine, and the flow of control returns to the command prompt or the keyboard when the command ‘return’ is executed.
Example:
The below code snippet defines a function findindex() where the return command is used with 2 purposes:
Performing validation checking on input data
Returning control to keyboard once the match is found
endfunction
Case 1: The return statement is executed on a negative input being given
findindex(-15,[12 34 54 15 32])
Output:
Case 2: The return statement is executed on match to the input data is found
findindex(15,[12 34 54 15 32])
Output:
2. Redirecting execution flow to the parent (calling) subroutine from the called subroutineIf the program needs to reroute the flow of control to the calling subroutine or the calling function on the occurrence of some specific condition. It can be carried out when its parent subroutine triggers the current in the current subroutine or function, and the command ‘return’ is executed.
Example:
The below code snippet defines a function findindex() within another function callfunction() where the return command is used with 2 purposes:
Performing validation checking on input data of findindex() function
Returning control to callfunction() from findfunction() return command
function resultfunc = callfunction(inputval,referenceArray)result=findindex(inputval,referenceArray); if isnan(result)disp(‘Match is not found.’) elsedisp([‘Match is found at ‘ num2str(result)]) endendfunction
callfunction(-12, [10 21 14 15 20 12 20])
Case 2: The return statement is executed on match to the input data is found
callfunction(12, [10 21 14 15 20 12 20])
Output:
3. Usage of return and continue statement in a loopThe program can have the flexibility to decide on which condition the flow of control should be rerouted to its calling sub routine or the command prompt and on which condition will force the flow to stay in the current system.
Example:
The below code snippet defines a function findindex() within another function callfunction() where the return command is used with 2 purposes:
Performing validation checking on input data of findindex() function
Returning control to callfunction() from findfunction() return command when the match is found and make the flow stay within the loop using the command ‘continue’ when the matched element is not found.
Example:
endfunction
findindex(-15,[12 34 54 15 32])
Output:
Case 2: The return and continue statement execution based on finding matched or non-matched element
findindex(15,[12 34 54 15 32])
Output:
Advantages of Matlab returnUsing a return statement prevents the execution of unwanted functionalities once the desired condition is satisfied. As a result, it improves code quality and optimizes the code execution. As it reduces the number of instructions to be executed, it also reduces the execution time for the program. Thus it
makes the execution faster and results in improving the performance. Use of return statement in association with ‘continues’ statement provides flexibility to the program to decide whether to reroute the flow of control or keep it running within the current scope of the code.
Additional noteWhile using return within conditional blocks, such as if or switch, or within loop control statements, such as, for or while, the programmer needs to be careful. In MATLAB, when the control flow reaches a return statement in a conditional block, it just exits the loop and exits the script or function in which the return command is executed. Hence directly, it returns control to the invoking subroutine or commands prompt.
In MATLAB, it is not supported to return values using the return statement. To send a return value, it is required to set the value of each ‘out’ arg. Functions may return more than one argument as return values.
Recommended ArticlesThis is a guide to Matlab return. Here we discuss the Use cases for the return statement along with the examples, cases and outputs. You may also have a look at the following articles to learn more –
You're reading Learn The Use Cases For Return Statement
Learn The Examples Of Truncate Table Statement
Introduction to SQL TRUNCATE()
TRUNCATE in standard query language (SQL) is a data definition language (DDL) statement used to delete complete data from a database table without deleting it. It frees up space or empties space in the table. However, we should note that TRUNCATE TABLE statements might need to be roll backable in many SQL databases. Also, being a DDL statement, the TRUNCATE table statement does not require a commit at each step; it automatically fires a commit at the end of the execution of the statement. Hence, we should be careful while using it.
Start Your Free Data Science Course
Hadoop, Data Science, Statistics & others
Syntax and Parameters
The basic syntax for using a SQL TRUNCATE TABLE statement is as follows :
TRUNCATE TABLE table_name;Table_name: It is the name of the table whose records or rows you want to delete permanently.
How does the TRUNCATE TABLE statement work in SQL?TRUNCATE TABLE statement in SQL works by zeroing out a file in the database, i.e., after running a TRUNCATE statement on an existing table, the table becomes empty and hence does not hold any row records. It resets the table to zero entries.
However, its structure, columns, indexes, constraints, relationships, views, etc., are preserved after truncating the table. The entire operation is like erasing data from the table but keeping the table intact.
TRUNCATE in Data Definition Language (DDL) is equivalent to DELETE in Data Manipulation Language (DML). The only difference is that the latter can be rolled back, but the first cannot. However, TRUNCATE is faster than DELETE because it usually bypasses the transaction system. It is not logged (it can vary across SQL databases) and does not follow predicates and hence seems to be faster than the DELETE operation. DELETE is a safer and slower operation.
Examples of SQL TRUNCATE()Here are a few examples to explain the TRUNCATE TABLE statement in great detail.
Example #1Simple SQL query to illustrate the function of the TRUNCATE TABLE statement.
To understand the SQL TRUNCATE TABLE, let us consider a “customers” table. The data in the table looks like this.
Command:
SELECT * FROM public.customersOutput:
Next, let us run the TRUNCATE TABLE statement on the customer’s table to remove all its records. We can do so using the following SQL query.
Command:
TRUNCATE TABLE customers;Output:
We can see in the figure below that the TRUNCATE TABLE statement has removed all the records in the customer’s table. However, all the columns, relationships, indexes, and table structures have been kept safe.
Command:
SELECT * FROM customers;Output:
Example #2For this, let us consider two tables, “customer_details” and “students”. The table structure and the data in them look something like this. Records in the “Customer_details” table are as follows:
Command:
SELECT * FROM public.customers_detailsOutput:
Records in the “Students” table are as follows:
SELECT * FROM public.studentsOutput:
Next, we will run the TRUNCATE TABLE on the customer_details table and DROP TABLE on the student’s table, and then we will check the difference.
Command:
TRUNCATE TABLE customer_details;Output:
Command:
Output:
We can observe from the images above that the DROP TABLE statement is faster than the TRUNCATE TABLE statement in SQL.
Now let us check what happened to the two tables after truncating and dropping, respectively.
Command:
SELECT * FROM customer_details;Output:
Command:
SELECT * FROM students;Output:
From the above two images, we can observe that in the TRUNCATE statement, the table structure is preserved; only the data/records in the table have been removed. Whereas in the case of the DROP TABLE statement, the entire table has been removed from the database.
ConclusionTRUNCATE TABLE in SQL is a Data Definition Language (DDL) statement that empties an existing table by removing all the records while preserving table columns, privileges, indexes, views, constraints, relationships, etc. It is equivalent to but faster than the DELETE statement in SQL. However, unlike DELETE, it cannot be rolled back.
Recommended ArticlesWe hope that this EDUCBA information on “SQL TRUNCATE()” was beneficial to you. You can view EDUCBA’s recommended articles for more information.
How To Use Excel Vba Goto Statement?
Excel VBA GoTo Statement
VBA Goto Statement is used for overcoming the predicted errors while we add and create a huge code of lines in VBA. This function in VBA allows us to go with the complete code as per our prediction or assumptions. With the help Goto we can go to any specified code of line or location in VBA. There is two way of doing it which we will see in upcoming examples.
Watch our Demo Courses and Videos
Valuation, Hadoop, Excel, Mobile Apps, Web Development & many more.
How to Use Excel VBA Goto Statement?We will learn how to use Excel VBA Goto Statement with a few examples.
You can download this VBA GoTo Excel Template here – VBA GoTo Excel Template
Example #1The first way of using VBA Goto is by Application.Goto method. With the help of Application.Goto statement we can to any specific location, workbook or worksheet which is opened currently. This statement will look like as below.
[Reference]: This is nothing but a specified cell reference. If the reference is not provided by default it will take you to the last used cell range.
[Scroll]: This a logical statement of TRUE or FALSE. If the value is TRUE it will scroll through the window, if the value if FALSE it will not scroll through the window.
Now it will open a new Module. There write the Subcategory of a macro with the name of Goto as we are performing that code as shown below.
Code:
Sub
VBAGoto()End Sub
Now write Application.Goto to enable to application or place where we want to go.
Code:
Sub
VBAGoto() Application.GotoEnd Sub
After that give Reference to any worksheet or workbook and range of cells. Here we have given the range of Cell B3 and Worksheets of named as “VBA Goto”.
Code:
Sub
VBAGoto() Application.Goto Reference:=Worksheets("VBA_Goto1").Range("B3"),End Sub
Now for actually going to the mentioned cell we need to add Scroll argument which will directly take us to the specified cell. Now we will change the scroll argument from FALSE as shown below.
Code:
Sub
VBAGoto() Application.Goto Reference:=Worksheets("VBA_Goto1").Range("B3"), Scroll:=False
End Sub
After running the code using F5 key or manually, we will see cursor will get shifted to cell B3 without changing the orientation of the selected sheet as shown below.
Now we will change Scroll argument from FALSE to TRUE.
Code:
Sub
VBAGoto() Application.Goto Reference:=Worksheets("VBA_Goto1").Range("B3"), Scroll:=True
End Sub
Example #2There is another way of using VBA Goto argument. Using Goto in VBA by this example, we can skip the argument which is causing an error. For this, insert a new module in VBA and start Subcategory with the name of argument used as shown below. You can use any other name.
Code:
Sub
VBAGoto()End Sub
For this, we will consider 3 integers X, Y, and Z by opening Sub category in VBA as shown below.
Code:
Sub
VBAGoto()Dim
XAs Integer
, YAs Integer
, ZAs Integer
End Sub
Now also consider some mathematical division where we will divide 10, 20 and 30 with 0, 2 and 4 as shown below.
Code:
Sub
VBAGoto()Dim
XAs Integer
, YAs Integer
, ZAs Integer
X = 10 / 0 Y = 20 / 2 Z = 30 / 4End Sub
If we run the code we will get the same error message of Run-time error 11.
Above error message Run-time error ‘11’ comes only when the written mathematical expression is incorrect. Now to overrule this error, we will use text On Error GoTo with word YResult to skip error message and get the output which works fine as shown below.
Still, our code is not complete. Using Goto with statement “YResult:” will only skip the error line of code. But it will again show the error as Labe not defined as shown below.
Code:
Sub
VBAGoto()Dim
XAs Integer
, YAs Integer
, ZAs Integer
On Error GoTo
YResult: X = 10 / 0 Y = 20 / 2 Z = 30 / 4End Sub
Now to complete it, we need to define the Label. Label is the part of statement in VBA Coding, which is used when we want to skip a certain portion of code to any defined applicable line of code. As we already have YResult with Goto argument. Then we will insert the same just before integer Y. Now run the code again.
Code:
Sub
VBAGoto()Dim
XAs Integer
, YAs Integer
, ZAs Integer
On Error GoTo
YResult: X = 10 / 0 YResult: Y = 20 / 2 Z = 30 / 4End Sub
As seen and done, we have not got any error message which means that our code is correct and it is skipping that line of code which was causing an error and giving the output where the correct code has been written. Now to print the result of code need to insert message boxes for each Integer with the help argument MsgBox as shown below.
Code:
Sub
VBAGoto()Dim
XAs Integer
, YAs Integer
, ZAs Integer
On Error GoTo
YResult: X = 10 / 0 YResult: Y = 20 / 2 Z = 30 / 4 MsgBox X MsgBox Y MsgBox ZEnd Sub
Once done then run the complete code to see the output. We will the output of division of each defined integers as 0, 10 and 8 as shown in below screenshot as well.
On Error GoTo YResult statement helped us to directly jump to mentioned result point integer as we did for integer Y. And the output for X as 0 shows that there was incorrect statement argument written. We can the Label even before Z but that would give us the result of Z integer only. For X and Y it will again show 0 as output.
Pros of VBA On Error
We can calculate any mathematical formula even if it is incorrect.
For bigger coding structures where there are chances or having an error, using GoTo may give correct result even among the line of codes.
This gives better result as compared to the result obtained from normal excel calculations in spite of having an incorrect argument.
Things To Remember
Remember to the file in Macro-Enabled Excel file so that we can use created VBA code many and multiple times.
Compile the written code before implementing with any excel requirement.
Use Label as shown in example-2 appropriately so that we will get the result for the complete correct code.
Recommended ArticlesThis has been a guide to VBA GoTo Statement. Here we discussed how to use Excel VBA GoTo Statement along with some practical examples and downloadable excel template. You can also go through our other suggested articles –
Virtual Reality For Business: 9 Key Use Cases
Is virtual reality for business for real? This year could finally be the year virtual reality takes off, after so many failed attempts in the past. There is an abundance of hardware choices on the VR market and VR technology finally seems to be catching up with the concept.
However, VR for business is still on the horizon. VR is overwhelmingly being positioned as a form of entertainment and gaming. As of 2023 Q1, virtual reality for business is something of an afterthought, at least to the hardware vendors like Oculus and Samsung.
But that’s not to say businesses are shunning virtual reality. There are some exceptional examples of VR for business use that are slowly emerging even as people play games. Some are designed to give a virtual experience, while others give an alternate experience.
Virtual reality for business is still in its infancy but is already showing promise to help companies provide customers with information in ways that a 2D monitor simply cannot deliver. And it will only improve as vendors get better at it and more VR firms for business and not games enter the market.
Virtual Reality for Business: Key Uses1) IKEA’s virtual store
Visiting an IKEA can be akin to torture, with its confusing layout and often chaotic activity. Then when you get to the floor models for room designs, the model might be only in one style and you don’t have the option of seeing other designs.
The app was has its roots in gaming, developed by French game company called Allegorithmic and using the Unreal Engine 4 from Epic Games. The app is sold through Steam, the online store that is to PC game sales what iTunes is to music.
2) Excedrin’s Migraine Experience
Now why would anyone want to experience a migraine headache if they don’t get them? The answer is empathy. Excedrin’s VR Migraine Experience makes a non-sufferer go through at least the visual element of a migraine, even if it can’t simulate the pain (and be glad it doesn’t), so they see that what the migraine sufferer endures is not a minor experience.
Novartis, maker of Excedrin, says 36 million Americans are affected by migraines, about one-tenth of the population, but that “Migraines are still widely misunderstood — largely because those who don’t experience the condition can’t fully understand it.”
The purpose of the VR experience is to show what it’s like to have the visual symptoms, like sensitivity to light and sound, disorientation, and visual disturbances, sometimes manifesting as spots or jagged edges or flashes of light that are blinding.
3) Surgical streaming
In 2014, British oncology surgeon Dr. Shafi Ahmed live streamed the removal of a tumor from the liver and bowel of a patient using Google Glass. It was watched by 13,000 surgical students, healthcare professionals and members of the public in more than 100 countries.
Ahmed told the UK Guardian he he thinks the next step in a few more years would be to add additional components that would allow surgical users to experience touch and feel via a VR type of glove.
4) AOL’s virtual newsroom
AOL just acquired Ryot, the maker of a virtual reality-powered news service, which will be incorporated into a special subdomain of The Huffington Post to create “the world’s largest 360° and VR news network.” Ryot will be expanded to all of AOL’s properties, like Engadget, TechCrunch, and Autoblog.
5) Lowe’s Holoroom
Holoroom uses Marxent’s VisualCommerce to turn its products into 3D objects, which the customer then uses to design a kitchen or bathroom. They can choose from tile, countertops, sinks, faucets, appliances, toilets and other finishes and products. Selections can be swapped out at will to create a final design. Once the design is complete, the customer then can purchase the actual selection of products.
6) Drone Virtual Visuals
Drones have become a popular toy, and often misused. Just ask an airline pilot. But drones also have practical uses and can provide a really great high altitude perspective that would otherwise require renting a plane or helicopter. The problem is you might have to wait for the drone to land to get the video.
Drone maker Parrot has a fix for its quadcopter drone, known as Bebop. It uses Oculus Rift to see what the drone sees through its 180-degree fish-eye lens. This gives a first-person perspective, rather than squinting at a monitor, to give a direct view of something like inspecting a construction site.
7) Virtual home tours
Lowe’s and IKEA are helping with home redesign, but what about shopping for an actual home? That means driving around and doing walkthroughs of homes that might be presently occupied, having to arrange schedules, and so on.
In India it’s an even bigger problem, with home purchases taking six to 12 months and involving a lot of driving. chúng tôi India’s leading online real estate platform, has a fix for that with CommonFloor Retina. The application offers potential buyers the chance to view/review/assess multiple properties from anywhere at any point of time, walk through the home and see how it looks without disturbing the owner or making a pointless drive.
8) Retinad Analytics
9) Mechdyne
Big Data creates data sets that don’t fit onto a 23-inch monitor. So what better way to visualize them than to literally walk through them? Mechdyne uses Cave Automatic Virtual Environment (CAVE), which projects a virtual reality environment on three and six of the walls of a room-sized cube to visualize data in a number of ways, with special focus on modeling and simulation, Big Data, and collaboration.
A researcher can turn data into smart data that they can visualize and interact with. They see trends, patterns, outliers, and unanticipated relationships faster and more effectively in a 3D model than a 2D model on a flat monitor. This allows for more informed reaction and response to that data and more discoveries.
The visualization tools from Mechdyne enable users to see trends and patterns in the data, revealing opportunities to improve processes, strengthen customer understanding and retention, and drive efficiencies both inside and outside of the organization.
Learn How We Can Use The Xmlagg Function?
Introduction to Oracle XMLAGG
We can use the XMLAGG function in the oracle database to aggregate the collection of fragments of XML. This function returns the value which will be an aggregated document in XML and if any of the arguments that are passed to this function evaluate to NULL then the argument is skipped or dropped out from the final result. This function behaves in the same way as that of SYS_XMLAGG. But there is only one difference between SYS_XMLAGG and XMLAGG which is that the XMLAGG function does not accept the XMLFORMAT object for the purpose of formatting the result though it returns the collection of the nodes as the result. One more difference is that the resultant of XMLAGG is not enclosed in the element tags as in the case of SYS_XMLAGG. The number literals mentioned in the ORDER BY clause are not interpreted by the oracle database as column positions as in other cases but they are referred to as number literals themselves.
Start Your Free Data Science Course
Hadoop, Data Science, Statistics & others
The syntax of the XMLAGG function is as shown below –
The syntax can also be understood from the following figure –
As the XMLAGG function returns the result in a single row or cell to wrap around all the element tags inside a single parent tag we can optionally make the use of XML_ELEMENT which will help to get all the result enclosed in a new parent tag or inside a single element which is created by it. When the strings are to be aggregated then we can use the “.extract(‘//text()’)” which will keep the string together in XML and the rtrim() function can be used along with it to get rid of the trailing commas or spaces. When instead of strings we are about to aggregate the CLOB values using XMLAGG function then we can make the use of xmlparse which will accept the XML text and will transform it into a datatype of XMLTYPE. The use of the ORDER BY clause is completely optional in nature and can be used to order the values of XML elements that are being concatenated by using the XMLAGG function.
Examples of Oracle XMLAGGLet us take the example of the customer data of a particular brand having multiple stores and multiple departments in each of the stores. The table is created and the data is inserted in it which can be done by using the following query –
COMMIT;
There are in all 14 different customers data being inserted into the customer’s table that is created using the INSERT INTO statements whose contents are as shown below –
GROUP BY department_id;
The XML element used in the above statement will lead to the creation of a new xml element called customer data. We can give any name to this xml element being created which will contain the concatenated value of the f_name, l_name, and the comma between each of the concatenated values. The use of XMLAGG, in this case, gives rise to the creation of the XML snippet which is the aggregation of the customer data XML elements. The use of rtrim() removes all the spaces and the trailing commas while.extract helps to keep the string together as a single unit. The execution of the above query will give the following output along with all the grouped result set according to the departments of the store as shown below –
In XML format, the output of the execution of the above query will be as follows along with all the grouped result set according to the departments of the store –
We can even make use of the XMLAGG function along with the CLOB datatype values rather than the string values by using the XMLPARSE which takes the specified XML values as text and further converts them to XMLTYPE data type.
GROUP BY department_id;
The execution of the above query will give the following output along with all the grouped result set according to the departments of the store but without the commas between the aggregated values as shown below –
In XML format, the output of the execution of the above query will be as follows along with all the grouped result set according to the departments of the store –
We can even use the JSON_ARRAYAGG instead of the XMLAGG function for the oracle database versions which are more than 18c or later. We can use the JSON_ARRAYAGG instead of the XMLAGG function in the above query in the following way which generates similar results with a little difference of the square brackets for each group.
GROUP BY department_id;
The execution of the above query will give the following output along with all the grouped result set according to the departments of the store as shown below –
In XML format, the output of the execution of the above query will be as follows along with all the grouped result set according to the departments of the store –
ConclusionWe can use the XMLAGG function in the oracle database management system for aggregating multiple strings or XML fragments to be represented as a concatenated XML element as a single unit. Mostly, strings are aggregated to generate a comma-separated concatenated string which is the collection of all the minor strings. The XMLAGG function works similar to that of SYS_XMLAGG with some minor differences in formatting. In the versions of oracle higher than 18 c, we can also use the JSON_ARRAYAGG function as an alternative to XMLAGG for aggregating multiple values and representing them in a single row or cell. The ORDER BY and GROUP BY statements are mostly used along with the XMLAGG function to get the grouped concatenated result which is properly ordered.
Recommended ArticlesThis is a guide to Oracle XMLAGG. Here we discuss How we can use the XMLAGG function in the oracle database management system. You may also have a look at the following articles to learn more –
Machine Learning (Ml) Business Use Cases
As machine learning (ML) technology improves and uses cases grow, more companies are employing ML to optimize their operations through data.
As a branch of artificial intelligence (AI), ML is helping companies to make data-based predictions and decisions based at scale.
Here are some examples across the globe of how organizations in various industries are working with vendors to implement machine learning solutions:
See more: Machine Learning Market
The AES Corporation is a power generation and distribution company. They generate and sell power used for utilities and industrial work.
They rely on Google Cloud on their road to making renewable energy more efficient. AES uses Google AutoML Vision to review images of wind turbine blades and analyze their maintenance needs.
“On a typical inspection, we’re coming back with 30,000 images,” says Nicholas Osborn, part of the Global AI/ML Project Management Office at AES.
“We’ve built a great ML solution using Google Cloud’s tools and platform. With the AutoML Vision tool, we’ve trained it to detect damage. We’re able to eliminate approximately half of the images from needing human review.”
Industry: Electric power generation and distribution
Machine learning product: Google Cloud AutoML Vision
Outcomes:
Reduced image review time by approximately 50%
Helped reduce prices of renewable energy
More time to invest in identifying wind turbine damage and mending it
Watch the full AES on Google Cloud AutoML Vision case study here.
AIMMO Enterprise is a South Korean web-based platform for self-managing data labeling projects. Their services can be used for autonomous driving, robotics, smart factories, and logistics.
They were able to boost work efficiency and productivity by establishing an MLOps pipeline using the Azure Machine Learning Studio.
“With Azure ML, AIMMO has experienced significant cost savings and increased business efficiency,” says SeungHyun Kim, chief technical officer at AIMMO.
“By leveraging the Azure ML pipeline, we were able to build the entire cycle of AIMMO MLOps workflow quickly and flexibly.”
Industry: Professional services
Machine learning product: Microsoft Azure Machine Learning Studio
Outcomes:
Improved efficiency and reduced costs
Helped build AIMMO’s entire MLOps workflow
Makes it easier to deploy batch interface pipelines
Works as an all-in-one MLOps solution to process data in 2D and 3D
Read the full AIMMO on Microsoft Azure Machine Learning Studio case study here.
See more: Key Machine Learning (ML) Trends
Bayer AG is a multinational pharmaceutical and life sciences company based in Germany. One of their specializations is in producing insecticides, fungicides, and herbicides for agricultural purposes.
To help farmers monitor their crops, they created their Digital Yellow Trap: an Internet of Things (IoT) device that alerts farmers of pests using image recognition.
The IoT device is powered using AWS’ SageMaker, a fully managed service that allows developers to build, train, and deploy machine learning models at scale.
“We’ve been using Amazon SageMaker for quite some time, and it’s become one of our crucial services for AI development,” says Dr. Alexander Roth, head of engineering at the Crop Protection Innovation Lab, Bayer AG.
“AWS is constantly improving its services, so we always get new updates.”
Industry: Agriculture and pharmaceuticals
Machine learning product: AWS SageMaker
Outcomes:
Reduced Bayer lab’s architecture costs by 94%
Can be scaled to accommodate for fluctuating demand
Able to handle tens of thousands of requests per second
Community-based, early warning system for pests
Read the full Bayer AG on AWS SageMaker case study here.
The American Cancer Society is a nonprofit dedicated to eliminating cancer. They operate in more than 250 regional offices all over the U.S.
They’re using Google Cloud ML Engine to identify novel patterns in digital pathology images. The aim is to improve breast cancer detection accuracy and reduce the overall diagnosis timeline.
“By leveraging Cloud ML Engine to analyze cancer images, we’re gaining more understanding of the complexity of breast tumor tissues and how known risk factors lead to certain patterns,” says Mia M. Gaudet, scientific director of epidemiology research at the American Cancer Society.
“Applying digital image analysis to human pathology may reveal new insights into the biology of breast cancer, and Google Cloud makes it easier.”
Industry: Nonprofit and medical research
Machine learning Product: Google Cloud ML Engine
Outcomes:
Enhances speed and accuracy of image analysis by removing human limitations
Aids in improving patients’ quality of life and life expectancy
Protects tissue samples by backing up image data to the cloud
Read the full American Cancer Society on Google Cloud ML Engine case study here.
“The new model assesses intersections by risk, not by crashes,” says David Slack-Smith, manager of data and intelligence at the Road Safety Commission of Western Australia.
“Taking out the variability and analyzing by risk is a fundamental shift in how we look at this problem and make recommendations to reduce risk.”
Industry: Government and transportation
Machine learning product: SAS Viya
Outcomes:
Data engineering and visualization time reduced by 80%
An estimated 25% reduction in vehicle crashes
Straightforward and efficient data sharing
Flexibility of data with various coding languages
Read the full Road Safety Commission on SAS Viya case study here.
See more: Top Performing Artificial Intelligence Companies
Update the detailed information about Learn The Use Cases For Return Statement on the Achiashop.com website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!