AI is a Regression Model¶

Figure 1:Data is used to generate an AI model which can then predict outputs based on inputs, similar to a regression model.
Data is Intellectual Property and is Valuable¶
The more data over varying conditions, the better the model. The quality of the data is also important. If the data is biased or incomplete, the model will be as well.
Sharing your company’s data with others (other companies, other individuals outside the company, etc.) may be unethical and may violate confidentiality agreements. Ways that company data may be shared include:
Providing data within a prompt to an AI tool that is not owned by the company (e.g., ChatGPT, Gemini, etc.)
Like uploading a file to an AI tool or copying and pasting data into a prompt.
Using a completion service not authorized (files within the folder can be seen by the AI tool like github copilot, etc.
Sharing data with a third party (e.g., a consultant, another company, etc.)
Machinery of Artificial Intelligence (Machine Learning, etc)¶
See in class examples... One of the simplest models is that of a line approximating data points with one input (x value) and one output (y value)...
Karpathy Introductory Video on Neural Networks¶
Prompt Engineering¶
zero shot: no example in the prompt just the question or request
one or few shot: one or more examples of desired output (or the form or voice of the desired output are given)
chain of thought: use of “explain by step-by-step” or “explain the thought process” or with a given example(s) or how the response should complete the response in steps “consider the following, 1. ... 2. ...” within the prompt
Safety Analysis Augmented with AI¶
Some options (subject to Intellectual Property Guidelines) include
submitting process images with a prompt to identify potential failure modes
generate a failure modes and effects analysis table for a prompt with an example table from a similar scenario
generate a fault tree analysis from a process description, perhaps some AI service can generate a file that is compatible with a pdf editor
generate the start of a HAZOP table given a piping and instrumentation diagram
integrate a custom AI algorithm into plant operations that could use a camera feed to process images that could recognize safety risks
Agentic AI¶
Model can be trained to not only provide output but to complete tasks...
AI and Ethics¶
What ethical principles should apply to the use of AI and what responses should be optimal outputs for various scenarios?
- Guymon, C. (2025). Foundations of Spiritual and Physical Safety: with Chemical Processes.