##################### LAB 1 ##########################
import tensorflow as tf
# Define a simple computation graph
@tf.function # Converts Python function into a TensorFlow graph
def my_graph(x, y):
return x * y + 5 # Simple equation: (x * y) + 5
# Create TensorFlow constants (nodes)
x = tf.constant(3.0)
y = tf.constant(4.0)
# Run the computation graph
result = my_graph(x, y)
# Print the result
print("Result of (x * y) + 5:", result.numpy()) # Convert tensor to a NumPy
###############...
European Honey Bee (Apis mellifera) – Gas Exchange in a Terrestrial Insect:
The European honey bee, belonging to the class Insecta, is a highly active terrestrial invertebrate that inhabits dry, open environments and relies on intense aerobic metabolism to support its energy-demanding behaviours, such as sustained flight, foraging, thermoregulation, and colony maintenance. Unlike mammals or fish, insects do not rely on a circulatory system to transport oxygen. Instead, the honey bee uses atracheal
Chinook Salmon (Oncorhynchus tshawytscha) – Gas Exchange in an Aquatic Bony Fish:
The Chinook salmon, a member of the class Actinopterygii (ray-finned bony fishes), is an anadromous species native to the cold rivers and coastal waters of the North Pacific Ocean. This species begins life in freshwater streams, migrates to marine environments for adult life, and later returns to freshwater to spawn. Living in an aquatic environment poses considerable physiological challenges for gas exchange, primarily
Gas exchange is the biological process through which organisms obtain oxygen from their environment and expel carbon dioxide, a waste product of cellular respiration. Oxygen is essential for aerobic respiration, which produces ATP, the energy currency of cells. Without a constant supply of oxygen and efficient removal of CO₂, cells cannot perform metabolic functions, leading to organismal failure. Different animal groups have evolved diverse gas exchange systems, finely
##################### Experiment 1 ######################################
import nltk
import re
from nltk.tokenize import word_tokenize, sent_tokenize
from nltk.stem import PorterStemmer, WordNetLemmatizer
from nltk.corpus import stopwords
# !pip install nltk
nltk.download('punkt_tab')
nltk.download('wordnet')
nltk.download('stopwords')
# Sample text
text = "Natural Language Processing is an exciting field. It involves making computers understand human languages. We will explore tokenization, stemming, and...
Web-scale discovery services (WSDS)
Web-scale discovery services (WSDS) are a relatively new class of tools in libraries designed to provide a unified search experience across a library's vast and diverse collection of resources. They aim to offer a single search box, akin to popular web search engines like Google, allowing users to search both local and remotely hosted content seamlessly. This includes a library's physical holdings, digital collections, institutional repositories, and subscription-
...Reflex: An involuntary, automatic response to a peripheral stimulus, involving either motor or secretory action.
Function: Crucial for adaptation to internal/external changes.
Depends on: Integrity of the reflex arc – disruption at any level abolishes the reflex.
Receptor organ – transforms a stimulus into nerve impulses.
Afferent neuron – conducts the impulse to the CNS.
Integration center
Definition:
A 6-phase framework for managing machine learning projects, with a focus on quality at each step.
Phases and Examples:
Business & Data Understanding
Definition: Define the business problem, check your data.
Example: Goal: Reduce customer churn by 15%. Data: Purchase history, support tickets.
Data Preparation
Definition: Clean, organize, and transform raw data.