Showing posts with label Teaching. Show all posts
Showing posts with label Teaching. Show all posts

Wednesday, January 27, 2021

Mary Morris Burnett Talbert: A Beacon of Hope

 An educator, suffragist and reformer fights racism in Buffalo, NY

Pic Courtesy: Buffalo History Museum

In a recent development, the State University of New York at Buffalo renamed ``Putnam Way” (a road on North Campus) to ``Mary Talbert Way” in compliance with the University’s commitment to fight systemic racial barriers and social injustice. 


James Osborne Putnam (1818-1903) served as a New York State senator, a member of the University Council for 32 years and was one of the founders of the university. It was during his tenure that The Institute for the Study of Malignant Diseases (the present day Roswell Park Cancer Institute) was founded. Putnam, however, like many others in his time, flip-flopped on the issue of racial segregation. He supported the Fugitive Slave Act of 1850 stating, 


The Compromise measures of 1850 were not destructive. They constituted a new bond, a new compact, in its moral force, between the free and the slave states, in relation to matters wholly independent.


Not only did he refer to African Americans as “inferior”, he openly supported conservative ideas and stated


I have no sympathy with northern anti-slavery fanaticism. I have entertained extreme conservative sentiments on this subject. My opposition to the extension of the institution does not rest upon the humanity or the legalities of the relation of master and slave. Of these I say nothing; upon them I base neither sentiment or conduct; I look beyond and higher.


His controversial racial remarks and pro-slavery sentiments [1] instigated the administration to recognize only his contributions to the University, and not to the socio-political climate of his times. 


Mary Morris Burnett Talbert, in whose memory the road has been re-christened, was a beacon of hope.  


Biography of Mary Talbert

(written by Agneya Dutta Pooleery; edited by Haimonti Dutta)


Mary Burnett Talbert was born on September 17, 1866 in Oberlin, Ohio. She was the daughter of Caroline and Cornelius Burnett and had eight siblings. 


She was the only African American woman in her graduating class from Oberlin College in 1886 receiving a Bachelor of Arts degree, then called a S.P. (Specialist) degree. After her graduation, she was a teacher in Little Rock, Arkansas for about six years first, teaching at Bethel University (Later known as Shorter University) and then an Assistant Principal at Little Rock Union High School in Jan 1887. At the time, this was the highest position held by a woman at Arkansas.


An artist's impression of Mary Burnett Talbert
Charcoal on paper, Haimonti Dutta

        All Rights Reserved. Jan, 27th, 2021.

                                                  

In 1891 she married William Herbert Hilton Talbert who was introduced to her by her sister Henrietta (she married another brother of William, Robert). The Talberts owned a lot of property in California, Oregon and New York and William (along with his brothers) took care of them in addition to being a clerk in the City Treasurer’s office in Buffalo. William’s grandfather, Peyton Harris, was one of the early Black settlers in Buffalo and helped to establish the Michigan Street Baptist Church. They actively protested against the Fugitive Slave Act stating


We unhesitatingly accept the issue forced upon us and of the two evils presented choose the least, preferring to die in resisting the executive of so monstrous a law rather than submit to its infamous requirements…we pledge ourselves to resist the execution of this law at all hazards and to the last extremity.


Peyton is believed to have constructed the house at 521 Michigan for his family and the house at 515-517 Michigan for his daughter Anna and her husband. These houses had stood witness to emancipation and the signing of the 15th Amendment, when the parishioners at the Michigan Street Baptist Church held a large celebration to commemorate the occasion. William and Mary Talbert lived at both these houses at different points in their life.


Mary had moved to Buffalo along with her husband William giving up her teaching profession at Little Rock Arkansas. She was to become an orator, activist, suffragist and reformer. The following is a list of some of her monumental achievements in advancing education and the causes of women: 


  • She was a founding member of the Phyllis Wheatley Club, which was the first club in Buffalo to affiliate with the National Association of Colored Women’s Clubs. The club had literary activities and occasionally hosted plays such as “Thirty Years of Freedom” which had an all African American crew. The music of the play was catchy and clever and was led by renowned pianist W. R. Baker of Spokane and baritone lead J. Cockbin who was revered both in the United States and Europe. 


 An advertisement for a play produced by 
              the Phyllis Wheatley Club
                                           
  • She became a member of the Association of Collegiate Alumnae. At the time, she was the only Black woman in the City of Buffalo eligible for admission to the association. 

  • She was also appointed to the Women’s Committee on International Relations, which was responsible for selecting women for positions in the League of Nations.

  • Talbert supported women's suffrage, the right to vote. She established the Christian Culture Congress, which was a literary society and forum in 1901, which brought prominent leaders such as Mary Church Terrell to speak at the Michigan Avenue Baptist Church.


              The Michigan Avenue Baptist Church in Buffalo, NY
               testament to the struggle to freedom from slavery.
                      Pen and Ink on paper, Haimonti Dutta
                       All Rights Reserved, Jan 27th, 2021.
                                        
  • On the international scene, she served as a Red Cross nurse during World War I in France, offered classes to African American soldiers and was a member of the Women’s Committee of National Defense. After the war, she was appointed to the Women’s Committee on International Relations, which selected women nominees for position in the League of Nations.

  • In a 1916 speech, she said

No Negro woman can afford to be an indifferent spectator of the social, moral, and econimic and uplift problems that are agitated around her. 

Her hard work embodies the principles of dedication and hard work to improve the rights of Blacks.


Among other social causes she stood for were:

  • Being an early proponent of the Dyer anti-lynching act. The hostile environment of the southern part of the U.S. had the the threat of lynching and the loss of jobs, and encouraged many Blacks to flee to the north. Talbert helped these freedom seekers on to their path to freedom, and she helped slaves escape to the North.

  • Establishment of the Niagara Movement -- In 1905, W.E.B DuBois and others met secretly in the home of Mary Talbert.  This began the Niagara Movement.  WEB DuBois invited a group of 54 members from 17 different states to come to Buffalo from July 11-13, 1905 to discuss plans to achieve equality.  Twenty-seven delegates from 13 states and Washington, DC came to the meeting in Fort Erie.  It is often said that the Niagara Movement held its first event in Erie Beach Hotel in Fort Erie, Ontario because hotels in Buffalo would not allow them.  

  • Talbert protested the exclusion of Blacks from the 1901 Pan-American Exposition, which resulted in a Negro exhibition to feature cultural and economic acheivements of African Americans.

Talbert died on October 15, 1923 and has been buried in the Forest Lawn cemetery in Buffalo, NY. She was inducted into the National Women’s Hall of Fame in 2005. 


References

  1. https://www.ubspectrum.com/article/2018/11/putnams-is-named-after-ub-founder-who-had-racist-views

  2. https://buffalostreets.com/2020/08/30/talbert/

  3. https://www.newspapers.com/clip/31759578/buffalo-courier/

  4. https://www.womenofthehall.org/inductee/mary-burnett-talbert/

  5. https://en.wikipedia.org/wiki/Mary_Burnett_Talbert

  6. https://www.wkbw.com/news/local-news/buffalo-strong/social-justice-battles-forged-by-mary-talbert-parallel-current-blm-movement

  7. https://www.newspapers.com/clip/35113786/wheatley19010414buffalocourierfreedo/




Wednesday, March 27, 2019

R code for Gradient Descent

Assume that we have one dimensional data and y=1.2*(x-2)^2+3.2. This implies that y has a closed form solution, known apriori. Then it is straight forward to obtain the first derivative and perform a gradient descent. Here is the R code for the above.



Now suppose, we still have one dimensional data but the functional form of y is unknown. How would we do Gradient Descent in that case? Below is the R code to do just that.



Now here are some variants of these to experiment with:
a. Replace the squared loss with a differentiable loss function of your choice and observe the impact on your favorite data set.
b. How does the parameters of the algorithm (alpha, # of iterations, choice of starting point) affect the convergence time of the algorithm?
c. How will you modify this code to implement the stochastic gradient descent algorithm?
d. Suppose we added a bias term to your hypothesis and asked you to repeat the experiments. What do you observe -- is the bias term beneficial?
e. Suppose we changed the hypothesis to be nonlinear for e.g. h(x) = w^2 x+ wx + b. Is the solution you find any better?
f. How will you modify the code above to implement Newton's algorithm (Clue: You need to use Taylor expansion for representing the function with higher order terms).

If you can report the above results on your favorite data set, I'd like to hear from you!

Also, feel free to ask questions in the comments if you are wondering about something.

Friday, January 25, 2019

Story Telling at Country Parkway Elementary School


Reading a story entitled "A Little World of Mud" from Ruskin Bond's Children's Omnibus -- showcasing the work of a great Indian author of British descent -- on the occasion of International Night at my son's school. Here's the first part of the recording for my friends who missed it.Video Courtesy: Agneya Dutta Pooleery



Sunday, March 18, 2018

SVM Loss Functions, Gradients and Hessians

Two popular loss functions used in the primal SVM formulation are: (a) Squared Loss and (b) Hinge Loss. The following note(s) show how the first and second derivatives of these losses are computed based on the assumptions of the model - a.k.a. linear model (with or without bias). Clearly, these can be extended to the non-linear kernel, however, those are left as an exercise for the reader.

Squared Loss and its first and second derivatives.

Hinge Loss and its first and second derivatives

Friday, October 21, 2016

Big Data and the Mortuary

Sounds gross, right?

But here's the story. I get on the "big data" bandwagon.
I develop these nice scalable algorithms for learning from the big data. I test them on data that does not fit in the memory of my personal laptop (otherwise the reviewers for my journal papers do not agree that I am doing GOOD research). I use a cluster for all of this work - which I have spent hours configuring and playing around with.

But then I decide to relocate. With all my tangible possessions. How do I move this large cluster?

Needless to say, I am emotionally attached to it, by now. It was not easy getting it up and running in the first place. Then I did all the dirty data cleaning work on it. That was another 100+ hours of my existence. And now I am facing this scenario -- I do not have the physical space to store the machines; the administrator who spent many sleepless nights with me has decided to take a break.

The research organizations and foundations that helped set up the cluster have not given thought to the problem. They are only concerned with getting useful things out of it still. Once you build an empire, you usually do not want to relocate.

The environmentalists roll their eyes at me. Large scale computing infrastructure in the electronic waste recycling? You serious? Well go find a place to host them.

Yes, true.

Meanwhile, does any one care about what would happen to these large scale repos once no one rides the bandwagon anymore?

I feel like the Lorax in Dr. Seuss's book(http://www.seussville.com/books/book_detail.php?isbn=9780385372022).

The Onceler and the Truffula trees had their way. The Onceler is unrepentant. He  defiantly tells the Lorax that he will keep on "biggering" his business, but at that moment one of his machines fells the very last of the Truffula trees. Without raw materials, the factory shuts down. The Lorax says nothing. Just one sad backward glance and disappears behind the smoggy clouds. Where he last stood is a small monument engraved with a single word: "UNLESS". The Onceler ponders the message for years, in solitude. 

Friday, December 11, 2015

Project Showcase - Large Scale Image/Video Search System.

My course on 'Distributed Computing' (MGS 655 at the University at Buffalo) requires students to do a hands-on project. They are allowed to propose a topic of their choice (of course pertaining to distributed computing!) and work in group(s) of not more than two students. Several interesting projects were designed this semester.

This post is the first of a series of blog-posts that will showcase the systems they built. Your comments are very welcome - both to motivate the students and also suggest ways by which they can improve / develop their work.

Abhinash Behera and Vijay Lakshmikanthan designed a large scale image/video search system. Here's a description of their project.

Description:
We built a search system that can retrieve appropriate video files based on user input. The user input is assumed to be in the form of an image. It is a Query By Image Content (QBIC) information retrieval system. Such a complex system can only be realized by the use of distributed computing for storage - analysis and retrieval are highly resource intensive processes. Since this is a search based system, the query processing time has to be minimal for achieving high ‘precision’ by returning highly relevant videos.

We have divided the project into three parts - (1) presentation tier  (2) application/processing tier and the (3) database tier. To handle the demand for compute power, we have used four virtual machines including our own systems.

We developed the database tier based on MongoDB and were able to successfully store and retrieve the video files. The logic for processing the image and video chunks have been handled using the OpenIMAJ library, a Java based open source multimedia content analysis tool. We developed the application layer in two parts - the business layer using Java and analysis layer using Apache Hadoop.


A design representing the above description has been presented below.


Architecture Overview: We have used a decentralized architecture for designing our application. The business tier is divided into two parts - the Java implementation of the image comparison algorithm and the Apache Hadoop framework for frame processing. The primary advantage of this architecture has a separation of the analytical and processing tasks. The analytical layer of Hadoop helps in parallel processing the individual frames of the video thereby providing a boost to the existing processing power.

Algorithm Overview: We ingest the videos into the MongoDB GridFS system which helps in fast retrieval of the videos when requested by the client. Next the Hadoop system works on these videos and generates color histograms. The color histograms are stored in the MongoDB database. The business tier makes use of this information for image comparison and producing intermediate image matches. The videos containing these intermediate images are picked from the database and displayed on the UI. 

Thursday, October 22, 2015

Plagiarism in the digital era

I teach a class of 120 Master's students. There are two sections-52 students registered in one and 68 in the other. The material pertains to distributed computing. We talk about architectures, communication protocols, file systems, synchronization, concurrency and replication, fault-tolerance and so on and so forth. There are several in-class quizzes, a midterm and a final exam and a semester long project in the course.

So here is how the exam(s) go - I walk into the class, with/without proctors (I get proctors for midterm and finals, but not for the quizzes). In a loud and clear voice I announce, 'Please keep all bags and electronic devices including laptops, cell phones, pdas, ipads, etc. up on the dais. You are not allowed any additional piece(s) of paper as a cheat sheet or for rough work. You can only have a pencil/pen to do your exam.' I wait for a few minutes and watch as the students lazily put their things away-or so I think.

After the first quiz, some students reported to me that a few colleagues had apparently not kept cell phones away near the dais, it being 'an essential tool' that they wanted to hang on it even during the exam. These students managed to take pictures of the exam and email it to their friends in the next section, who start their exam 10 minutes after the first class is done. Well. Smart thinking.

I cannot combine the classes for the exam-it is a scheduling hassle. Only the final is scheduled ahead of time and both sections take it together.

I have separate exams for the two sections, knowing I cannot trust anyone. I learnt the adversarial setting I was working in/against.

Looking into your neighbors work is the old style of 'copying'. Quite effective, however. When you do not know something, glance at your neighbor's work and see what s/he has. Each student gets a different exam (there are usually two sets of questions I prepare for each section!). Good luck, trying to see what your neighbor has. You will first need to tally the questions, then the answers. For the midterms, my Teaching Assistant figured it would be wiser to put together a 'randomized' seating arrangement. Friends are no longer next to friends.

The random seating arrangement was a huge success in curbing cheating. But then, the 'restroom break' requests emerged. The first time around-I allowed those. I was too nice. My proctor ended up discovering that the ladies room was becoming more like a student dorm with books, electronic devices openly being used and discussed. There was even a social circle (a miniature version of a facebook friends list) setup to discuss and answer questions in the exam! Question papers were taken away and perpetrators brought to task. Since then, I allow 'No restroom breaks' by 'class policy'. Actually, feel like an autocrat of sorts with that rule in place.

Now, it almost became a power struggle. The naysayers go their way. I go mine.

In the recent midterm, I had a student come in with a knitted cap with a stiff peak projecting in front. Think baseball cap. My proctor complained he was not able to see her eyes and hence could not decide whether she was doing her own work or not. I watched her from a different direction and noticed she was not. The idea was to use the cap as a cover for looking into her neighbor's work. No digital enhancements - simple old fashioned style. And gives her quite the look. I am technically not permitted to ask her to open a head dress or cap since one may have his/her own need for it. We just moved the students around and made them sit further from each other. But hey - buy a new cap for the exam versus study hard for it?

Moving students around did not work too well either. The proctor was flabbergasted to hear one student question 'There are common questions in the two groups. Why can I not look and learn?' Excuse me? This is supposed to be an exam!

So that was for the in-class exam(s).

For the project, they are required to submit a proposal, an intermediate report and a final report. About 60% of the class wanted to do 'sentiment analysis on twitter data'. One of my colleagues got so amused, he asked them what motivated their choice and if 'sentiment' meant anything more than being positive or not. I sighed. Where does it all begin (or end)?

The Student Handbook - code of conduct. Amen.