Monday, March 08, 2010
Sunday, March 07, 2010
Science Sunday: Algorithms That Know You Better Than You Know Yourself

It is not unreasonable to say that algorithms, in some respects, rule our lives.At their most basic, algorithms are instructions for solving a problem using a finite sequence of instructions. They are commonplace in calculating and data processing, but where they touch our lives with increasing frequency is when we, for example, buy a book from Amazon.com or order a DVD from Netflix.
I do not offer those two examples randomly. I have been buying stuff from Amazon ranging from used paperbacks to televisions practically since the online merchant's inception in 1995. The algorithms that Amazon has used to recommend merchandise that might interest me based on merchandise that I have previously purchased
once seemed pretty whip smart to me, but over the years has seemed increasingly mundane and much to presumptive for a difficult-to-pigeonhole consumer like me.
Netflix is a different kettle of fish and some, if by no means all, of its recommendations are surprisingly interesting.
Which is not surprising because Netflix is seen as the industry leader in pushing the boundaries of algorithms, which is to say that just because I liked When Harry Met Sally doesn't necessarily mean that Iwould like other movies that explore whether two friends can sleep together and still love each other in the morning.
In fact, I found When Harry Met Sally, let alone the entire genre, to be less than memorable, but the latest iteration of Netflix' recommendation algorithm is fascinating.
According to an article by Casey Johnson in Ars Technica, the new algorithm has increased Netflix' recommendation accuracy by 10 percent because of the diversity and not the uniformityof its recommendations. This begins to overcome an inherent handicap in such recommendation systems -- that the field of interest for users is narrowed the more the system is used.
Netflix' improved system is based on research that found the most interesting recommendations originatefrom "weak ties" in a system; that is, between customers that are somewhat similar but disparate enough that they can introduce novelty to each other.
To widen the potential field of customer interest, researchers developed a hybrid of two algorithms.
"One combined an algorithm that based its recommendations on random walks between highly connected users and material; the other mirrored the process of heat diffusion, spreading ratings at a decreasing level of potency as the recommendation had to travel further. The heat diffusion algorithm can be thought of as a system that has users connected in a network with the
objects they have interacted with and evaluated, and values are passed among the items in this network to develop ratings.
"The head diffusion model uses values of 1 or 0 for the material to be recommended -- either a user liked something or he didn't -- and takes an average of the total resources a user had assigned to an object to give the user a value. For example, if a user liked two things and disliked two others, the value assigned to the user would be one-half.
"The algorithm then averaged these values for any users connected to an object, and this became the object's value in the system (for example, if two users were attached to an object and one had a value of one-half and the other had zero, the new value assigned to the object would be one quarter)."
All of this can be done using a small set of data,
meaning the heat diffusion algorithm can make diverse yet relevant recommendations based on sparse data in one pass.
The upshot is that by combining the heat diffusion approach with the safer and more accurate random walk, researchers found that they could create a body of recommendations that combined novelty items and safer, more accurate recommendations.
The ultimate recommendation? Maybe something like The Godfather Likes It Hot or It's a Wonderful Psycho. Or how about The Sound of Pulp Fiction?
Saturday, March 06, 2010
Review: 'The Star Machine,' Making A Product That Couldn't Even Be Defined

(Republished in conjunction with the 82nd annual Academy
Awards ceremony tomorrow night.)
There is a marvelous scene in the 1956 hit High Society that distills the greatness of Frank Sinatra and Bing Crosby not as terrific singers, which they of course were, but as consummate movie stars.
It is their rendition of Cole Porter's swingingly whimsical "Did Ya Evah," which as film historian Jeanine Basinger writes, required Frankie and Der Bingles to sing, dance, hit their marks, not mangle the lyrics, deliver the scripted dialogue, stay within their characters, act slightly drunk, keep the beat of the orchestra playback, move around a tight set following a specific choreography and all the while appearing to be utterly at ease while never forgetting that they were rivals for the audience's affection.
This marvelous description of star power comes early in Basinger's The Star Machine, a thoroughly researched and delightfully written layer cake of a book about a business that Hollywood couldn't even define but almost always succeeded in through a combination of astute planning, brilliant marketing, understanding its audience better than the audience understood itself, as well as sheer dumb luck.
Basinger deftly and wittily elucidates the steps in making a star:
* The actor's name would be changed.
"There could be no believable glamor in an Irmagard Gluck or Percy Flutterman," she writes. "If by some lucky chance, your name was deemed 'bankable,' you could keep it. . . . Most potential stars, however, had to undergo the name change. This was imperative if your physical image and your name were at odds. For instance, strongman 'Duke' Wayne's name was the unacceptable Marion Michael Morrison. The tall and exotic beauty Cyd Charisse had the comedy handle of Tula Finklea. Cary Grant was Archibald Leach -- no elegant man of your dream there -- and Robert Taylor, a pretty man always striving to seem more masculine, carried the original name of Spangler Arlington Bruch -- a name that would not work on a marquee, or with his image."
* A fake biography would be created.
"The best part of the studio bio was that it could eliminate anything boring or unsavory about a star's past. It could also exaggerate small things, turning an actor who'd won a meaningless medal at a local swimming meet into a 'celebrated swimming champion.' Fathers who were plumbers became engineers or architects, and two years in reform school could be recast as 'continuing his education.' . . . The studio bio was all in a game, a storytelling game, a shrewd tool that helped suggest to fans how to see the star. Only what seemed right was used; the rest was thrown out."
* Photographs would be taken.
"No one became a star without posing for silly holiday promotions. In looking through old studio publicity shots, it's one thing to see Marilyn Monroe sitting on an exploding firecracker or Esther Williams on a diving board in a bathing suit, but quite another to come across Loretta Young dressed up as an Easter bunny, her ears all a-flop, her eyes a-twitter as she offers a gigantic Easter egg, or Susan Hayward, who later became an Oscar-winning actress, 'riding' a phallic Fourth of July rocket in shorts and high heels, a leering grin on her face. Even Greta Garbo had to pose with a lion (the MGM logo)."
* Planted stories and interviews would appear in fan magazines.
"My favorite plants are the whimsical ones that would run in the movie magazines' gossip columns just to get the name in print. For instance . . . George Brent left the Abbey Players in Dublin to become a secret agent in the Irish Republican Army. Olivia de Havilland could perfectly imitate a dog's bark, and frequently did so just to startle people (a no doubt successful maneuver). Ginger Rogers slept on her stomach and wouldn't be caught dead at a bridge table. Hedy Lamarr consulted the stars before making any decisions, and Errol Flynn 'likes pretty girls and they like him.' (That one, obviously, was true.)"
* The actor would (gasp!) learn to act.
"This was accomplished largely by working the star to death. . . . Casting Clark Gable in seventeen movies in a little over two years reveals the efficiency of the Hollywood factory. While Gable was being 'fixed up' by the studio, sold out on the streets, publicized by studio flacks, written about and photographed and shown off, he was also working at his craft, learning his trade. Since the old system could turn out a great many movies in a single year, Gable could be filming all day, six days a week, mastering the business of movie stardom. For him, the idea of 'movie star' was thus not a mystery. It was his job."
* After learning to act, the actor would be typecast.
"The final step was the one that put the name above the title and could even lead to legendary status: It was typecasting. If the star's special type hadn't already been locked firmly in place by the buildup, or if nature hadn't decreed it in the first place through exotic beauty (Hedy Lamarr) or specialized talent (Eleanor Powell), it had to happen now. Every top-of-the-line movie star had to find a type that he or she could play over and over. And over. That would keep the movies rolling and the money flowing in. The star had to become 'bankable,' which meant the star had to become a recognizable shelf product."
The star machine was never a secret and Hollywood wasn't concerned that stars were manufactured. In fact, the studios let audiences in on the mysteries of the star machine and even made movies about it.
So why didn't the star machine, predominant for nearly three decades, survive the 1950s?
Because manufacturing stars was no longer a priority and making blockbuster hits became one.
Explains Basinger:
"The 'star' of a movie can be special effects, a big-name director, or controversial subject matter.
" . . . Pundits are now claiming that the time of the star has passed. Even people inside the film business are predicting the 'starless' movie of the future. Does that mean Tom Cruise will be the last of the red-hot movie star? It's doubtful. Probably all that will change, besides their salaries, is who they are, what they play in, and how the public wants to see them.
My only quibbles with The Star Machine are small: Basinger is overly found of italics for emphasis such as in the paragraph above, and her penchant for copious and distracting footnoting. I eventually read right past the italics and just ignored the footnotes because the rest of this book is a delight.
Cartoon du Jour
One of the small joys of my childhood was thumbing through the New Yorker each week to see the latest creepy but funny cartoon by the inestimable Charles Addams, who is the subject of a new show at the Museum of the City of New York.
Addams, for you younguns, drew the recurring characters who became known as The Addams family practically from the beginning of his career in the early 1930s. They, of course, became the basis for two live-action television series, two cartoon series, three motion pictures, and a play that opens next week on Broadway.
Friday, March 05, 2010
Thursday, March 04, 2010
The Repugnance Of The Traitorous Cheneys & Patriotism Of John Adams

I suppose that I'm being less than an advertisement for myself in not being able to add much to the current Liz and Dick Cheney bloviations to the effect that terrorism suspects have no right to attorneys, let alone attorneys who became Departmentof Justice appointees, although the Founding Father believe and the their nation's courts have repeatedly ruled that they do.
So about all I can add is that Ms. Cheney and her war-criminal father display a profound contempt for the American criminal-justice system, let alone the wisdom of the Founding Fathers. Oh, and the fawning relationship between the mainstream media a woman who is unqualified to talk about much beyond her stickybeak is sickening.
Ms. Cheney's personal howitzer is a group called Keep America Safe, which has relentlessly attacked President Obama for being a War onTerror weakling in the face of an extraordinary series of successful apprehensions and drone attacks involving key Taliban and Al Qaeda operatives, most recently yet another senior Taliban commander.
The problem, apparently, is that Obama refuses to use the bellicose rhetoric employed by her father and other mouthpieces affiliated with a president administration that was notably unsuccessful in taking out anyone of consequence while raising torture to an art form and prosecuting an immoral war in Iraq, and has had to resort to an extraordinarily vile TV ad campaign in which those DOJ appointees are called "The Al Qaeda Nine."Whether the War on Terror will ever be "won" is an open question. But there is no question that repeatedly doing what is equivalent to yelling "fire" in a crowded theater is traitorous.
Oh, and that sound you hear is John Adams spinning in his grave. Yes, the John Adams who defended British soldiers who were Boston Massacre murder suspects because no other lawyer in Boston would do so.
Wednesday, March 03, 2010
Toyota Continues To Take It On The Chin
Is taking advantage of Toyota's self-inflicted recall woes "predatory," as rival Honda puts it? Nah. All is fair in love, war and the automotive marketplace, and if the auto giant's teeth are getting kicked in a little further because of gains made last month by General Motors, Ford, Hyundai and other automakers who rewarded buyers trading in Toyotas, that is theprice of behaving badly.
And evidence continues to mount that Toyota, which has recalled 6 million cars in the U.S. alone, behaved very badly.
A New York Times analysis of government documents shows that many Toyota Camrys built before 2007, which were not subject to recalls, have been linked to a comparable number of speed-control problems as the recalled Camrys.In fact, the newspaper found that Toyota, which leapfrogged General Motors to become the leading automaker because of a reputation for dull but reliable cars, had more crash complaints than any other automaker.
With February sales numbers trickling in, Ford was the biggest beneficiary of Toyota's ills, reporting a 43 percent sales increase. It beat out General Motors to become the U.S.'s top-selling automaker for the month by a mere 471 units. Toyota's sales were down 9 percent.
Other automakers have not been immune to recalls.
G.M. issued one of its own this week, saying it needed to replace a motor in the power-steering systems of 1.3 million Chevy Cobalt and Pontiac G5 compact cars, but the new recall is unlikely to hurt the automaker the way Toyota has been tarnished because the cars can be safely controlled and the problem has not resulted in any serious injuries or deaths.
Tuesday, March 02, 2010
He Pickled Their Brains, Zombies Ate 'Em

No, I don't.
Still, it comes as no surprise that an awful lot of people apparently do miss Dubya, so much so that a couple of right wingnut organizations are launching a petition campaign. The stated goal is to get a million people to sign two letters, one stating that they miss the 43rd president and another demanding that the 44th president stop blaming him for the country's problems. The unstated goal is to sell a bunch of t-shirts and other "Miss Me Yet?" paraphernalia.
Now Americans have notoriously short memories, so they perhaps can be forgiven for forgetting (try saying that three times fast) that what Dubya promised and what he delivered could not be more different nor more toxic.
Monday, March 01, 2010
Book Review: 'Equal Rites' As An Entrée To Terry Pratchett's 'Discworld' Series

I came belatedly to Terry Pratchett's Discworld series, very belatedly considering that this marvelous fantasy book series kicked off with The Colour of Magic in 1983 and is now up to 37 volumes. I have read a mere half dozen of them -- all in the last few weeks as an escape from my usual weightier fare and a world that seems to be stuck on bummer.
For the few folks out there who are not familiar with Discworld, it is a flat world balanced on the backs of four elephants that in turn stand on the back of an immenseturtle, Great A'Tuin. The books are thinly veiled parodies of the works of J.R.R. Tolkein and H.P. Lovecraft, among others, and frequently satirize cultural and political issues.
Which brings me to Equal Rites (1987), the third Discworld book and to date my fave because of a lovely lyricism and powerful put down of the sexism that pervades fantasy fiction where wizards and such are almost invariably men and the magic they do is different and very awesomer than the magic done by women.
"The fantasy world, in fact, is overdue for a visit from the Equal Opportunities people," Pratchett has said, "because in the fantasy world magic done by women is usually of poor quality, third-rate, negative stuff, while the wizards are usually cerebral, clever, powerful, and wise."
Does this make Equal Rites a feminist book? I dunno, but Pratchett eviscerates the all-men-all-the-time mantra of most fantasy book authors (Ursula K.LeGuin being a conspicuous exception) with a good humor that chip-on-shoulder feminists certainly could learn from.
The plot of Equal Rites is simple:
A wizard knows that he will soon die and travels to a mountain village where an eighth son of an eighth son is about to be born, signifying that the child is destined to become a wizard. The aged man passes his staff of power on to his successor assuming in his own chauvinistic way that the successor is a male before it is discovered that she is . . . eek! a girl, one Eskarina Smith.
Now girls just aren't wizards, but Esk is already launched in that direction and it falls to the village witch, Granny Weatherwax, to make sure she gains the knowledge needed to properly manage her awesome powers.
No plot spoilers here, but I can safely declare that Gandalf should move over because here's a wizard we can all love.


































