Radical Transformational Leadership (Session 1- Sept 18th -20th) Reflection

Session 1 of RTL Leadership was conducted by Dr.Monica Sharma on (Sept 18th -20th) 2021, As Part of the Shifu(Master) program the 7 Shifuians attended the 3 days session and sharing the reflection.

 

My name is Santhosh, I stand for kindness and equity for myself and for others. I learned many useful tools for my life and this is my third RTL so I’m able to notice whether I’m using my tools or not and I was really inspired by Monica explanations , and I learned how to mingle with new people and also ,this session helped me to be stronger in my universal value.

 

My name is Choudhry, I stand for equality and justice for myself and others, I learned my stand and fear, when I doing this tool  I realize my fear is the default, And I lean how to use the “i” statement, with the help of CFSR  sheet I can describe my project and I can check where I am, also I can check am I respond and realize my project, then background conversation with me and others, and how I listening to others, the background conversation with an example of COVID-19, how to distinguish courage and bravery, this is the tools I learned from the RTL session.

 

My name is Arun, I stand for happiness for myself and others from the three days of the session. I learned that how I can look back at my stand and it brings me an idea of powerful conversation. On background connection, I have seen things differently and also learned new this for myself. From powerful communication I have understood about the way of my communication and what are all things I should add to it. Deep listening makes me how to overcome background conversation and connect with people. From filling the CFSR sheet I had an idea about my project and the issue I’m facing and how to overcome it with analysis. from  12 angry man movie, it gives me an idea that there will be two sides to a story and the story which I’m seeing won’t be seen by others but the way I have examine it gives way back to me to stand on my universal value.

 

My Name is Sri Bhavani, I stand for Love and equality for myself and others. I learned about myself is, Who I am! Identified my universal values within me. Whenever I make an effective conversation, I noticed my fear and background conversation. Noticing my background conversation, make me fully present through deep listening. I learned to, commit an action to let my fear go. How to make an effective conversation with the committed request. How to make the feedback statements, for the growth of others Subsystems are interconnected to the system. How to design my project using the CFSR sheet. Choose to be responsible whenever I get a complaint about my action. I learned to ground on my stand.

 

My name is NARMADHA, I stand for equality, happiness for myself and others. By attending the session I learned my 4 profiles and how to overcome my fear and commit action to let it go. From the movie 12 angry men, I learned that whatever the situation I chose to be in action not to react. I learned to create a design structure for my plan using CFSR. Learned system principles and learned how to make a committed request for my project and give feedback to others.

 

My name is Sandhiya and I stand for progress and love for myself and others, I learned to strengthen my stands and to overcome my fear. If I am expecting something from others I should check whether am good at it. I also learned to think from others’ points of view and to take every difficult situation as an adventure.

 

My name is Sivaraman and I stand for perseverance, courage, full potential, and equality for myself and others. I have learned to be aware and conscious about my values and add more values as I grow positive. CFSR has progressively tuned my project. I have revisited a lot of my rule and role according to build myself and others up.

Machine Learning course

~Ganesh

C3STREAMLand conducted a course on Machine Learning for learners. The course was divided into six 2-hours sessions. The motive behind the course was to make learners familiar with the most widely used machine learning concepts and algorithms, being adopted rapidly by many tech companies.

The course was offered by Alex, Sanjeev, and Ganesh, as a part of sharing our learning with the machine learning enthusiasts. Sanjeev and I (Ganesh) did the course on Coursera offered by Stanford University and taught by Andrew Ng, the co-founder of Coursera and Google Brain. Alexander Sokolov (Alex) converted the assignments from Octave to Python to make them accessible to everyone.

The course provided a broad introduction to machine learning, data mining, and statistical pattern recognition. Main topics include:

  1. i) Supervised learning (parametric/non-parametric algorithms, support vector machines, kernels, neural networks).

(ii) Unsupervised learning (clustering, dimensionality reduction, recommender systems, deep learning).

(iii) Best practices in machine learning (bias/variance theory; innovation process in machine learning and AI).

Session-wise topics covered are as follows:

Session 1: Introduction and Linear Regression

  • Introduction – Machine Learning
  • Basic concepts of statistics and linear algebra
  • Examples and classifications of Machine Learning
  • Univariate and multivariate Linear Regression
  • Cost function
  • Gradient descent
  • Polynomial regression
  • Feature scaling and mean normalization
  • Bias-Variance Trade-off

 

Session 2: Logistic Regression (Classification)

  • Decision Boundary
  • One-vs-all classification
  • Overfitting and Regularization

Session 3: Neural Networks

  • History and use cases
  • Architecture
  • Forward propagation
  • Backpropagation
  • Handwritten digit recognition system demo

Session 4: Anomaly Detection and Recommender Systems

  • Density estimation
  • Gaussian distribution
  • Anomaly detection algorithm
  • Recommender Systems
  • Predicting movie ratings
  • Collaborative filtering

Session 5: k-means clustering and Dimensionality Reduction

  • Clustering applications
  • K-means clustering algorithm
  • Data Visualization/compression using dimensionality reduction
  • Principal component analysis (PCA)

Session 6: Large Scale Machine Learning

  • Batch gradient descent
  • Stochastic gradient descent
  • Mini-batch gradient descent
  • Online learning

The course helped learners to get the idea about widely used machine learning algorithms and maths behind those algorithms.

The session-wise presentation PDFs can be accessed here:

https://drive.google.com/drive/folders/1O-kTcAGFvEdX7_jJ0fn-6rKaLtEGxFmh?usp=sharing

Guest talk regarding Feminist Approach To Technology

FAT:

Feminist Approach To Technology (FAT),  FAT is organizing STEM Talk series webinar from January to March 2021, “STEM और हम, स्टेम पर लड़कियों द्वारा चर्चा ”  where women will share their journey, achievements, and challenges in the STEM domain. They will discuss how they were able to break gender barriers and fulfill their dreams.

Through these monthly talks, we are aiming that more girls get inspiration from this talk and advocate STEM education for young girls and women so that they can start thinking about education/career in STEM from an early age.

On March 14th I gave a talk over zoom.

 

STEMland in rural and what are opportunities it’s gives

STEMland at a rural place will give the children, youth, and even adults an opportunity to learn about science, technology, engineering, and mathematics.

Science and Mathematics:

There are many dropouts in a rural place where the children and youths are forced to go to work or children lose interest to learn. Children lose interest to learn as it is not interesting or not fun for the children to learn. In Stemland we make learning science and mathematics through practical means and through programs in laptops. By this, we make learning more fun and interesting to the children and youths. This also gives access to the children and youth to interact with technology programs.

For example,

We have made a practical method to show the a3-b3 using 3d printer and Alice(3d visual programming tool). The children program in Alice and show the visualization of the formula. They also have designed cubes to show the formula. By, this the children are able to understand the concept more easily.

From this, I can say that the children in rural place will have difficulties in language, but as they learn by programing, seeing and touching it makes learning more fun and therefore there is no language barrier.

This also gives the children and youth to interact with technologies. In this process they learn programming skills and designing skills. Here education will not only be theoretical but where they use their hands and minds together.

Technology:

I see most of the rural place is not equipped with latest technologies or even have access to it. I see Stemland as a societal change maker as it brings technology into rural places.

It can also be the first time for the children and youth to get access to laptops and other technologies.

How do I encourage girl children or women to stem education?

The first thing that comes into my mind when I hear this question is that I need to be encouraged in stem education first, then only I can encourage others. I truly believe that Stem education is the future. This is where there is equality in learning, where there is freedom with responsibility which is taken by the students by themselves not forced by the society, parents, or teachers.

I will share my experience with girl’s involvement in stem education. In my beginning days in STEMland, I saw girls getting actively involved in soldering the electronic equipment. I was surprised to see this. I thought that girls will basically work on laptops and do not want to get their hands dirty but here what I saw was the opposite. The girls opened an old Christmas light which was not working and fixed it. This is a true example of showing the interest of women’s child which is breaking the social and cultural norms.

 

In Stem education, we also provide sessions in leadership qualities where one discovers their potential within themselves and how to come out of fear. This helped me a lot to come out of my fear and to act from my possibilities. There is a practice or thinking in our society that girls should only do this not that and they are not fit for this job and all. Framed by society a girl is set to have boundaries and live within the boundaries. Stem education will be medium which will break the boundaries and will surely make the child work from her possibilities rather than her fear. Stem education has a wide range of opportunities, where a girl child can choose what she really wants from her heart then be forced to.

Post: https://www.facebook.com/92094187593/posts/10159165280042594/

INTERACTIVE PROGRAMMING IN PYTHON

 

~Sandhiya and Kayalvizhi

We learned “An Introduction to Interactive Programming in Python (Part-1 and Part-2) Online course in Coursera.

CodeSkulptor is an interactive, web-based Python programming environment that allows Python code to be run in a web browser.

These are the game we learnt in the coursera course,

  • Rock Paper Scissors
  • Guess the number
  • Ping pong
  • Stop watch
  • Blackjack
  • Memory game
  • Spaceship/Asteriod

We are trying to run the Codeskulptor python in our local system (Create executable file). In codeskulptor we have a save options to download our code.

We used following steps to converting the python files into exe.file in local system.

These are the API tried for Simplegui to run the code for local system.

  • SimpleGUITk

SimpleGUITk is a wrapper for the CodeSkulptor SimpleGUI API using TkInter. CodeSkulptor is a browser-based Python interpreter used in the online course “An Introduction to Interactive Programming in Python”.

  • Create Pyinstaller using to EXE: https://datatofish.com/executable-pyinstaller/
  • Install pip install SimpleGUITk
  • Change the import simplegui to import simpleguitk
  • Able to run the codeskulptor file in our local and create the .exe file also, but not able to run and create exe file for the images having file like blackjack and spaceship game.
  • Simplequi

Same thing we did for simplequi also, not able to create the blackjack and spaceship game.

  • Download the images and set a path to the image in the spaceship python code. Not able to get the image file.

Solution-1(Windows)

  • Install SimpleGUICS2Pygame

https://pypi.org/project/SimpleGUICS2Pygame/

  • Replace the import simplegui to

try:

import simplegui

except ImportError:

import SimpleGUICS2Pygame.simpleguics2pygame as simplegui

  • Convert .py files to .exe file

Install pysimplegui-exemaker

https://pypi.org/project/pysimplegui-exemaker/

  • Run the Pysimplegui-exemaker– open the command prompt and paste

python -m pysimplegui-exemaker.pysimplegui-exemaker

The pop up showed liked that, browse your code in source python file and click Make EXE.

 

 

 

 

 

 

Edible Weed Walk at Evergreen with Nina Sengupta

As part of the ‘Becoming and Being a Shifu (Master)’ program a program to develop skills (programming and VLSI), competencies (using skills to create healthy workplaces and environment) and inner capacity (universal values) the participants are exploring some activities of Auroville. This short report is about the visit to Evergeen where we went for a ‘weed walk’ with Dr. Nina Sengupta who is an ecologist and an Aurovilian.

At C3STREAM Land Designs we learn, grow, work and teach and 5 of us went along with 7 Shifians to learn and grow.

Our visit started with the introduction of the book written by Dr. Nina – ‘Edible Weeds and Naturally Growing Plants in Auroville’. It was interesting to see that the book cover was hand-made, made from eco-friendly material. The treasure started unfolding with every plant she included in the book. Every book has two copies – one with precisely scaled plants in color and the other one with outlines which can be used as hands-on, color it to get closer to these plants.

We walked through the book one plant at a time and learned about the properties of edible weeds like Antigonan Leptopus. The first myth that was demystified while having this walk is not all weeds are non-edible, and many of them can be used not only for medicinal purposes but are a good source of nutrients for humans too. Generally, we ignore these weeds considering everything as another type of grass but they are all around us and we only have to recognize them and learn which parts of that particular weed are edible.

Once we recognize which parts are edible, then comes the next important thing – the appropriate quantity and frequency of weed to eat, the process of cooking if required. For example, some weeds can be used well after blanching them, while other weeds can be eaten raw.

The weed-walk was getting more and more interesting as we got to see and taste the different weeds. While we were able to observe weeds, on the other hand, we got closer to nature, and that also allowed us to express our learning. There are two major varieties of weeds – wild and cultivated weeds. Some species originated late, which are not mentioned in the Ayurveda. We need to constantly keep learning to know more about these weeds and start looking at these weeds from different perspectives whenever we see them around us.

The walk ended with the tasty herbal tea made by Archana and with the interactive conversation about edible-weeds, experiences of Nina as an ecologist, and Auroville in general. Thanks to Nina, Archana, and the Evergreen team for this wonderful opportunity.

~Team Shifu with C3STREAMLand members

 

 

About Shell basics, Grep and Find commands

~Ganesh, Ranjith

Shell – also called as command interpreter

Interactive use: reads command lines from a terminal

Shell script: When we put command lines into a file, that file is called a shell script or shell program.

 

Broad types of shell – bash and csh

C shell (csh):

Especially good for working on a terminal

 

Bourne Shell (sh):

Probably used more often for shell programming.

Newer version “Bourne-again” shell (bash) combines handy interactive C shell−like features with Bourne shell syntax, and is preferred choice.

 

which :

It takes one or more arguments. For each of its arguments it prints to stdout the full path of the executables that would have been executed when this argument had been entered at the shell prompt. It does this by searching for an executable or script in the directories listed in the environment variable PATH

e.g.

which ls

/usr/bin/ls

 

To see which shell I am running…

echo $SHELL

/bin/bash  – tells which shell we are using (bash here).

 

env :

env is used to print environment variables.

Most environment variables are in capital

 

 

 

env

SHELL=/bin/bash

WSL_DISTRO_NAME=Ubuntu-20.04

NAME=DESKTOP-HABEOE2

PWD=/mnt/e/unix

LOGNAME=ganesh

MOTD_SHOWN=update-motd

HOME=/home/ganesh

LANG=C.UTF-8

 

HOME:

Gives our home directory

echo $HOME

/home/ganesh

 

PATH:

Tells all the directories in which binary files can be extracted

e.g.

echo $PATH

 

Find Command :

Used to find files and directories and perform subsequent operations on them. It supports searching by file, folder, name, creation date, modification date, owner and permissions

find -maxdepth 2 -iname “pledge.*” -type f

./pledge.txt

./pledge.txt.bak

-maxdepth <num> ; at most <num> searches files/directories in hierarchy.

-iname searches irrespective of the case.

-type f specifies the input type is a file.

-mindepth <num> ; at least <num> searches files/directories in hierarchy

-group <gname> ; find files/directories in which group have access permission

-user <uname> ; find files/directories in which user have access permission

-size ; find files/directoriesbased on size

-delete ; to delete the found files/directories

-atime -<min> | +<min> | <min> ; find the file which accessed in at given minutes <min> | less than given minutes (-<min>) | greater than given minutes (+<min>)

-atime ; similarly for days

-ctime, -cmin ; similarly for changed files

-mtime ; similarly for modified files


-exec ; to execute shell command on founded files/directories

find -maxdepth 2 -iname “pledge.*” -type f -exec cat {} \;

find -maxdepth 2 -iname “pledge.*” -type f | xargs cat


find -empty:

./cat

./empty_file.txt

finds all empty folders and files in the entered directory or sub-directories.

 

Grep:

grep searches for PATTERNS in each FILE.  PATTERNS is one or more patterns separated by newline characters, and grep prints each line that matches a pattern.  Typically, PATTERNS should be quoted when grep is used in a shell command.

A FILE of “-” stands for standard input.   If no FILE is given, recursive searches examine the working directory, and nonrecursive searches read standard input.

grep <Option> <SearchText/Reg Expression> <Target file/ Path > ; general form

options:

-E ; extended regular expression.

-i ; ignore case

-v ; invert

-l ; list files which has the text/pattern

-r ; recursive search on all files in given <path>

-R ; recursive dereference (open symbolic link).

-c ; count matched text/pattern

-n ; print output with line number

-e ; search for multiple pattern

Example: grep -e “-e” -e “[a-zA-Z]*nary” <target> ; search for “-e” and string end with “nary”

-B <number> ; print <number> lines before matched line

-A <number> ; print <number> lines after matched line

-C <number> ; print <number> lines before and after matched line

-f ; take each line in a file as pattern è Example : grep -f <pattern file> <Target file/ Path>

 

Business Simulation

~Shimalini and Aravindh

Business Simulation is an experimental learning tool where participants learn by running a virtual business in an interactive, risk-free and hyper – realistic environment. It helps in practising and improvising business skill such as Business insights, market analysis, operations, decision making, problem-solving, communication and leadership.

The advantages of this tool are:

  • Puts theoretical concepts into practice
  • Increases decision-making skills
  • Boosts participants engagement 
  • Provides a practical environment for soft skill development
  • Allows us to overcome loss aversion

Last week we had the opportunity to do the business simulation with the overall team. It was a different experience where we learnt a lot of things. The interaction happened through zoom meetings. We got the chance to interact with the Quilt.ai team globally. Each round of competition indicated one production year. The simulation system consisted of four sections: Research and Development, Operations, Marketing and Finance. There were four countries to set up our manufacturing plants – the United States, Germany and China. The game consisted of six years to develop their company’s productivity, capital, market, etc. 

The Capsim business tool is beneficial to both participants and instructors. The initial training and assessment gave us basic knowledge to operate the game. In the first three rounds, we were randomly tuning the values to get good results, encountered lot of difficulties, like running out of funds and triggering emergency loans. After 3rd round, we had some clarification in the process improved our performance by analysing the feedback, comparing other team’s performance and made conscious decisions. 

The overall process was very new to us. There were experienced members in my team; I had the opportunity to interact, learn and hear their thoughts. Our part in this simulation was minimum. The key takeaway from this business tool is that it allowed us to realise that we should undertake calculated risks. We are looking forward to having a similar experience in the future.

SED command

~Saranya

sed ‘s/find/replace/’ filename

Find and replace a word in a file

Ex output:

sed ‘s/find/replace/1’ filename

It will find and replace in line 1

sed ‘1,3 s/find/replace/1’ filename

It will find and replace with the given range

Ex output:

sed ‘s/find/replace/g’ filename

Find and replace all the occurrences in a line.

sed ‘1,5 s/setof/set/g’ auto.tcsh |sed ‘10,15 s/e/0000/g’  |head -15

Replace the string within the given range.

Unix commands Session

~Ranjith

In the layout team, we are learning UNIX command with the support of Sanjeev to improved our skills for automating tasks.

Session on process, kill, disk utility, alias, pushd, popd, tar, and gzip commands:

Process command:

To find process which are all running use “ps” command

ps -ef ; print each (all) process

ps -u <userName>; print process by user

ps -g <groupName>; print process process bu group

groups <username> ; to find group in which user is.

Kill Command:

Used to kill process

kill <signal> <pid> ; send a signal to process <pid>.

kill -l ; signal list;

kill -9 <pid>; -9 is a kill signal

kill -9 -1 ; all process it can.

xkill ; Select the window whose client you wish to kill with button 1….

Disk utility commands:

du -b <path> ; print file space in bytes

du -m <path> ; print file space in megabytes

du -k <path> ; print file space in kilobytes

du -h <path> ; print file space in human readable form.

du -d <depth> -h ; print all files space in given <path> with a given depth.

df -h ; print mounted disk space detail in human readable form

  • To find biggest file:
    • du -b | sort -nr ; sort file based size (bytes), In sort è n = combine digits into number, r = reverse order
  • To find smallest file:
    • du -b | sort -n ; sort file based size (bytes), In sort è n = combine digits into number
Send process into background and bring it foreground:

Press Ctrl+z to suspend process.

Type bg to send process into background

Type “jobs” to get job ID.

Type “fg %<job ID>” to bring process into foreground

Alias: set a alternate name to a command or a group of command within quotes separated “;”

alias ls ls -la –color=auto ; set “ls” as a “ls -la –color=auto”.

alias DoYouWantContinue ‘echo “\nDo you want to continue (Y/N):” ; set input = $< ; if($input != “Y” && $input != “y”) exit’ è set DoYouWantContinue as a set of command separated by “;”.

Unalias <alias Name> ; to remove alias;

/<command> ; to run raw command; even when command name is aliased to something else.

Change directory :

cd <path> ; change directory to given path.

cd – ; last cd path.

pushd <path> ; push directory into stack and cd to it.

pushd +<rotate stack number> ; rotate the stack

popd ; pop the top directory in stack

Create Archieve:

tar -cf <archive.tar> <directory> ; Create archive.tar from <directory>, it is like git version control.

tar -tvf <archive.tar> ; List all files in archive.tar verbosely.

tar -xf <archive.tar> ; Extract all files from archive.tar.

tar -d -f <archieve.tar> <directory>; show the difference between tar and files in directory.

tar -u -f <archieve.tar> <directory>; create a new entry for all files with new time stamp(if file is modified).

tar -r -f <archieve.tar> <directory>; append a new file in tar file.

tar -xvf auto.tar test.tcsh –occurrence=2 ; extract 2nd occurrence of test.tcsh file in auto.tar tree.

Compress:

gzip -c <file> ; compress file

gzip -d <file> ; decompress file

gunzip <file> ; unzip file

 

US Election Model

~Sharat Kumar & Vasanth

The power of predictive modelling and Machine Learning in particular. We had an opportunity to put it to test, by working on the prediction of the US election, a couple of weeks prior to the US Presidential Election. WE approached this using supervised learning. First, we considered two states of America, Texas (Republican/healthy Red state) and California (Democratic/ strong Blue state). We scraped around 10000 tweets for 5 Days from twitter for both the states. We tagged red as Pro-Trump/Anti-Biden and treated Blue as  Pro-Biden/Anti-Trump. 

We selected 100 top Fans of Biden and Trump across the US, and we scraped tweets relevant to US elections from those handles for one day. We trained a model using those tagged data into an AI machine. After training, the tool considers 70% of the data to train and the rest 30% for validation and testing. During the process, a confusion matrix is formed. A confusion matrix is a table describing the performance of a classification model (or “classifier”) on a set of test data for which the correct values are known. 

This table shows how often the model classified each label correctly (in blue), and which labels were most often confused for that label (in grey). 

We created two models out of them, in one model, when we feed an individual’s tweet history into the machine, it will identify whether the person is a Trump/Biden fan. Another model is when we provide the Twitter data of a particular state; the model predicts who has more support in that state. We used the second model, and we fed the twitter data of 11 swing states in the US. 

States Red Blue Predicted Result Actual Result
Concord (New Hampshire) 36.48% 63.52% Blue Blue
Florida 47.29% 52.71% Blue Red
Iowa 51.01% 48.99% Red Red
Michigan 31.34% 68.66% Blue Blue
Minnesota 43.79% 56.21% Blue Blue
Nevada 37.22% 62.78% Blue Blue
Ohio 42.32% 57.68% Blue Red
Pennsylvania 43.18% 56.82% Blue Blue
Raleigh (North Carolina) 46.27% 53.73% Blue Red
Virginia 44.80% 55.20% Blue Blue
Wisconsin 43.01% 56.99% Blue Blue

In 8 states among the 11, we predicted the right result. We got an accuracy of 72.72% as our result. 

This gave a first hand experience of the power of AI and Machine learning. While these tools can be used to predict and prescribe inputs for various business decisions it can also be an effective platform for addressing several complex societal problems. We are excited to engage and learn more on the underlying capabilities these new age platforms offer.