Archive for the ‘Machine Learning’ Category

Unveiling the Power of AI and Machine Learning in Industry 4.0 for Mechanical Engineers – Medium

AI / ML for Machine Learning

Introduction: In the rapidly evolving landscape of Industry 4.0, the fusion of Artificial Intelligence (AI), Machine Learning (ML), and the Internet of Things (IoT) stands as the driving force, particularly for Mechanical Engineers. In this blog post, we will delve into a comprehensive review of a recent paper by Gajanan Shankarrao Patange and Arjun Bharatkumar Pandya, published in Materials Today: Proceedings (Volume 72, Pages 622-625, 2023).

## Understanding the Core Concepts:

### 1. Evolutionary Foundation: The foundation of Industry 4.0 lies in the intelligent intercommunication of machines, often encapsulated in the Internet of Things. However, Patange and Pandya assert that at the heart of this evolution is Artificial Intelligence. This blog will explore the pivotal role AI plays in shaping the future of mechanical engineering.

2. Addressing Misconceptions: The authors highlight the prevalent misconceptions surrounding AI, ML, and IoT. This section will unravel common misunderstandings, ensuring a clearer perspective on the transformative potential of these technologies for Mechanical Engineers.

Exploring the Intersection: AI, ML, and IoT in Industry 4.0

1. Enhancing Industry Processes: Discover how AI and ML are revolutionizing manufacturing processes, optimizing efficiency, and reducing downtime. Real-world examples and case studies will illustrate the practical applications of these technologies.

2. Smart Machines and IoT: Unpack the interconnected world of smart machines and IoT, emphasizing how Mechanical Engineers can leverage this integration to create intelligent systems capable of seamless communication, ultimately contributing to the realization of Industry 4.0.

The Uncharted Territory: Advantages, Uses, and Challenges

1. Historical Perspectives: Embark on a journey through the history of AI and ML, tracing their development and the milestones that have brought us to the cusp of Industry 4.0.

See the rest here:
Unveiling the Power of AI and Machine Learning in Industry 4.0 for Mechanical Engineers - Medium

Machine Learning Examples In The Real World (And For SEO) (Festive Flashback) – Search Engine Journal

Celebrate the Holidays with some of SEJs best articles of 2023.

Our Festive Flashback series runs from December 21 January 5, featuring daily reads on significant events, fundamentals, actionable strategies, and thought leader opinions.

2023 has been quite eventful in the SEO industry and our contributors produced some outstanding articles to keep pace and reflect these changes.

Catch up on the best reads of 2023 to give you plenty to reflect on as you move into 2024.

As an SEO professional, youve heard about ChatGPT and BARD or even used them yourself.

You might also be familiar with a handful of machine learning models from Google, such as BERT and RankBrain.

These are all great applications of machine learning.

But it isnt always immediately apparent how machine learning can be useful for your BAU (business as usual) tasks or daily SEO to-dos.

Theres also the question of ethics, as in data privacy and fairness, when it comes to using machine learning in your work.

However, understanding how machine learning works in search (and in real life) can only work to your advantage as an SEO pro whether youre technical or not.

In this comprehensive article, learn the types of machine learning and ethics associated with the technology, then take inspiration from seven machine learning examples that have had a great impact on our world.

As an added bonus, at the end of this article, explore eight machine learning examples directly applied to SEO.

Machine learning is a subset of artificial intelligence (AI) which enables systems to learn and improve without the need to be explicitly programmed. This is achieved by using large data sets that train the parameters in the model.

Perhaps the most well-known examples of machine learning currently are ChatGPT and BARD and while this post wont be focusing on them, I decided to ask them both to explain to me what machine learning is. Here are their responses:

Machine learning is a type of artificial intelligence that allows software applications to learn from the data and become more accurate in predicting outcomes without explicit programming. In other words, it is a method of teaching computers to learn from the data they are given, and then to make decisions or predictions based on that learning.

The goal of machine learning is to develop algorithms that can learn patterns in data, and then use those patterns to make decisions or predictions about new data. This is done by training the machine learning algorithm on a dataset of known inputs and outputs, and then using that knowledge to make predictions on new, unseen data.

Some common applications of machine learning include image recognition, natural language processing, fraud detection, and recommendation systems.

Machine learning is the study of computer algorithms that improve automatically through experience and by the use of data. It is seen as a subset of artificial intelligence. Machine learning algorithms build a model based on sample data, known as training data, in order to make predictions or decisions without being explicitly programmed to do so.

Machine learning can be used for a variety of tasks, including:

Machine learning is a powerful tool that can be used to solve a variety of problems. However, it is important to note that machine learning algorithms are only as good as the data they are trained on. If the data is biased, the algorithm will be biased as well. Additionally, machine learning algorithms can be susceptible to overfitting, which is when the algorithm learns the training data too well and does not generalize well to new data.

Despite these challenges, machine learning is a rapidly growing field with a wide range of applications. As the amount of data available to us continues to grow, machine learning is likely to play an even greater role in our lives in the future.

As the name suggests, in supervised learning, the model learns under supervision. It is trained with labeled data, and the output is manually reviewed.

The machine learns from the labeled data, which is then used to make future predictions.

Once the output is received, the model remembers it and will use it for the next operation.

There are two main types of supervised learning: classification and regression.

Classification is when the output variable is categorical, with two or more classes that the model can identify; for example, true or false and dog or cat.

Examples of this include predicting whether emails are likely to be spam or whether an image is of a dog or cat.

In both of these examples, the model will be trained on data that is either classified as spam or not spam, and whether an image contains a dog or cat.

This is when the output variable is a real or continuous value, and there is a relationship between the variables. Essentially, a change in one variable is associated with a change that occurs in the other variable.

The model then learns the relationship between them and predicts what the outcome will be depending on the data it is given.

For example, predicting humidity based on a given temperature value or what the stock price is likely to be at a given time.

Unsupervised learning is when the model uses unlabeled data and learns by itself, without any supervision. Essentially, unlike supervised learning, the model will act on the input data without any guidance.

It does not require any labeled data, as its job is to look for hidden patterns or structures in the input data and then organize it according to any similarities and differences.

For example, if a model is given pictures of both dogs and cats, it isnt already trained to know the features that differentiate both. Still, it can categorize them based on patterns of similarities and differences.

There are also two main types of unsupervised learning: clustering and association.

Clustering is the method of sorting objects into clusters that are similar to each other and belong to one cluster, versus objects that are dissimilar to a particular cluster and therefore belong in another.

Examples of this include recommendation systems and image classifying.

Association is rule-based and is used to discover the probability of the co-occurrence of items within a collection of values.

Examples include fraud detection, customer segmentation, and discovering purchasing habits.

Semi-supervised learning bridges both supervised and unsupervised learning by using a small section of labeled data, together with unlabeled data, to train the model. It, therefore, works for various problems, from classification and regression to clustering and association.

Semi-supervised learning can be used if there is a large amount of unlabeled data, as it only requires a small portion of the data to be labeled to train the model, which can then be applied to the remaining unlabeled data.

Google has used semi-supervised learning to better understand language used within a search to ensure it serves the most relevant content for a particular query.

Reinforcement learning is when a model is trained to return the optimum solution to a problem by taking a sequential approach to decision-making.

It uses trial and error from its own experiences to define the output, with rewards for positive behavior and negative reinforcement if it is not working towards the goal.

The model interacts with the environment that has been set up and comes up with solutions without human interference.

Human interference will then be introduced to provide either positive or negative reinforcement depending on how close to the goal the output is.

Examples include robotics think robots working in a factory assembly line and gaming, with AlphaGo as the most famous example. This is where the model was trained to beat the AlphaGo champion by using reinforcement learning to define the best approach to win the game.

There is no doubt that machine learning has many benefits, and the use of machine learning models is ever-growing.

However, its important to consider the ethical concerns that come with using technology of this kind. These concerns include:

Netflix uses machine learning in a number of ways to provide the best experience for its users.

The company is also continually collecting large amounts of data, including ratings, the location of users, the length of time for which something is watched, if content is added to a list, and even whether something has been binge-watched.

This data is then used to further improve its machine learning models.

TV and movie recommendations on Netflix are personalized to each individual users preferences. To do this, Netflix deployed a recommendation system that considers previous content consumed, users most viewed genres, and content watched by users with similar preferences.

Netflix discovered that the images used on the browse screen make a big difference in whether users watch something or not.

It, therefore, uses machine learning to create and display different images according to a users individual preferences. It does this by analyzing a users previous content choices and learning the kind of image that is more likely to encourage them to click.

These are just two examples of how Netflix uses machine learning on its platform. If you want to learn more about how it is used, you can check out the companys research areas blog.

With millions of listings in locations across the globe at different price points, Airbnb uses machine learning to ensure users can find what they are looking for quickly and to improve conversions.

There are a number of ways the company deploys machine learning, and it shares a lot of details on its engineering blog.

As hosts can upload images for their properties, Airbnb found that a lot of images were mislabeled. To try and optimize user experience, it deployed an image classification model that used computer vision and deep learning.

The project aimed to categorize photos based on different rooms. This enabled Airbnb to show listing images grouped by room type and ensure the listing follows Airbnbs guidelines.

In order to do this, it retrained the image classification neural network ResNet50, with a small number of labeled photos. This enabled it to accurately classify current and future images uploaded to the site.

To provide a personalized experience for users, Airbnb deployed a ranking model that optimized search and discovery. The data for this model came from user engagement metrics such as clicks and bookings.

Listings started by being ordered randomly, and then various factors were given a weight within the model including price, quality, and popularity with users. The more weight a listing had, the higher it would be displayed in listings.

This has since been optimized further, with training data including the number of guests, price, and availability also included within the model to discover patterns and preferences to create a more personalized experience.

Spotify also uses several machine learning models to continue revolutionizing how audio content is discovered and consumed.

Spotify uses a recommendation algorithm that predicts a users preference based on a collection of data from other users. This is due to numerous similarities that occur between music types that clusters of people listen to.

Playlists are one way it can do this, using statistical methods to create personalized playlists for users, such as Discover Weekly and daily mixes.

It can then use further data to adjust these depending on a users behavior.

With personal playlists also being created in the millions, Spotify has a huge database to work with particularly if songs are grouped and labeled with semantic meaning.

This has allowed the company to recommend songs to users with similar music tastes. The machine learning model can serve songs to users with a similar listening history to aid music discovery.

With the Natural Processing Language (NLP) algorithm enabling computers to understand text better than ever before, Spotify is able to categorize music based on the language used to describe it.

It can scrape the web for text on a particular song and then use NLP to categorize songs based on this context.

This also helps algorithms identify songs or artists that belong in similar playlists, which further helps the recommendation system.

While AI tools such as machine learning content generation can be a source for creating fake news, machine learning models that use natural language processing can also be used to assess articles and determine if they include false information.

Social network platforms use machine learning to find words and patterns in shared content that could indicate fake news is being shared and flag it appropriately.

There is an example of a neural network that was trained on over 100,000 images to distinguish dangerous skin lesions from benign ones. When tested against human dermatologists, the model could accurately detect 95% of skin cancer from the images provided, compared to 86.6% by the dermatologists.

As the model missed fewer melanomas, it was determined to have a higher sensitivity and was continually trained throughout the process.

There is hope that machine learning and AI, together with human intelligence, may become a useful tool for faster diagnosis.

Other ways image detection is being used in healthcare include identifying abnormalities in X-rays or scans and identifying key markups that may indicate an underlying illness.

Protection Assistant for Wildlife Security is an AI system that is being used to evaluate information about poaching activity to create a patrol route for conservationists to help prevent poaching attacks.

The system is continually being provided with more data, such as locations of traps and sightings of animals, which helps it to become smarter.

The predictive analysis enables patrol units to identify areas where it is likely animal poachers will visit.

Machine learning models can be trained to improve the quality of website content by predicting what both users and search engines would prefer to see.

The model can be trained on the most important insights, including search volume and traffic, conversion rate, internal links, and word count.

A content quality score can then be generated for each page, which will help inform where optimizations need to be made and can be particularly useful for content audits.

Natural Language Processing (NLP) uses machine learning to reveal the structure and meaning of text. It analyzes text to understand the sentiment and extract key information.

NLP focuses on understanding context rather than just words. It is more about the content around keywords and how they fit together into sentences and paragraphs, than keywords on their own.

The overall sentiment is also taken into account, as it refers to the feeling behind the search query. The types of words used within the search help to determine whether it is classified as having a positive, negative, or neutral sentiment.

The key areas of importance for NLP are;

Google has a free NLP API demo that can be used to analyze how text is seen and understood by Google. This enables you to identify improvements to content.

AI and machine learning is used throughout Googles many products and services. The most popular use of it in the context of search is to understand language and the intent behind search queries.

Its interesting to see how things have evolved in search due to advancements in the technology used, thanks to machine learning models and algorithms.

Previously, the search systems looked for matching words only, which didnt even consider misspellings. Eventually, algorithms were created to find patterns that identified misspellings and potential typos.

There have been several systems introduced throughout the last few years after Google confirmed in 2016 its intention to become a machine learning first company.

The first of these was RankBrain, which was introduced in 2015 and helps Google to understand how different words are related to different concepts.

This enables Google to take a broad query and better define how it relates to real-world concepts.

Googles systems learn from seeing words used in a query on the page, which it can then use to understand terms and match them to related concepts to understand what a user is searching for.

Neural matching was launched in 2018 and introduced to local search in 2019.

This helps Google understand how queries relate to pages by looking at the content on a page, or a search query, and understanding it within the context of the page content or query.

Most queries made today make use of neural matching, and it is used in rankings.

See original here:
Machine Learning Examples In The Real World (And For SEO) (Festive Flashback) - Search Engine Journal

A New Frontier in Healthcare: Long COVID – Medriva

A New Frontier in Healthcare: Long COVID

The emergence of long COVID during the ongoing COVID-19 pandemic has presented considerable challenges for healthcare professionals and researchers. With current research indicating that between 10 and 30% of COVID-19 survivors may experience protracted symptoms, it is crucial for the medical community to have a comprehensive understanding of the condition. However, the rapidly evolving scientific landscape, inconsistent definitions, and lack of standardized nomenclature have made it difficult to identify and classify relevant literature on long COVID.

Addressing this challenge, researchers have turned to machine learning techniques for classifying long COVID literature. Text classification, a key task in machine learning, has been proposed as a technique to categorize and classify medical articles, providing valuable assistance to doctors. However, the scarcity of annotated data for machine learning poses a significant obstacle.

To overcome this obstacle, researchers have introduced a strategy called medical paraphrasing. This technique diversifies the training data while maintaining the original content, thus creating alternative versions of the training texts. While several methods such as Back Translation, Synonym Replacement, and EDA have been proposed to address data scarcity, they can produce limited and simple text variations or risk distorting the original texts meaning or context. Medical paraphrasing, on the other hand, ensures that the original medical context and semantics are preserved.

In addition to medical paraphrasing, researchers have proposed a Data-Reweighting-Based Multi-Level Optimization Framework for Domain Adaptive Paraphrasing supported by a Meta-Weight Network (MWN). In this framework, higher weights are assigned to training examples that contribute more effectively to the downstream task of long COVID text classification. This approach improves the accuracy and efficiency of the classification process.

The potential of machine learning in healthcare extends beyond text classification. For instance, machine learning algorithms have been used for the classification of Covid-19 cough sounds using MFCC extraction. This application underscores the versatility of machine learning and its potential to revolutionize healthcare.

The advent of long COVID has underscored the need for innovative solutions in healthcare. With machine learning techniques, researchers can classify and categorize vast amounts of literature, leading to a better understanding of the condition. This, combined with other applications like diagnosing COVID-19 through cough sounds, shows that machine learning holds great promise in enhancing our ability to manage and overcome global health challenges.

See the article here:
A New Frontier in Healthcare: Long COVID - Medriva

Dr. William Casebeer, Director Of Artificial Intelligence And Machine Learning, Riverside Research – Executive Gov

Image from PR Newswire

Dr. William Casebeer is a true leader in the artificial intelligence and machine learning industry. His contributions will certainly impact how AI/ML develops in the coming years.

Dr. William Casebeer will be the moderator of POCs 10th Annual Defense R&D Summit. Dont miss the opportunity to meet him and the other industry leaders. Reserve your seat here.

Dr. William D. Casebeer, Ph.D., MA, leads the Open Innovation Center at Riverside Research as a Director. As the Director, he is in charge of AI and machine learning.

Dr. William Casebeer led a group of scientists and engineers from different fields at Riverside Research who worked on machine learning and artificial intelligence. Some of their main goals are to make progress in neuromorphic computing, adversarial AI, human-machine teaming, and object and activity recognition. These advances will give the Department of Defense and Intelligence Community new tools.

Dr. William Casebeer has broad academic achievements. Besides his bachelors degree, he holds a masters and Ph.D. title. Lets take a look at Dr. Casebeers educational attainments:

Potomac Officers Club invited prominent leaders and experts to speak at the 10th Annual Defense R&D Summit. Check out other speakers, including Capt. Jesse Black, Aditi Kumar, Hon. Heidi Shyu, and many more. Engage and learn more about the developments in defense technology with insightful discussions.

We invite you to join the summit on Wednesday, January 31, 2024, from 7:00 a.m. to 4:00 p.m. at the Hilton Alexandria Mark Center. We hope to see you there!

Before becoming an executive at Riverside Research, Dr. William Casebeer served the government for decades. Lets take a look at his career and leadership timeline.

The mission of the nonprofit organization Riverside Research is to promote national security. The organization can create research-driven solutions and yield faster results with its nonprofit framework and collaborative innovation strategy.

Riverside Researchs core competencies include radar systems, Artificial Intelligence and Machine Learning, and system engineering and integration.

Here is the original post:
Dr. William Casebeer, Director Of Artificial Intelligence And Machine Learning, Riverside Research - Executive Gov

Stable Diffusion in Java (SD4J) Enables Generating Images with Deep Learning – InfoQ.com

Oracle Open Source has introduced the Stable Diffusion in Java (SD4J) project, a modified port of the Stable Diffusion C# implementation with support for negative text inputs. Stable diffusion is a deep learning text-to-image model based on diffusion. SD4J can be used, via the GUI or programmatically in Java applications, to generate images. SD4J runs on top of the ONNX Runtime, a cross platform inference and training machine learning accelerator, allowing faster customer experience and reduced model training time.

Git Large File Storage, a Git extension for versioning large files, should be installed first, for example with the following command on Linux:

Afterwards, the SD4J project can be cloned locally with the following command:

SD4J uses models, the compatible pre-built ONNX models from Hugging Face, that will be used for the examples in this news story:

The README contains more information on using other models, such as those not in ONNX format.

ONNXRuntime-Extensions is a library which extends the capabilities of the ONNX models and the interference with the ONNX Runtime:

After cloning the project, the following command can be executed inside the onnxruntime-extensions directory to compile the ONNXRuntime-Extensions for your platform:

The following error might be displayed if CMake isn't installed:

Install at least version 3.25 of CMake to resolve the error, for example with the following command on Linux:

When the build is successful, the resulting library (libortextensions.[dylib,so] or ortextensions.dll) can be found inside the following directory:

The resulting library should be copied to the root directory of the SD4J project.

After these preparations, the GUI can be started by executing the Maven command, containing the model path, inside the sd4j directory:

The SD4J GUI is shown after the Maven command executed successfully:

The images in this news story are created with guidance scale 10, seed 42, inference steps 50 and image scheduler Euler Ancestral, unless stated otherwise.

First, the GUI is used to create an image of a sports car on the road, with the following image text:

This results in a red sports car on a road:

When generating images of sports cars, most of them are red. In order to create images with sports cars that aren't red, the image negative text may be used to specify what the image shouldn't contain. For example, by using the value red for image negative text, a white car is generated in this example:

The guidance scale indicates whether the resulting image should be closely related to the text prompt. A higher number indicates that they should be closely related. Conversely, a lower number may be used if more creativity in the image is desired. For stable diffusion, most models use a default guidance scale value between 7 and 7.5.

A clear picture of a house on a hill surrounded by trees is generated using the image text: Professional photograph of house on a hill, surrounded by trees, while it rains, high resolution, high quality and guidance scale 10:

Using the same image text with guidance scale 1allows more creativity and the house is now a bit hidden between the trees and the hill is less visible:

The seed is a random number used to generate noise. The generated images stay the same when using the same seed, prompt and other parameters.

Stable diffusion starts with an image of random noise. With each inference step, the noise is reduced and steered towards the prompt. Higher is not always better as it might introduce unwanted details. The Hugging Face website in general recommends 50 inference steps.

Creating an image of a tree in a park with inference 10 results in a relatively noisy tree image:

Increasing the inference steps to 50 results in a clearer image of a tree:

While increasing the inference steps further to 200 results in an image clearly displaying multiple trees and some other elements, for example in red:

The image scheduler takes a model's output to return a denoised version, while the batch size specifies the amount of generated images.

Working manually via the GUI allows generating images, however the project also provides the SD4J Java class to access SD4J programmatically.

Faster image generation is possible after enabling the CUDA integration for NVIDIA GPUs by changing the exec-maven-plugin in the pom.xml from CPU to CUDA.

More information can be found in the SD4J README and the Hugging Face documentation provides additional information about the different concepts.

Read the original:
Stable Diffusion in Java (SD4J) Enables Generating Images with Deep Learning - InfoQ.com