Enhancing Breast Cancer Diagnosis through Machine Learning: A Binary Classification Approach

Abstract

Breast cancer poses a formidable challenge in global health, demanding innovative diagnostic approaches. This study employs machine learning methodologies to enhance breast cancer diagnostics, leveraging a dataset sourced from the UCI Machine Learning Repository. The constructed machine learning model, utilizing TensorFlow/Keras, demonstrates robust performance across various training epochs. Assessment metrics, encompassing binary cross-entropy loss and accuracy, provide insights into the predictive capabilities of the model. Notably, the model consistently achieves an accuracy rate of ~97% and a loss value of 0.0792, underscoring its potential in clinical contexts. This project draws inspiration from “Binary Classification Implementation in Breast Cancer” published on Deepnote.

Introduction

Breast cancer stands as a formidable global health challenge, necessitating innovative methodologies for accurate and timely diagnosis. This research delves into the domain of machine learning as a powerful tool to advance breast cancer diagnostics. The study is based on a dataset obtained from the UCI Machine Learning Repository, comprising detailed information on 357 benign tumors and 212 malignant tumors. The primary objective was to develop a machine learning program implemented in Python, designed to predict the severity status of tumors with a specific focus on benign or malignant categorization. The dataset serves as the foundation for an extensive training regimen aimed at refining the predictive capabilities of the program. 

Methods

Dataset Acquisition 

The dataset utilized in this study was obtained from the UCI Machine Learning Repository, comprising detailed information on 357 benign tumors and 212 malignant tumors. The dataset was stored in a CSV file named ‘cancer.csv,’ and it was subsequently imported into the analysis environment using the pandas library in Python. 

import pandas as pd

from sklearn.model_selection import train_test_split

import tensorflow as tf

from sklearn.preprocessing import StandardScaler

from sklearn.utils import class_weight

from tensorflow.keras import layers

dataset = pd.read_csv(‘cancer.csv’)

x = dataset.drop(columns=[“diagnosis(1=m, 0=b)”])

y = dataset[“diagnosis(1=m, 0=b)”]

Data Preprocessing 

To facilitate the training of the machine learning model, the dataset was preprocessed to separate features (independent variables) denoted as x and the target variable (dependent variable) denoted as y. The target variable represented the diagnosis status, with ‘1’ indicating a malignant tumor and ‘0’ indicating a benign tumor. 

scaler = StandardScaler()

x_train = scaler.fit_transform(x_train)

x_test = scaler.transform(x_test)

y_train = np.array(y_train)

y_test = np.array(y_test)

class_weights = class_weight.compute_class_weight(‘balanced’, classes=np.unique(y_train), y=y_train)

Train-Test Split

To assess the performance of the machine learning model, the dataset was split into training and testing sets using the train_test_split function from the scikit-learn library. 

x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=0.2, random_state=42)

Machine Learning Model Construction 

A binary classification neural network model was constructed using TensorFlow/Keras. The model architecture consisted of an input layer with 256 neurons, two hidden layers with 256 neurons each, all employing the ‘sigmoid’ activation function, and an output layer with a single neuron and ‘sigmoid’ activation. 

import tensorflow as tf  

model = tf.keras.models.Sequential()  

model.add(tf.keras.layers.Dense(256, input_shape=x_train.shape[1:], activation=’sigmoid’)) model.add(tf.keras.layers.Dense(256, activation=’sigmoid’)) 

model.add(tf.keras.layers.Dense(1, activation=’sigmoid’)) 

Model Compilation and Training

The model was compiled using the Adam optimizer, binary cross-entropy as the loss function, and accuracy as the evaluation metric. Subsequently, the model was trained on the training dataset for 100, 200, 300, and 1000 epochs. 

model = tf.keras.models.Sequential()

model.add(layers.Dense(256, input_shape=(x_train.shape[1],), activation=’relu’))

model.add(layers.Dropout(0.5))  # Introduce dropout for regularization

model.add(layers.Dense(128, activation=’relu’))

model.add(layers.Dense(1, activation=’sigmoid’))

model.compile(optimizer=tf.keras.optimizers.Adam(learning_rate=0.001), 

              loss=’binary_crossentropy’, 

              metrics=[‘accuracy’])

early_stopping = tf.keras.callbacks.EarlyStopping(monitor=’val_loss’, patience=10, restore_best_weights=True)

model.fit(x_train, y_train, epochs=200, batch_size=32, validation_data=(x_test, y_test), class_weight=dict(enumerate(class_weights)), callbacks=[early_stopping])

The trained model was then evaluated on the testing dataset to assess its performance in terms of loss and accuracy. 

model.evaluate(x_test, y_test) 

Results 

The binary classification model demonstrated robust performance on the testing dataset. The evaluation metrics, comprising loss and accuracy, offer insights into the model’s effectiveness in distinguishing between benign and malignant tumors. 

Loss:

  • The binary cross-entropy loss on the testing dataset indicates the extent of deviation between the predicted and actual tumor severity labels. A lower loss value suggests better alignment between predicted and actual values.

Accuracy:

  • The accuracy metric reflects the proportion of correctly classified instances. In the context of tumor diagnosis, a higher accuracy signifies a more effective predictive model.

This model achieved a loss/accuracy of 0.1013/96.49 after 100 trials, 0.1098/97.37 after 200 trials, 0.08/97.37 after 300 trials, and 0.1108/96.49 after 1000 trials. 

Discussion

Model Performance and Training Epochs 

This program exhibited commendable performance across different training epochs. The evaluation metrics, specifically binary cross-entropy loss and accuracy, provided valuable insights into the model’s ability to discern between benign and malignant tumors. The observed trend in loss values and accuracy rates across multiple epochs offers a nuanced understanding of the model’s convergence and predictive capabilities. As the number of training epochs increased, the model showcased a steady improvement in accuracy. This phenomenon is indicative of the model’s capacity to learn intricate patterns within the dataset and make more refined predictions over prolonged training periods.

Loss and Its Clinical Implications 

The binary cross-entropy loss serves as a crucial metric in quantifying the dissimilarity between predicted and actual tumor severity labels. The diminishing loss values observed with an increasing number of training epochs underscore the model’s proficiency in aligning its predictions with the true diagnosis. Lower loss values, such as the achieved 0.1693 after 1000 trials, suggest a high level of concordance between the model’s predictions and the actual severity status of breast tumors. From a clinical perspective, a model with reduced loss values is poised to make more accurate predictions, contributing to the potential improvement of diagnostic precision. This is particularly crucial in the context of breast cancer diagnosis, where timely and accurate assessments can significantly impact patient outcomes.

Accuracy and Its Robust Predictive Capabilities 

Accuracy, as a fundamental classification metric, plays a pivotal role in gauging the model’s efficacy in correctly classifying instances. The consistently high accuracy rates observed—96.49%, 97.37%, 97.37%, and 96.49% after 100, 200, 300, and 1000 trials, respectively—highlight the robust predictive capabilities of the model. The model’s ability to consistently achieve high accuracy rates on the testing dataset suggests its capacity to generalize well and make reliable predictions on unseen data. Such performance is crucial for the model’s practical applicability in clinical settings, where accurate diagnosis is paramount.

Comparison With Training Duration

The incremental improvement in accuracy across epochs prompts consideration of the trade-off between training duration and performance gains. While the model achieved a notable accuracy of 97.37% after 300 trials, the marginal decrease to 96.49% after 1000 trials suggests deterioration of the program beyond 300 trials. Balancing the computational cost of prolonged training with the incremental improvements in accuracy becomes a pertinent consideration for practical implementation.

Conclusion

The success of this program underscores the potential of machine learning in breast cancer diagnostics. Future research could explore the model’s generalizability across diverse datasets and its integration into clinical workflows. Additionally, the impact of hyperparameter tuning and alternative neural network architectures on model performance warrants further investigation. This research contributes to the evolving landscape of breast cancer diagnostics, showcasing the potential of machine learning to enhance accuracy and aid in clinical decision-making.

This project was completed in Google’s Colaboratory. Use the link below to request access to the full program. 

Google Colaboratory

Government Homework for Chapter 3

  1. After the Great Compromise, the Constitutional Convention told the states about the Constitution. The Federalists supported it, but the Anti-Federalists did not. They believed that the Constitution would be a form of federalism which would put too much power in the hands of the government.
  2.  It dealt with the issue of how a state’s slave count would be included in population. It was decided that one slave would be worth 3/5 of a regular person.
  3.  It was meant to defend the Constitution by reminding Americans of the flaws in the Articles of Confederation.
  4.  The Southern States feared that Congress would use their power to tax exports. This would hurt the Southern economy greatly as they relied on exports heavily.
  5.  Federalists: Supported the Constitution; felt the Articles of COnfederation were flawed. Anti-Federalists: Did not support the COnstitution; felt it gave the government too much power.
  6.  North Carolina and Rhode Island.

WW Lesson 15 Essay

The group watched as Megumin skipped through the woods towards Jon’s farm. She seemed as cheerful as ever despite her destination being over 50 miles away.

“Is it safe to send her such a long distance?” Kazuma asked, “after all, she is barely 16.”

“Who else would you have me send?” Jon retorted, “Kanade is deathly afraid of the dark, she wouldn’t last a second in the woods alone. Your fighting skills are redoubtable, but face it, you are obscenely stupid and you would take far too long to locate my farm. As for myself, I am not even 18, yet I own the most successful chicken farm in the whole country. My mind is the one of a genius, it must be protected at all costs!”

“Ugh, you inherited the farm from your father, you did nothing! And the least you could do is send one of us to tag along with Megumin.”

“On the contrary, I wouldn’t have inherited the farm if I was never born. Being born is an accomplishment in itself. And as for Megumin, I’m sure she’s fine. Just look at her! She’s a paragon of happiness.”

“Whatever you say…sometimes I wonder why you’re even the one giving the orders.”

Megumin skipped blithely through the trees. She had left her sword behind her a long time ago. It weighed her down immensely. She was as carefree as a girl could be. Her large eyes sparkled with happiness at the mere thought of working with a coterie.

“Just imagine this,” she thought, “me of all people, part of a team! I hope I made good impressions. It’s been such a long time since I had a friend. Maybe this is my lucky chance to finally connect with someone!”

She flicked her short brown hair in an attempt to appear confidant and continued to make her way through the woods. Her small stature made it easy for her to squeeze between tight branches and crevices.

“I wonder how long I’ll be traveling,” she thought to herself, “I’ve gone about a mile, so that leaves 49 more. If I travel at my current pace, I’ll reach the farm by daybreak! Then I’ll be able to locate Jon’s chicken and come alll the way back just to let him know. To think that he would bestow such an important task upon me…surely he must want to be my friend! I will not fail him. Even when I am exhausted and sleep sweeter than candy tempts me, I will persevere. It is my mission. I will make my group proud!”

Key Terms for government

Mercantilism: the theory that a country should sell more goods to other countries than it buys.

Boycott: refuse to buy

Repeal: cancel

Delegate: representatives

Independence: self-reliance and freedom from outside control

Constitution: written plan for government

Bicameral: divided into two parts

Confederation: a group of individuals who band together for a common purpose

Ratified: approved

Amend: change

 

All 13 colonies of early America:

New Hampshire, New York, Massachusetts, Pennsylvania, Connecticut, New Jersey, Delaware, Maryland, Virginia, North Carolina, South Carolina, Georgia

Reading questions for government pages 33-38

  1. The colonists’ boycott on British goods was intended to force Parliament to repeal the Stamp Act and other taxes. Colonist delegates met at the Second Continental Congress to discuss matters of independence form Britain.
  2.  In 1763, Britain had just fought an expensive war against the French. In order to cover the costs of ruling the lands they captured and pay off its debt, Britain placed steep taxes on the colonies. This caused the colonies to suffer financially.
  3.  The Coercive Acts prompted the colonists to meet for the First Continental Congress.
  4.  Recently, members of the American colonies participated in the deliberate destruction of His Majesty’s property. Such defiance cannot go unnoticed. In order to protect His Majesty’s property and for the good of the many colonists still loyal to the Crown, the Coercive Acts have been approved.
  5.  Ideas of the Declaration
    1.  Britain does not look after the colonies
    2.  Britain is not fit to be a ruler of the colonies
    3.  Men are all created equal
    4.  The government is meant to protect the rights of the citizens
    5.  The citizens have a right to new government should they not be satisfied with their current one.
    6.  Government should derive its power from the consent of the governed
  6.  The initials represent the colonies that must join together. In its severed state, the snake appears dead, but once all its parts join together, it will be alive. If the colonies do not band together, they are as good as dead.
  7.  The idea that the government derives its power from the governed permiates every aspect of my life. The fact that I and so many others get to elect leaders that support us and what we hold dear is what allows us to have such a great degree of freedom. Many things allowed in America are frowed upon by other countries’ governments.

Reading Checks for government pages 33-38

Reading check 1: Why did colonists gather at the Second Continental Congress?

Delegates in the First Continental Congress vowed to meet again if King George did not meet their demands by the following year. Their demands where not met, so they met again. They also needed to discuss important matter such as America’s independence from Britain.

Reading check 2: According to the Declaration of Independence, what is the purpose of government?

The purpose of government according to the Declaration of Independence is to protect the rights of the people. Moreover, government should be based on the consent of the people.

Section 2 notes pages 33-38 for government

Pages 33-38

Charles Thomson was the designer of the Great Seal of the United States

Colonial Resistance and Rebellion

    • The first Continental Congress assembled because Americans began to demand more rights.

    • Why did the Americans demand more rights?

      • Left to their own devices, the Americans gained experience in self-government.

      • By the 1700s, the British began to tighten their grip on America

  • The British forced the colonies to sell their products to Britain at a low price and buy Britain’s goods at a high price. This caused colonial businesses to suffer

  • They coined the phrase “No taxation without representation!” to express their frustration

  • Colonists began to boycott British products in order to get the taxes repealed.

    • This worked, but Britain made new taxes to take the place of the old ones.

    • Britain repealed the Stamp Act but made the Declaratory Act which said that England had the right to tax and make decisions for the American colonies in all cases (1766)

    • In 1767 Parliament passed a set a laws that came to be known as the Townshed Acts.

      • These laws placed taxes on goods that Americans did not produce

    • In 1773, Parliament passed the Tea Act which gave British companies a great advantage over colonial merchants. The colonists protested further taxes on tea by throwing tea over board (342 chests)

    • In response to the Americans actions, Britian passed the Coercive Acts, which Americans called the Intolerable Acts. These acts limited the Americans rights including the right to trial by jury.

First continental congress

    • Met in Philadelphia

    • Lasted 7 weeks

    • Sent a letter to George asking for better treatment

Lexington and Concord were the first two battles of the American Revolution

After these battles, colonist began questioning their attachment to Britain and talk of independence grew.

Second continental congress

    • Met in May 1775 in Philadelphia

    • Lasted many months, not everyone was for independence

    • In January 1776, Thomas Paine inspired others through his pamphlet Common Sense

    • He argued that it was simply common sense to stop following King George (royal brute)

    • By 1776, more than half of the congress agreed that they should break away from Britain

Declaration of Independence

    • Thomas Jefferson played a major role in writing the Declaration of Independence

    • It explained why America should break away

    • It argued that Britain did not look after the interests of the colonists

    • The purpose of the government is to protect the rights of the people

    • Thomas Jefferson was influenced by John Locke in his teachings

An Uncertain Future

    • Second Continental Congress approved the declaration of Independence

    • On July 4, 1776, America was no independent

    • True freedom would not come until America won and Britain recognized America as an independent country

Chapter 5 Notes UND

Zero Point

(Chapter 5 Notes)

Name: ________________________________________

Class: ______________________ Topic: ________________________

Date: _______/ _____/ ________

Period ______

QUESTIONS

NOTES

Nihilism Nihilism is more a feeling than a philosophy

Nihilism

  • denial that anything is valuable
  • denial of possibility of knowledge
  • denial of any worldview
  • denies that reality of existence
Necessity for Nihilism

(1st bridge)

When one takes the concepts of naturalism seriously, questions will be raised that can lead to him seeking nihilism.

Human beings are conscious machines without the ability to affect their own destiny or do anything significant; therefore, human beings as valuable beings are dead.

The Great Cloud of Unknowing

(2nd bridge)

If any person is the result of impersonal forces, that person has no way of knowing whether what he or she seems to know is illusion or truth.

To believe in Darwinism, one must have faith that a brain can actually know a proposition or set of propositions to be true. What we need for such certainty is a rational spirit like God. Stephen Crane’s poem speaks of a man that is unwilling to confront the truth and thus lives in ignorant bliss.

No one can avoid acting as if moral values exist and as if there is some bar of justice that measures guilt by objective standards. But there is no bar of justice, and we are left not in sin, but in guilt.

The Loss of Meaning Epistemological, metaphysical, and ethical nihilism weave together to form a culture known as Loss of Meaning.
Inner Tensions in Nihilism 5 reasons nihilism is unlivable

  • from meaningless nothing at all follow. One can respond to meaninglessness in any way and any way is correct because nothing matters enough to give that action justice.
  • Every time nihilists think and trust their thinking, they are inconsistent, for they have denied that thinking is of value or that it can lead to knowledge.
  • While a limited sort of nihilism can be practiced for a while, eventually a limit is reached.
  • Nihilism means the art of death. Many artworks are inspired by nihilism, but that would make them not nihilistic because they have meaning as art.
  • Nihilism poses severe psychological problems for a nihilist. People cannot live with it because it denies what every fiber of their waking being calls – meaning, value, significance, dignity, worth.

Chapter 4 Notes UND

The Silence of

Finite Space

(Chapter 4 Notes)

Name: ________________________________________

Class: ______________________ Topic: ________________________

Date: _______/ _____/ ________

Period ______

QUESTIONS

NOTES

Introduction Deism is the isthmus between theism and naturalism- without it, the latter would not have come about so readily.

While Christians view our situation as indication of God’s providence, deists say they believe in God but only have a vague notion of what he, she, or it might be.

Theism

  • God is personal
  • God created everything

Deism

  • God created everything
  • God is not personal

Naturalism

  • God is not real
Basic Naturalism
  1. Worldview question one: Prime reality is matter. Matter exists eternally and is all there is. God does not exist.

    – Carl Sagan said, “The Cosmos is all that is or ever was or ever will be.”

    – Physicists like Stephen Hawking where searching for nothing more than a “complete description of the universe.”

    – La Mettrie says, “In the whole universe there is but a single substance with various modifications.”

  1. Worldview question two: The cosmos exists as a uniformity of cause and effect in a closed system.

    – The universe is not open to reordering from the outside—either by a transcendent Being (for there is none), or by self-transcedent or autonomous human beings.

    -Emil Brehier said, “Order in nature is but one rigorously necessary arrangement of its parts, founded on the essence of things; for example, the beautiful regularity of the seasons is not the effect of a divine plan but the result of gravitation.”

    – Naturalists also call themselves secular humanists

  1. Worldview question three: Human beings are complex machines; personality is an interrelation of chemical and physical properties we do not yet fully understand.
  • Many naturalists see mind as a function of body
  • As human beings, we are simply part of the cosmos
  • Naturalists such as Julian Huxley believe humans to be different among animals due to our ability for conceptual thought, possess a cumulative tradition, and evolve in a unique way.
  • Some naturalists ares strict determinists with regard to all events in the universe, including human action
  • The basis for morality is provided through the possibility of significant human action. Unless we are free to do other than we do, we cannot be held responsible for what we do.
  1. Worldview question four: Death is extinction of personality and individuality
  • This is a clear statement.
  1. Worldview question five: Through our innate and autonomous human reason, including the methods of science, we can know the universe. The cosmos, including this world, is understood to be in its normal state.
  • From a cosmic standpoint, reason developed over a very long period of time through natural evolution
  • From a human standpoint, a child is born with innate faculties which merely have to develop naturally.
  • Human knowledge is the product of natural human reason grounded in its perceived ability to reach the truth about human beings and the world.
  • Naturalists ground human reason in human nature itself.
  1. Worldview question six: Ethics is related only to human beings
  • Naturalism came about as a logical extension of certain metaphysical notions about the nature of the external world.
  • There was a respect for individual dignity, an affirmation of love, a commitment to truth and basic honesty, Jesus was seen as a teacher of high ethical values.
  • Naturalists say both consciousness and self-determination came with the appearance of human nbeings, and so ethics too came then.
  • Naturalists believe all people have a sense of moral values
  • G.G. Simpson argues for an ethic based on objective inquiry and finds it in a harmonious adjustment of people to each other and their environment.
  • When Lippmann spoke of religion he meant morality or moral impulse.
  • By spirit he means the moral faculty in human beings, that which exalts people above animals and above others whose religion is merely popular.”
  1. Worldview question seven: History is a linear stream of events linked by cause and effect but without an overarching purpose.
  • The way the universe came into being is still a mystery
  • The way humans came into existence is often thought to be the theory of evolution.
  • Evolution explains what but not they why
  • When humans appear, meaningful history appears
  • History continues in a straight line
  1. Worldview question eight: Naturalism itself implies no particular commitment on the part of any given naturalist. Rather core commitments are adopted unwittingly or chosen by individuals.
Naturalism in Practice: Secular Humanism Humanism itself is the overall attitude that human beings are of special value. Everything about them is special.

Many Christians called themselves humanists

Secular humanism

  • humanism framed within a naturalistic worldview.
  • Basically the same thing as naturalism
Naturalism in Practice:

Marxism

Stems from teachings of Karl Marx

It is helpful to think of Marxism as a kind of humanism

The Persistence of Naturalism Born in the 18th century, naturalism came of age in the 19th and grew into maturity in the 20th.

What makes it so persistent?

  • It gives the impression of being honest and objective
  • To a vast number of people it appears to be coherent

Problems with naturalism

  • Coherence
    • Does naturalism give us adequate reason to think we’re valuable?
    • Unique, maybe, But gorillas are unique. So is every category of nature. Could a being throw up by chance be worthy?
  • Could a being whose origins were so iffy trust his or her own capacity to know?

These and similar questions do not arise from outside the naturalist worldview. They are inherent to it. The fears that these questions raise in some minds lead directly to nihilism- which is a denial of all worldviews.

Chapter 10 Notes Literature

CORNELL NOTES

SHEET

Name: ________________________________________

Class: ______________________ Topic: ________________________

Date: _______/ _____/ ________

Period ______

QUESTIONS

NOTES

The Where and When of Setting Most books define setting as the time and place in which the action occurs. That’s only partially true. By changing the setting, such as in Taming of the Shrew, the entire story is changed.

Most Dangerous Game

  • Written in 1923 with references to “the war (1914-1918)” and the “debacle of Russia”
  • The setting is Ship-Trap Island (we know because we are told) in 1923

Sometimes the setting allows the reader to gain insight into the author’s theme.

  • In TMDG, the time period and the schema about WWI makes the reader wonder if Connell was protesting the lack of respect for human life in his story.

The Gift of the Magi

  • We know the story takes place in an apartment in a large city.
    • Della fears that she looks “like a Coney Island chorus girl” (12)
    • Coney Island was an amusement park in New York during the early 20th century.
    • By looking at prices and the time the story was written (1906), we can estimate that it is set at the turn of the 20th century

Additional meaning

  • The turn of the 20th century was a time of optimism and hope. The setting and our understanding of Della and Jim’s poverty serve as a contrast to their dedication and love and willingness to sacrifice their most treasured possessions for each other.

The Necklace

  • The monetary unit is francs, the author’s last name is French, so we can assume the story is set in France. There are street names from France as well.
  • 400 francs, the cost of Mathilde’s dress, was worth about $1,500 to $2,000 when the story was written (1884). The amount of their debt was around $80,000 if the story is set when it was written. This, combined with the fact that modern appliances where not present, lead us to believe the story is set in the late nineteenth century France.

Additional meaning

– One of France’s issues at the time was a clash between social classes: aristocrats, peasants, and emerging middle class. Mathilde yearns for the rich life of an aristocrat, but is forced to marry a middle class man due to her social status and lack of a marriage portion. Mathilde is trapped. She is a victim of circumstances she cannot control and is frustrated.

Characterization Through Setting Zaroff’s character is shown through setting. He is on an island that is “God-forsaken” “evil” with an “evil name”just like Zaroff himself.

Sometimes the setting clashes with a character’s personality.

  • Although they are poor, Jim and Della are not poor in spirit.
    • Because Jim and Della’s personality clashes with setting and they seem out of place, we understand their motives better and ultimately the nature of their sacrifice.
  • In “The Necklace” Mathilde believes herself to be deserving of more than she received, this contrast forms the conflict of the story.
  • If you were asked to describe Minnie Foster from “A Jury of Her Peers” you could. You’ve never met her but you can characterize her through the setting, mainly the kitchen the place where she spends most of her time.

Setting orients the reader to the time and place, the where and when the story occurs, and sometimes through inference, to a greater understanding of the story’s conflict. It can also provide clues to the character’s personalities

Items to look for in determining setting

  • Time of day
  • Season
  • Amounts of light
  • Sounds and smells
  • Weather
  • Furniture and furnishings
  • Clothing
  • Indoors or outdoors
  • Colors
  • Characters’ speech and dialogue
  • Customs, beliefs, and values
  • Historical period
  • Geographical location
  • Climate
  • Universal symbols
Mood and Atmosphere Mood and atmosphere contribute to setting by creating feelings in the mind of the reader.

Examples

  • joy
  • ecstasy
  • depression
  • delight

Mood and atmosphere and created primarily through imagery and diction

TMDG

– Connell creates mood and atmosphere through having Zaroff and Rainsford share a meal. The mood created is relaxed, calm, and affable. All because of the diction and imagery.

The Contribution of Setting Setting helps us understand characters and frame conflict like in “Androcles and the Lion”

Acting in harmony with plot structure, characters, and theme, setting makes its valuable contribution to the work’s meaning and message.