hirarchy=>import matplotlib.pyplot as plt
import scipy.cluster.hierarchy as sch
import numpy as np
X = np.random.rand(50, 2)
dendrogram = sch.dendrogram(sch.linkage(X, method='ward'))
plt.title('Dendrogram')
plt.show()
from sklearn.cluster import AgglomerativeClustering
hc = AgglomerativeClustering(n_clusters=5, linkage='ward')
print('Cluster assignments:', hc.fit_predict(X))
k means=>import numpy as np
from sklearn.cluster import KMeans
import matplotlib.pyplot as plt
# Using random data as placeholder
X
UNIT-I
1. Generations of Computers
Computers have evolved significantly over time, categorized into generations based on technological advancement. The first generation (1940–1956) relied on vacuum tubes, which made computers bulky, expensive, and heat-prone. These machines used machine language and had limited speed, processing only basic calculations. The second generation (1956–1963) replaced vacuum tubes with transistors, reducing size, cost, and power consumption. Assembly language became
Population, Sample, Census: The population of interest is the entire group researchers want to generalize to. A sample is the smaller group that is actually observed or measured. A census collects data from every single member of the population. Population = who you care about. Sample = who you study. Census = everyone in the population. Representative vs. Biased Samples: A representative sample (unbiased) gives every member of the population an equal chance of being selected. A biased sample (unrepresentative)
dryer in the pharmaceutical industry is used to dry powders, granules, and other types of materials. It consists of a heated chamber with trays to place materials. The trays are usually stacked one on top of each other, and the drying process is usually done under controlled temperature and humidity conditions.
It is used on large scale in pharmaceutical, chemical, and cosmetic industries to achieve efficient material drying at low cost. Although it is an old method to dry, but it is still used
Tenses denote the time of an action (Past, Present, or Future) and the aspect (Simple, Continuous, Perfect, or Perfect Continuous) of that action, resulting in 12 basic English tenses.
They are formed by combining one of the three Time Periods with one of the four Aspects.
The 12 English Tenses Chart
The following table summarizes the 12 tenses, their structural formula (using V as the base verb), and their primary use.
| Time Period | Simple Aspect | Continuous (Progressive) Aspect | Perfect Aspect
That's a great question! Nouns are fundamental to the English language, and they are typically classified in several ways.
Here are the main types of nouns, often grouped into pairs based on what they represent:
1. By Specificity (General vs. Specific)
| Noun Type | Definition | Examples | Key Feature |
|---|---|---|---|
| Common Noun | A general name for a person, place, thing, or idea. | girl, city, river, car, feeling | Not capitalized (unless at the start of a sentence). |
| Proper Noun | The specific
Ans: The three scales of temperature are:
(i) Celsius
(ii) Fahrenheit
(iii) Kelvin
Ans: The temperature and hotness of a body are related.
The more hot a substance is, the higher is its temperature.
Ans: Because if the eye is not at the level of the mercury, the reading will not be...
WWTPCOSR? Farmers struggling because of debts. AOTFATATVPE: Proposed to reduce taxes on farmers HWSCFPOPR?:They were counted as three-fifths of a personWWTTFAWORTC?: Anti-federalistsHDTCCRTAST?: Kept it open for twenty yearsAHFPIAOTFE: Dropping import duties to encourage free trade
WSTMFTWT?: Western farmers
JJTIAOTFE: required an end to the British Navy’s policy of impressments
HDMAIRTTNOTFR?: Celebrating
...