The AI certificate is similar to the Data Science certificate. It consists of ten courses with content produced by Microsoft and administered by edX. However, unlike the data science courses, none of the AI course assignments use the drag-and-drop Azure Machine Learning interface. Instead, most projects require Python programming ability. A summary of my progress in the first six classes is shown below.
Oddly, none of the classes that follow use any of the Azure services introduced in this course. Instead, most rely on Python code contained in Jupyter notebooks.
Another quibble. I work at Microsoft (but not for Microsoft since I am a contractor) and most Azure subscriptions are not available to me. Who knows why Microsoft lets me create an account but then doesn’t give me access to resources. See screenshot below.
This is a DataCamp course using an interactive window for quizzes and a timed final exam. (For my earlier experiences with DataCamp courses, see DAT209x in this Jul 2018 blog post.) The topics covered in this Python course are lists, functions and methods, flow control, installing packages, arrays using NumPy, graphing using MatPlotLib, and dataframes using Pandas.
Time: 12 hours for 20 modules
Score: 100% on the quizzes and labs. Missed 7 on final exam for combined score of 94%
This basic math course covers algebra, calculus, tensors, eigenvectors and eigenvalues, statistics, probability theory, sampling, and hypothesis testing. All lessons use Python in Jupyter notebooks.
This is a new course that is now required for both the data science certificate and the artificial intelligence certificate. It covers privacy (including GDPR), explainability (XAI), and power and trust (bias). The course is taught using the traditional legal framework called Issue, Rule, Application, Conclusion (IRAC).
Time: 5 hours for 4 modules
Score: No error in the labs and missed 2 questions on the final exam for 96%
Examples of images when searching for “white privilege”
by George Taniwaki
Making people aware of their unconscious bias or stereotypes is an important part of helping them become better critical thinkers. Many of these prejudices are based on visual cues such as race, gender, and class. They are learned very early in life and are difficult to overcome.
As described by the Kirwan Institute for the Study of Race and Ethnicity, implicit biases are pervasive. They “encompass both favorable and unfavorable assessments, are activated involuntarily and without an individual’s awareness or intentional control.”
Unlike known biases “that individuals may choose to conceal for the purposes of social and/or political correctness, implicit biases are not accessible through introspection.”
To learn more about your own implicit biases regarding race, create an account and take this test.
Teaching about white privilege may be counterproductive
Recently, the term white privilege has come into vogue. The phrase is often used to describe how Americans of European ancestry, even if they do not actively discriminate, enjoy passive advantages over minorities.
However, recent research shows that teaching people about white privilege may have the opposite effect as intended. That’s the conclusion of a paper by Erin Cooley, et al. published in J. Exper. Psy.: General, Apr 2019 (subscription required).
In a May 2019 article on Vice, professor Cooley does a very good job of describing the results of this research, including her own personal connection through her fiancé, a white man who grew up poor. It’s a great article and I strongly recommend reading it.
She says, “Given a career focused on race, I was fixated on the privileges of being a white man. I couldn’t stop myself from mentioning that white male poverty wasn’t exactly the worst injustice out there.
“I had evidence on my side. Poor white men can hide being poor more than Black people can hide being Black. And there are plenty of systemic barriers my fiancé was unlikely to face as he made his way up to being the successful professor he is today. Still, the fact that he was a poor white man had escaped my empathy radar. I wondered whether this might be connected to my liberal worldview.”
How the study was conducted
There were two studies conducted with a total of 1,189 participants. The sample was divided into two groups, social conservatives and social liberals. Within each group, some were provided a lesson on white privilege and some were not.
All participants then read a story about a person and the hardship they underwent. For some participants, the subject of the story was a poor white man. For the others, it was a poor black man. Afterwards, all participants answered a questionnaire to measure the level of sympathy they had for the subject of the story.
Results
Overall, there are a total of eight subsamples. The chart below shows the data, with lines indicating the change before and after receiving the lesson on white privilege (actually with and without the lesson, since they are different samples). Social conservatives have solid red lines and social liberals in dashed blue lines. Story with a poor black man have a solid triangle marker and story with a poor white man have an open square marker.
Effect of reading a lesson on white privilege on sympathy score on story of a poor person
In general, social conservatives reported lower sympathy scores than social liberals. Without reading the lesson on white privilege, social conservatives reported higher sympathy scores when the character was black. Reading a lesson on white privilege causes sympathy to rise for both black and white characters in the story of the poor man. Further, the difference in score is reduced.
Without a lesson, social liberals reported similar sympathy scores for both white and black characters. However, reading the lesson on white privilege causes the sympathy score to fall for the poor white man and rise for the black man, causing the difference to increase.
Thus, providing lessons on white privilege in an effort to help reduce implicit bias against poor blacks may unintentionally harm poor whites.
As prof. Cooley states in Vice, “My prior insensitivity to the experiences of poor white people might be just the type of attitude that contributes to an increasingly polarized US political climate—a climate that ultimately causes further harm to Black people too.”
Since the sympathy scores in this study are self-reported, they need to be treated with skepticism. Further, the reading and sympathy survey were administered immediately after the lesson on white privilege was given. It would be interesting to see if the effects are transient and how long lasting they are.
[Update1: I fixed some typos and a broken hyperlink.]
Pretty label undone by chemistry. Photo by George Taniwaki
by George Taniwaki
When it was new, the travel-size container of Gillette Series sensitive skin shaving cream was pretty. Rather than print directly on the can, they print the design on a sheet of plastic. It’s either polypropylene or polyester film, I am guessing. Printing on film provides a wider range of color options and allows for printing of finer details and at higher resolutions. That’s especially important if you have small text.
The film is transparent, so the design is printed in reverse and then the label wrapped around the can with the printed side on the inside. The plastic protects the label from scratches.
Seems like a clever design. One problem though. The ink on the label is soluble in one of the ingredients in the shaving cream, likely the triethanolamine. The shaving cream comes out as a gel and expands. If the gel gets under the label, it dissolves the ink and then oozes back out and onto your hands. The problem is worse if you get water on the container.
Another problem, why does sensitive skin shaving cream contain triethanolamine? I believe that ingredient can cause allergic contact dermatitis.
I dare you to press the test button. Photo by George Taniwaki
by George Taniwaki
In terminal S at the Seattle-Tacoma International Airport, they retrofitted all the old seats by adding outlets and USB ports. Very thoughtful!
The outlets are inPower Flex model 2. They are specifically designed for those black leather and chrome seats you see at the airport. They attach to the beam underneath the seat with a bracket. Each unit has two ground fault circuit interrupt (GFCI) protected, 3-prong polarized outlets and two high-current (2A) USB ports protected by the same GFCI.
GFCI outlets are required wherever there is a chance stray current could pass through your body, like in a wet area such as a bathroom, kitchen, or outdoors. A standard GFCI outlet has two buttons and an indicator light. A green light means the outlet is active. To check if the GFCI protector is working, you press a test button, which creates a short. The GFCI should shut off power to the outlet and the indicator light should glow red. To force the outlet back to the active state, you press a reset button. Simple right?
Not exactly. In a public setting, the facility owner is responsible for safety, even if the guest is doing something dangerous. The airport staff didn’t want passengers to electrocute themselves by bypassing the GFCI. So they removed the reset button. (See the hole in the middle of the outlet in the photo above.)
But they didn’t remove the test button. (See the white button at the top of the outlet in the photo above.) Of course, people press the test button, maybe accidentally, or out of curiosity to see what it does, or even maliciously. This disables the outlets and USB ports, making them useless. There is no way for a passenger to reset the outlets or the USB ports back to their active state after this happens.
My father, who died in 2017, was a self-taught expert in electronics troubleshooting and repair. As a teenager in Japan before World War 2, Michio Taniwaki started his own radio repair business. He returned to the US after the war and began his career just as the market for color television and home VCRs took off. He worked for well-known television distribution and sales companies in Denver such as Ward Terry and Co. and Valas TV and Appliance. He practiced his craft at a time when most consumer electronic devices were quite fickle. They contained vacuum tubes that burned out and required replacement and analog components that required frequent repair and adjustment.
As consumer electronics began to incorporate solid-state transistors, the repair market declined. Michio took his skills to the nascent computer industry. His first stop was NBI, Inc. a leading maker of standalone word processing machines, second only to Wang Laboratories. However, after the introduction of personal computers, especially the IBM PC, the market for word processing machines collapsed. NBI could not make the transition and closed.
A group of former NBI employees, including Michio, went on to create Outbound Systems, Inc. This company made laptop computers compatible with the Apple Macintosh. Apple licensed its Mac OS, but did not license the ROM BIOS chips needed to run the Mac OS. Thus, Outbound had to buy older Macs and cannibalize the ROM chips it needed from them to manufacture its devices. Eventually, Apple released its own line of laptops and notebooks and discontinued licensing of its operating system, causing Outbound Systems to close shop.
While cleaning out the garage and crawlspace at my mom’s house, I gathered up all the electronic test equipment my dad owned with the intent of selling it all on Craigslist. The pictures below show what I found along with some comments.
Analog test equipment
My father had a very nice collection of electronic test equipment. Most were made by RCA, formerly Radio Corporation of America. RCA was the leading producer of consumer electronics from the 1930s until the 1970s. They also made most of the test equipment used to maintain their products.
His most important tool was the oscilloscope which is used to display analog signals on a video monitor. His original scope failed a long time ago and is gone. I think it was made by EICO, not RCA. His latest scope was a Tektronix model (Fig 6) that he purchased from NBI after they closed.
Each RCA test device has a different function. But they were all designed to fit in the same steel case with leather carrying handle. The face of each device was an aluminum sheet with black engraving, a red RCA logo, and gray-blue knobs. The audio generator (Fig 1) has a easy-to-read aluminum dial engraved with the frequency. The marker generator (Fig 4) has a clever design that includes a paper scroll with various frequency ranges printed on it. The knob on the left advances the scroll up-and-down to select the range while knob on the right moves a pointer left-and-right to select a specific frequency within the range.
Sweep generators and marker generators were used to produce VHF and UHF signals to test television components and circuits. A sweep generator produces a range of frequencies within a band. A marker generator is used with a sweep generator and injects a high amplitude peak at a desired frequency inside the band. These signals are fed into the television circuit and compared to the output signal to confirm the circuit is working correctly. The input and output waveforms can be displayed using the oscilloscope.
My dad had several low and high voltage power supply units (Figs 9 to 12). He also had a makeshift 120V power supply made from a lamp cord with two alligator clips on the other end (Fig 13).
Figures 9 to 13. EICO 1050 battery eliminator and charger; RCA WP-700A power supply; Adjust-A-Volt (Standard Electrical Products) power supply; Unknown vendor high voltage power supply; Makeshift 120V power supply (aka, The most dangerous item in the house)
Cables and parts
Finally, every good craftsman has a junk cabinet. My father’s contained lots of cables, soldering guns, and spare parts. He also had an entire dresser filled with unopened boxes of RCA and Sylvania vacuum tubes of various sizes and types. There may have been over fifty total. Several years ago he (or more likely, my mother) tossed out the dresser and all the tubes. Too bad. Vacuum tube stereo amplifiers are now quite popular among audio aficionados and replacement vacuum tubes are now selling for $10 to $100 each on eBay.
Figures 14 to 17. Assorted audiovisual cables; Assorted soldering guns, desoldering pumps, and solder wicks; Assorted potentiometers, transformers, coils, and capacitors; Assorted resistors, varistors, transistors, switches, plugs, and light bulbs
[Update1: Added hyperlinks to references.]
[Update2: Not all the test equipment, tools, and parts were sold. Some were donated to History Colorado.]
[This entry was posted on 02 Aug 2019 and is backdated to keep it in chronological order.]
by George Taniwaki
On our trip to Rapid City (see Real Numeracy, Oct 2018), Sue and I saw notable geology and topography. Assuming you believe in evolution, the earth’s history can be seen written in land formations such as mountains, caves, and canyons. On the other hand, if you don’t believe in evolution, then there is no coherent explanation for what you see, it just is.
During our field trip around Rapid City we saw rocks with ages that span 2 billion years. There are not too many places on earth where you can see such a wide range of rock ages and types within a few miles of driving. (Denver, where I grew up is another such place. I didn’t realize how special it was until I moved away.)
Geologic map showing Devils Tower, Jewel Cave, Wind Cave, and Badlands. Image from Mira Costa College
Late Precambrian—Igneous inclusions at Black Hills
The earth consists of a molten ball of iron and other heavy metals called the core. A layer of molten silica and other lighter materials called the mantle floats on top of it. The very top layer is a thin shell, less than 100 km (60 miles) thick that has cooled off and is solid. This layer, called the crust, is all we can normally see.
Geologic time starts about 4.8 billion years ago, when the earth was still a molten mass and the crust had not yet formed. The timeline is divided into 5 eons. The eons are subdivided into 11 eras, then periods, then epochs, then ages.
The story of the Northern Plains starts at the Orosirian period, between 2,050 to 1,800 million years ago. During this period, hot magma rose to the surface and solidified into two igneous rocks, granite and pegmatite. Under heat and pressure, some of these rocks metamorphosed into gneiss (pronounced nice). These form the bedrock making up the Black Hills.
Remember though, we don’t know what the surface of this area looked like back then. It may have been underwater. It probably was not mountainous like it is today, otherwise the inclusions would have eroded away by now.
There are no rocks aged between 1,800 million years to 225 million years old visible in the area around the Black Hills. They all became buried or eroded away.
During the late Triassic through the Cretaceous period, 225 to 65 million years ago, the earth was warmer than now. Dinosaurs ruled the land. The continents began to drift apart and the middle part of what is now the North American continent was below sea level, part of an inland seaway. Salt water bacteria and invertebrate marine animals converted carbon dioxide into calcium carbonate. As they became buried under the sediment the shells became limestone, rich in fossils.
At the same time thin beds of mud, sand, and silt also built up creating layers of black shale, red sandstone, and red siltstone. These striped sedimentary rocks are visible at the base of the Black Hills.
During the Paleogene period, 65 to 23 million years ago, the earth began to cool. The dinosaurs became extinct and mammals of all sorts became the predominant land animals.
From the action of plate tectonics, the land to the west rose and the inland sea receded. Magma rising from the mantle circulated to the Earth’s crust forming inclusions and volcanoes. Nearby Devils Tower is a prominent example. The igneous rock is harder than the surrounding sedimentary formations that have eroded away, leaving a butte.
Also during the Paleogene period, after the extinction of dinosaurs, a wide variety of mammals lived in the northern plains. Many of the species are now extinct, including saber-toothed cats, rhinos, tapirs, and three-toed horses. Periodically, a volcano would erupt killing them suddenly. Their remains can be found in fossil beds that can be dated by measuring the ratio of isotopes in the layer of ash they are found in.
The ash and lava are harder than the underlying sandstone or limestone. Places where the lava eroded away, the water and wind carved out steep canyons, called badlands.
I’ve been to Badlands National Park as a child. Today, it looks pretty much the same, rugged but beautiful.
The Badlands in 1967 (first 2 photos by Michio Taniwaki) and today (composite panorama by George Taniwaki)
Cenozoic—Supervolcanoes at Yellowstone caldera
During the Neogene period, 23 to 2.5 million years ago, continued tectonic action caused the land to rise just west of Rapid City, ultimately to 2,000m (6,500 ft) above sea level, creating the Black Hills.
This was accompanied by significant volcanic activity in the Rocky Mountains. We didn’t visit Yellowstone National Park on this trip as it is 600 km (360 miles) away, but it is worth mentioning. As you travel west through Wyoming, the mountains get taller and the volcanoes larger. The largest volcano is Yellowstone, the caldera of a supervolcano that had its last supereruption very recently on the geologic timescale, about 630,000 years ago. In that event, it ejected 1000 km3 of rock, dust, and ash, or about 250 times as much debris as the 1980 Mt. St. Helens eruption. An earlier supereruption 2.1 million years ago is believed to have been 10 times larger than that.
Today, the Yellowstone volcano is quiet, but the area is teeming with geysers, hot springs, and mud pots.
As the glaciers advanced and receded over the past 2.5 million years, the current period called Quaternary, groundwater percolated through the limestone. The water reacted with the calcium carbonate, dissolving it and carrying it away, leaving hollow areas called karsts. Further erosion caused the karsts to grow larger and more numerous. Eventually they formed sinkholes on the surface and caves underground.
Mineral saturated water dripped from the ceilings of caves. Some of the carbonates precipitated out, leaving stalactites and stalagmites. (Simple mnemonic to remember which is which, stalactites hang tight to the “c”eiling, stalagmites are like mites on the “g”round.)
Back in the city, we drove along Skyline Drive, a winding road that leads out of the city. At the top of the hill is a large parking lot and gift shop. Across the road is a staircase that leads to Dinosaur Park. There are six life-size, but not realistically shaped, concrete dinosaur sculptures painted in garish green and white. The whole site was built in the 1930s as a WPA project. There are spectacular views of the city, and it’s free, so it is worth spending an hour to visit.
I have now completed all ten classes required to receive the Microsoft Data Science Certificate. As a newly minted data scientist, I am ready to dig into large datasets and make incredible (and if I am not careful, potentially unverifiable) predictions. A description of the four I took during the past two quarters is shown below. (For a list of the first six classes I took, see this Jul 2017 blog post.)
This class is a continuation of DAT204x. Topics covered include functions and data structures, loops and flow control, working with vectors and matrices, reading and writing data files, reading SQL databases, manipulating data (i.e., merging, subsetting, filtering, introduction to grep and text functions, using date and time functions, aggregating, grouping, and summarizing), simulation, linear models, and graphics.
The final exam for this course used the same DataCamp-based timed format as in DAT204x. I didn’t do well on that test, but felt confident going in this time because I was prepared for it. Unfortunately, I ended up failing the test because I could not answer the first question and then could not navigate past it. After spending over half an hour trying to resolve the issue and contacting tech support (which promised a reply within 24 hours but never responded), I gave up. How annoying. Luckily, it didn’t matter since I already had enough points to pass the class. If I was susceptible to test anxiety, this would have been a traumatic experience.
Time: 12 hours for 12 modules
Score: 100% on all exercises (not graded) and labs. Missed 1 quiz question because my instance of the ggplot2 library behaved differently than the one used in class. Got zero on the final exam (see above) for a combined score of 79%
Similar to my experience with DAT203.1x, I am really impressed with the power of MAML but a bit disappointed in the cookbook nature of the labs in the class.
The final exam was an assignment to create a prediction model for the number of minutes difference between the actual arrival time and the scheduled arrival time for commercial airline flights. The grade was based on quality of the predictions for 25 flights outside the training set. The final was graded with one point for each prediction that was within 10 minutes of the actual arrival time.
My model had a mean absolute error of about 8.5 (a bit high since the goal is to get within 10 minutes), but I got 22 out of 25 predictions within the allowed range (88%). I am guessing that with more engineering effort I could reduce my error size. For instance, I could have created a categorical variable for gate load that segmented flight arrivals into weekday morning (a busy time), weekday midday, weekday evening (also busy), weekend day, any night, and heavy traffic days before and after major holidays.
But I don’t think those improvements would help with the 3 cases that my model got wrong. They appear to be outliers that could not be predicted using the variables at hand. A better prediction would need to include variables that were not available in the dataset like weather at the arrival airport, airport construction status, and if any landing restrictions were in effect at the airport that day.
Time: 12 hours for 6 modules
Score: 100% on the 6 labs, 88% accuracy in final model, and 100% on 2 surveys, for a combined score of 95%
This is the tenth and final course needed to receive the Microsoft Data Science Certificate. The class lasts one month and consists of a machine learning contest and report. The project changes every quarter. For a description of the April contest, see the 3 part blog entry that starts June 2018.
Time: 10 hours for creating a machine learning model and writing the report
Score: Missed one question in the data analysis section (because the mean and standard deviation had to be reported to six decimal places and I only entered them to 2 decimals), scored 86% on my machine learning model, and 100% on my report graded by 3 class peers, for a final score of 91%
Final Certificate
And below is the Data Science Certificate, guid 9855e15f-fddd-41f6-8bd8-6e3c3b5d76ca.