22 Eylül 2020 Salı

Approaches To Grieving (Ffvii Spoiler)

I have recently been replaying ffvii in preparation for the remake.

One feature I had failed to notice previously is the manner in which each of the party members react to the death of Aeris.

It is a really beautiful moment in which we see something of the depth of characterisation in the party members expressed as well as it could be given the playstation's graphical limitations.

Take a look at the video and see for yourself.



I particularly like Yuffi's scene which I think shows her offering some prayers for Aeris, she then tries to hold herself together before collapsing upon Cloud in tears. What I liked about this was 1) It disclosed her commitment to the religion of her ancestor's 'the dragon gods' of which we hear almost nothing about it the game, 2) it shows her deep affection and perhaps even crush towards Cloud (note how of all the dating scenes Yuffi is the only girl who actually chooses to kiss Cloud for herself) 3) It shows the softness of Yuffi and even the sensitivity underneath her tough exterior.

I could probably offer a similar analysis for each of the other characters in their specific manner of mourning the tragic death of Aeris, but I will leave you to do that.

What I will add is that the different reactions also parallel some of the common responses I often see towards death in my work as hospital chaplain. The game is pretty true to life in the different responses death can bring out in people. 

In fact I actually like Cait Sith's ultra weird response- for me this response is actually genuine and common, the person who tries to cheer up the situation in some way or is ridiculously jolly as their loved one is passing, but this is really just a mask for the underlying gnawing sense of grief. I think in Cait Sith's position that also is particularly appropriate given that his betrayal of the party can easily be seen as a cause in bringing about the death of Aeris through the handing over of the keystone... perhaps... I'm not so sure about that now, ... all the same laughter is often a cloak for tears deep down.

In this month of November, the month for remembering the Holy Souls in Purgatory it is salutary to call to mind the eternal truths- death, judgement, heaven and hell. Each one of us will die, each one of us will be judged... perhaps some will mourn our deaths for a little while, but then, ultimately we will all be forgotten. Our souls however will continue, either in heaven, or for the vast majority, in hell. 

Stay on the narrow road, in the One True Catholic Church and go to confession regularly.

21 Eylül 2020 Pazartesi

All You Need To Do Is Have Self-Compassion! And It's Rather Easy!

In training, the first thing we learned in therapy techniques was Carl Rogers' approach of unconditional positive regard for your clients. For me, he was the GOAT. Those who are suffering most likely haven't been given the love and nurturing they needed in childhood, adolescence, and even adulthood. 

Therefore, as therapists, you accept and support the person, without question. You accept the client, including their flaws, after all, everyone has weaknesses, no one is "perfect".

By giving unconditional positive regard, the client then begins to regard themselves more positively after being heard, accepted and supported, they begin to see that they're worthy. And, because they're worthy, they'll be more motivated to change - you take care of things that are valuable, which includes you!

For some reason, this message has been strangely forgotten after my training, because the concept of self-esteem was the fetish. To the point where we have clients write positive things about themselves to improve self-esteem. Esteem, meaning, that you value yourself for your positive qualities, and the more positive qualities, the better your self-esteem. 

Do you see the fatal flaw? When you start thinking of your negative traits, and we all have them as human beings, your self-esteem will fall. Also, what if one of the things you find positive about yourself is that you have beautiful skin, but as you age, it will "sag" and then your self-esteem will crumble. Or, that you're a kind person, but there are going to be times when you act unkindly (out of stress, we're all human), so that will also lower your self-esteem.

However, if you can accept yourself fully, warts and all, because you know that you're not perfect, and no one else is perfect, you begin to accept yourself, and in turn, accept others for not being perfect as well! Thus ending the deadly poison of self and other-criticism, that destroys creativity, inspiration, passion, productivity, and love.

Once you have self-compassion, you will be more motivated to act in more healthy ways such as exercising, not procrastinating, not being critical of others because you see that you're a valuable person. And if you're valuable, like all valuable things, you want to take care of yourself.

Here is the scientific breakdown for why self-compassion works, and why self-esteem doesn't:



How do you have self-compassion? The easiest exercise is to treat yourself as a best friend would treat you. You don't even have to be that mindful it's very obvious when you feel bad because they're such strong, obvious emotions:

Anger, stress, hatred, comparing yourself negatively to another person leading to jealousy and envy, criticizing yourself (which makes you feel down in the dumps), and so forth.

In this post, I will outline the steps with the best friend strat, and then give five very common scenarios when we tend to be really mean to ourselves, and show how you use this best friend approach.

BEST FRIEND APPROACH

Step One: As soon as you feel that sinking, negative gross feeling, stop and think about what you're upset about.

Step Two: Talk to yourself (internally or out loud) as if you're your own best friend, using this three step method:
  • Best friend will acknowledge the shittiness of how you feel and allow you to bitch and complain.
  • Next, best friend would say this shit happens to all of us, you're not alone, and of course you'd feel horrible, who wouldn't?
  • Lastly, how can we move forward and problem-solve?
EXAMPLES

Scenario One: You failed a test (or whatever project), you then begin to criticize yourself harshly and say that you're a complete loser and a fucking failure, you feel dejected and depressed. You feel like crap and crippled to do anything, which is the signal where you go into best friend mode:

As a best friend, he would tell you, that really sucks you got an F (or whatever failure), that's crushing and heart-breaking. He will say that we all fail, Edison failed millions of times, it never feels good but at least you tried and had the guts to show up and take that test (or do whatever project).

How can we do better to crush that test? And then come up with solutions in terms of studying "smarter" not "harder" (i.e. Gordon Greene's "Getting Straight A's"). You get excited and motivated so you order this used on Amazon.com and thank your best friend for support. Your friend says, "that's what friends are for!" You then get an A (at worst B+) on the next test.

Analysis: We see in this scenario how your friend acknowledged your feelings of suckiness when you got that big fat F.

He then universalized failure, that you're not the "only one" in the world who fails, so you're not the "sole loser outcast". Rather you're human just like everyone else.

Lastly, what can we do to change the outcome? Problem-solve and act upon the problem at hand!

Scenario Two: You're too tired to exercise yet again, even though exercising a mere 13 minutes, three times a week, can prevent major cardiovascular conditions that lead to death. 

You say to yourself that you're a lazy, pathetic, useless piece of shit who can't even do something as short as 13 minutes. You feel awful, which is the signal to go into best friend mode.

Best friend would say, no one likes to exercise, why do you think there are all these memes about hating exercise, and there's this viral cat video where the cat's so miserable to even move her left paw!

You're not lazy, you're human and like all the mammals in the world! ALL mammals are biologically wired to go the path of least resistance since calories are so scarce back then! Pampered pets tend to be overweight to obese, and inactive. The goal was to conserve the energy and hibernate in winter!

You feel better about yourself. Then he'll problem-solve and say, just go to the gym as the goal. If you don't want to exercise, then go back home. Most likely what happens is that you'll end up doing the 13 minutes, perhaps rounding up to 15 minutes or more.

Scenario 3: Your boyfriend dumped you, and you feel anger toward him. You also start feeling that you'll never find love again because you failed in this relationship. You tell yourself that you're unloveable, hideous, disgusting and trash. No one would love you ever again. You become depressed, which is signal to use the approach.

Your best friend might actually have a girl's weekend at your place to wallow in the sadness Friday night after work. She'll bring 12 different flavors of Ben and Jerry's, various chocolates, and order out pizza. You process the breakup and she tells you that everyone goes through breakups, it's a part of everyone's life - you're just like everyone in the world who's gotten rejected, I still love you. You feel better because of this truth. Then binge on Downton Abbey episodes.

But, on Sunday night, after you enjoyed the binge and wallow fest, your best friend tells you that you need to work on yourself and get healthy. She doesn't want to see you wallow in self-pity for months on end.

She tells you to go back to your life, go to work, take it one day at a time, socialize with your friends - you may meet eligible men. Feeling encouraged and supported, you begin to get over the break-up and taking healthy steps.

Scenario four: This is taken directly from my recent experience. You compare yourself negatively to another person. You begin to think why can't you be as fluent, as on point, as passionate, as humorous as Dr. Ramani:



Your friend notes that of course she's on point, she teaches this stuff every day to her students so she has to know the material like the back of her hand. For these interviews, she most likely prepared these answers in advance, and she has done so many, that it gets easier and easier!

I then feel better and interestingly, I felt gratitude (rather than feeling down on myself for "not measuring up") toward Dr. Ramani for helping people avoid getting involved with a narcissistic partner in the first place! Avoiding these people who destroy and crush others' souls (a malignant narcissist can conceivably kill his partner), literally saving lives.

Scenario five: You berate yourself for procrastinating yet again because you'd rather indulge yourself by playing video games. You call yourself pathetic, lazy and useless because you can't accomplish anything at all! 

How would you treat yourself with self-compassion? This is what I would tell myself, using the best friend approach:

I consciously tried self-compassion at work today which compelled me to write this post.

It was the first time where I felt light-hearted and a genuine joy, feeling full-hearted toward my coworkers without effort. I always feel the irritability when I'm at work, and use immense amount of energy to be pleasant to my coworkers since I like all my coworkers.

While they all say that I'm very easy to work with and non-intimidating, it takes up so much mental energy that I get drained at work. Which is why I end up playing video games after work. However today, having self-compassion, I have enough mental energy to write this post!

Despite being stressed today, interrupted every minute to sign, to make calls, and having to eat lunch in front of clients, I didn't feel mental fatigue, only physical fatigue. (The physical fatigue was my fault for not realizing I didn't have iron or synthroid in my weekly pill reminder box for the last 2 weeks, as well as untreated sleep apnea, and not exercising for being so tired).

At any rate, it was a wondrous feeling of being light and having this outpouring of love toward my coworkers (I do love them, I just don't feel it often due to work stressors), that I came up with rather creative solutions for a family, that surprised even myself!

The trap of doing any other exercises aside from self-compassion - activities such as keeping a gratitude journal, exercising regularly, and the like, is that if you don't do those things, you start feeling bad about yourself for being lazy, and you quit out of demoralization.

However, with self-compassion, you start feeling better. Even when you get down upon yourself for having a critical thought about yourself, you can snap out of it due to feeling the warning signs.

You may even laugh at yourself because of the irony. You're criticizing yourself for criticizing yourself! But by laughing at that, as your best friend would (perhaps even teasingly saying that you're a dork, but that makes you lovable), you can regain self-compassion.

Finally, as you accept yourself, flaws and all just like everyone else, you feel a sense of connection for others when you see them struggling, and end up having compassion towards them.

This feeling of love that you have to others make you feel even better and light - no jealousy, no bitterness, just a wonderful feeling of connection. We humans, as all the researchers say, are hard-wired for connection, and people tend to depression when you feel disconnected.

With self-compassion, as you feel better and find yourself worthy and worth doing all these hard things. You become more motivated to make healthy choices, do the gratitude exercises, eat healthy, get enough sleep, eat fruits and vegetables, just from self-compassion alone. 

The love you feel inwards and outwards becomes effortless, love being the powerful force, empowering you to do the hard, necessary things that are fulfilling to you.

The How of Happiness Review

12 Eylül 2020 Cumartesi

Welcome To My Process (Part 2)


Hello again!  We continue on the path of adventure writing.  If you're confused, start here.

The beauty, and perhaps frustration, is that there's no right answer as to where we go next.  So many things may be clamoring for our attention.  You just have to pick something and move forward in that direction.

Personally, I wanted to get a better handle on the look and feel of the dungeon. What is it?  Where is it?  Why is it?  That sort of thing.

This is going to be some kind of extra-planar temple between dimensions.  Therefore, it needs to have a special appearance.  In my opinion, standard square and rectangular rooms separated by corridors just won't do.

Since this will relate to the scenario Dead God Excavation, why not the interior of a deceased Old One?  I started sketching out the shell of a rather amorphous creature with tentacles.  Eventually, I'll send this out to a professional cartographer as a reference so he knows the kind of thing I'm after.  And one day, I hope, my original drawing inspiring the final version will be worth thousands of dollars in 20+ years.  That means keep your originals!

I'm not the best cartographer, but there are literally dozens of useful map drawing tutorials all over the internet.  Or just study the map makers you love.  I've picked up a few tricks from my friend and former collaborator Glynn Seal of MonkeyBlood Design.

As I drew, I tried to think of a few adventure details.  Such as, what was this particular dead god called?  And how does any of what I'm drawing relate to the title which was my last piece of the puzzle? 

In fact, that's a good way of looking at my process.  I'm just putting puzzle pieces together until I have a whole.  It's difficult at first, with so many blank spots needing to be filled in.  It gets easier as the puzzle nears completion.

As you can see from the picture, the Old One is (or was) named Tsuma'al.  That word Tsuma'al was just something I came up with.  The root may have come from Tsalal from Thomas Ligotti's weird short stories.

So, is Tsuma'al just a dead shell and nothing more... still alive but asleep, waiting to rise?  I'll have to think about it.  At the end of the day, whatever makes the adventure more fun and interesting is the right answer.

The darker bits are obstructions, perhaps fossilized organs or skeletal fragments that haven't disintegrated yet.  The last bits I added were zoth pools and streams that PCs will have to cross or wade through. 

What is zoth?  It's the blood of Great Old Ones.  Zoth is a glowing chartreuse ichor that enhances sorcery, magic items, and can be used as alchemist's fire.  It's powerful, but also hazardous to the touch. Yes, the Cha'alt connection grows...

Next, I'll probably detail what kind of encounters this dungeon will contain, what's currently going on in this weird planar temple and how will the PCs' involvement introduce complications.  I shall let ideas from the title, Slime Green Concubines of the Blood-Splattered Queen, percolate.

Stay tuned for part 3 either tomorrow or the next day!

VS

Tech Book Face Off: Data Smart Vs. Python Machine Learning

After reading a few books on data science and a little bit about machine learning, I felt it was time to round out my studies in these subjects with a couple more books. I was hoping to get some more exposure to implementing different machine learning algorithms as well as diving deeper into how to effectively use the different Python tools for machine learning, and these two books seemed to fit the bill. The first book with the upside-down face, Data Smart: Using Data Science to Transform Data Into Insight by John W. Foreman, looked like it would fulfill the former goal and do it all in Excel, oddly enough. The second book with the right side-up face, Python Machine Learning: Machine Learning and Deep Learning with Python, scikit-learn, and TensorFlow by Sebastian Raschka and Vahid Mirjalili, promised to address the second goal. Let's see how these two books complement each other and move the reader toward a better understanding of machine learning.

Data Smart front coverVS.Python Machine Learning front cover

Data Smart

I must admit; I was somewhat hesitant to get this book. I was worried that presenting everything in Excel would be a bit too simple to really learn much about data science, but I needn't have been concerned. This book was an excellent read for multiple reasons, not least of which is that Foreman is a highly entertaining writer. His witty quips about everything from middle school dances to Target predicting teen pregnancies were a great motivator to keep me reading along, and more than once I caught myself chuckling out loud at an unexpectedly absurd reference.

It was refreshing to read a book about data science that didn't take itself seriously and added a bit of levity to an otherwise dry (interesting, but dry) subject. Even though it was lighthearted, the book was not a joke. It had an intensity to the material that was surprising given the medium through which it was presented. Spreadsheets turned out to be a great way to show how these algorithms are built up, and you can look through the columns and rows to see how each step of each calculation is performed. Conditional formatting helps guide understanding by highlighting outliers and important contrasts in the rows of data. Excel may not be the best choice for crunching hundreds of thousands of entries in an industrial-scale model, but for learning how those models actually work, I'm convinced that it was a worthy choice.

The book starts out with a little introduction that describes what you got yourself into and justifies the choice of Excel for those of us that were a bit leery. The first chapter gives a quick tour of the important parts of Excel that are going to be used throughout the book—a skim-worthy chapter. The first real chapter jumps into explaining how to build up a k-means cluster model for the highly critical task of grouping people on a middle school dance floor. Like most of the rest of the chapters, this one starts out easy, but ramps up the difficulty so that by the end we're clustering subscribers for email marketing with a dozen or so dimensions to the data.

Chapter 3 switches gears from an unsupervised to a supervised learning model with naïve Bayes for classifying tweets about Mandrill the product vs. the animal vs. the Mega Man X character. Here we can see how irreverent, but on-point Foreman is with his explanations:
Because naïve Bayes is often called "idiot's Bayes." As you'll see, you get to make lots of sloppy, idiotic assumptions about your data, and it still works! It's like the splatter-paint of AI models, and because it's so simple and easy to implement (it can be done in 50 lines of code), companies use it all the time for simple classification jobs.
Every chapter is like this and better. You never know what Foreman's going to say next, but you quickly expect it to be entertaining. Case in point, the next chapter is on optimization modeling using an example of, what else, commercial-scale orange juice mixing. It's just wild; you can't make this stuff up. Well, Foreman can make it up, it seems. The examples weren't just whimsical and funny, they were solid examples that built up throughout the chapter to show multiple levels of complexity for each model. I was constantly impressed with the instructional value of these examples, and how working through them really helped in understanding what to look for to improve the model and how to make it work.

After optimization came another dive into cluster analysis, but this time using network graphs to analyze wholesale wine purchasing data. This model was new to me, and a fascinating way to use graphs to figure out closely related nodes. The next chapter moved on to regression, both linear and non-linear varieties, and this happens to be the Target-pregnancy example. It was super interesting to see how to conform the purchasing data to a linear model and then run the regression on it to analyze the data. Foreman also had some good advice tucked away in this chapter on data vs. models:
You get more bang for your buck spending your time on selecting good data and features than models. For example, in the problem I outlined in this chapter, you'd be better served testing out possible new features like "customer ceased to buy lunch meat for fear of listeriosis" and making sure your training data was perfect than you would be testing out a neural net on your old training data.

Why? Because the phrase "garbage in, garbage out" has never been more applicable to any field than AI. No AI model is a miracle worker; it can't take terrible data and magically know how to use that data. So do your AI model a favor and give it the best and most creative features you can find.
As I've learned in the other data science books, so much of data analysis is about cleaning and munging the data. Running the model(s) doesn't take much time at all.
We're into chapter 7 now with ensemble models. This technique takes a bunch of simple, crappy models and improves their performance by putting them to a vote. The same pregnancy data was used from the last chapter, but with this different modeling approach, it's a new example. The next chapter introduces forecasting models by attempting to forecast sales for a new business in sword-smithing. This example was exceptionally good at showing the build-up from a simple exponential smoothing model to a trend-corrected model and then to a seasonally-corrected cyclic model all for forecasting sword sales.

The next chapter was on detecting outliers. In this case, the outliers were exceptionally good or exceptionally bad call center employees even though the bad employees didn't fall below any individual firing thresholds on their performance ratings. It was another excellent example to cap off a whole series of very well thought out and well executed examples. There was one more chapter on how to do some of these models in R, but I skipped it. I'm not interested in R, since I would just use Python, and this chapter seemed out of place with all the spreadsheet work in the rest of the book.

What else can I say? This book was awesome. Every example of every model was deep, involved, and appropriate for learning the ins and outs of that particular model. The writing was funny and engaging, and it was clear that Foreman put a ton of thought and energy into this book. I highly recommend it to anyone wanting to learn the inner workings of some of the standard data science models.

Python Machine Learning

This is a fairly long book, certainly longer than most books I've read recently, and a pretty thorough and detailed introduction to machine learning with Python. It's a melding of a couple other good books I've read, containing quite a few machine learning algorithms that are built up from scratch in Python a la Data Science from Scratch, and showing how to use the same algorithms with scikit-learn and TensorFlow a la the Python Data Science Handbook. The text is methodical and deliberate, describing each algorithm clearly and carefully, and giving precise explanations for how each algorithm is designed and what their trade-offs and shortcomings are.

As long as you're comfortable with linear algebraic notation, this book is a straightforward read. It's not exactly easy, but it never takes off into the stratosphere with the difficulty level. The authors also assume you already know Python, so they don't waste any time on the language, instead packing the book completely full of machine learning stuff. The shorter first chapter still does the introductory tour of what machine learning is and how to install the correct Python environment and libraries that will be used in the rest of the book. The next chapter kicks us off with our first algorithm, showing how to implement a perceptron classifier as a mathematical model, as Python code, and then using scikit-learn. This basic sequence is followed for most of the algorithms in the book, and it works well to smooth out the reader's understanding of each one. Model performance characteristics, training insights, and decisions about when to use the model are highlighted throughout the chapter.

Chapter 3 delves deeper into perceptrons by looking at different decision functions that can be used for the output of the perceptron model, and how they could be used for more things beyond just labeling each input with a specific class as described here:
In fact, there are many applications where we are not only interested in the predicted class labels, but where the estimation of the class-membership probability is particularly useful (the output of the sigmoid function prior to applying the threshold function). Logistic regression is used in weather forecasting, for example, not only to predict if it will rain on a particular day but also to report the chance of rain. Similarly, logistic regression can be used to predict the chance that a patient has a particular disease given certain symptoms, which is why logistic regression enjoys great popularity in the field of medicine.
The sigmoid function is a fundamental tool in machine learning, and it comes up again and again in the book. Midway through the chapter, they introduce three new algorithms: support vector machines (SVM), decision trees, and K-nearest neighbors. This is the first chapter where we see an odd organization of topics. It seems like the first part of the chapter really belonged with chapter 2, but including it here instead probably balanced chapter length better. Chapter length was quite even throughout the book, and there were several cases like this where topics were spliced and diced between chapters. It didn't hurt the flow much on a complete read-through, but it would likely make going back and finding things more difficult.

The next chapter switches gears and looks at how to generate good training sets with data preprocessing, and how to train a model effectively without overfitting using regularization. Regularization is a way to systematically penalize the model for assigning large weights that would lead to memorizing the training data during training. Another way to avoid overfitting is to use ensemble learning with a model like random forests, which are introduced in this chapter as well. The following chapter looks at how to do dimensionality reduction, both unsupervised with principal component analysis (PCA) and supervised with linear discriminant analysis (LDA).

Chapter 6 comes back to how to train your dragon…I mean model…by tuning the hyperparameters of the model. The hyperparameters are just the settings of the model, like what its decision function is or how fast its learning rate is. It's important during this tuning that you don't pick hyperparameters that are just best at identifying the test set, as the authors explain:
A better way of using the holdout method for model selection is to separate the data into three parts: a training set, a validation set, and a test set. The training set is used to fit the different models, and the performance on the validation set is then used for the model selection. The advantage of having a test set that the model hasn't seen before during the training and model selection steps is that we can obtain a less biased estimate of its ability to generalize to new data.
It seems odd that a separate test set isn't enough, but it's true. Training a machine isn't as simple as it looks. Anyway, the next chapter circles back to ensemble learning with a more detailed look at bagging and boosting. (Machine learning has such creative names for things, doesn't it?) I'll leave the explanations to the book and get on with the review, so the next chapter works through an extended example application to do sentiment analysis of IMDb movie reviews. It's kind of a neat trick, and it uses everything we've learned so far together in one model instead of piecemeal with little stub examples. Chapter 9 continues the example with a little web application for submitting new reviews to the model we trained in the previous chapter. The trained model will predict whether the submitted review is positive or negative. This chapter felt a bit out of place, but it was fine for showing how to use a model in a (semi-)real application.

Chapter 10 covers regression analysis in more depth with single and multiple linear and nonlinear regression. Some of this stuff has been seen in previous chapters, and indeed, the cross-referencing starts to get a bit annoying at this point. Every single time a topic comes up that's covered somewhere else, it gets a reference with the full section name attached. I'm not sure how I feel about this in general. It's nice to be reminded of things that you've read about hundreds of pages back and I've read books that are more confusing for not having done enough of this linking, but it does get tedious when the immediately preceding sections are referenced repeatedly. The next chapter is similar with a deeper look at unsupervised clustering algorithms. The new k-means algorithm is introduced, but it's compared against algorithms covered in chapter 3. This chapter also covers how we can decide if the number of clusters chosen is appropriate for the data, something that's not so easy for high-dimensional data.

Now that we're two-thirds of the way through the book, we come to the elephant in the machine learning room, the multilayer artificial neural network. These networks are built up from perceptrons with various activation functions:
However, logistic activation functions can be problematic if we have highly negative input since the output of the sigmoid function would be close to zero in this case. If the sigmoid function returns output that are close to zero, the neural network would learn very slowly and it becomes more likely that it gets trapped in the local minima during training. This is why people often prefer a hyperbolic tangent as an activation function in hidden layers.
And they're trained with various types of back-propagation. Chapter 12 shows how to implement neural networks from scratch, and chapter 13 shows how to do it with TensorFlow, where the network can end up running on the graphics card supercomputer inside your PC. Since TensorFlow is a complex beast, chapter 14 gets into the nitty gritty details of what all the pieces of code do for implementation of the handwritten digit identifier we saw in the last chapter. This is all very cool stuff, and after learning a bit about how to do the CUDA programming that's behind this library with CUDA by Example, I have a decent appreciation for what Google has done with making it as flexible, performant, and user-friendly as they can. It's not simple by any means, but it's as complex as it needs to be. Probably.

The last two chapters look at two more types of neural networks: the deep convolutional neural network (CNN) and the recurrent neural network (RNN). The CNN does the same hand-written digit classification as before, but of course does it better. The RNN is a network that's used for sequential and time-series data, and in this case, it was used in two examples. The first example was another implementation of the sentiment analyzer for IMDb movie reviews, and it ended up performing similarly to the regression classifier that we used back in chapter 8. The second example was for how to train an RNN with Shakespeare's Hamlet to generate similar text. It sounds cool, but frankly, it was pretty disappointing for the last example of the most complicated network in a machine learning book. It generated mostly garbage and was just a let-down at the end of the book.

Even though this book had a few issues, like tedious code duplication and explanations in places, the annoying cross-referencing, and the out-of-place chapter 9, it was a solid book on machine learning. I got a ton out of going through the implementations of each of the machine learning algorithms, and wherever the topics started to stray into more in-depth material, the authors provided references to the papers and textbooks that contained the necessary details. Python Machine Learning is a solid introductory text on the fundamental machine learning algorithms, both in how they work mathematically how they're implemented in Python, and how to use them with scikit-learn and TensorFlow.


Of these two books, Data Smart is a definite-read if you're at all interested in data science. It does a great job of showing how the basic data analysis algorithms work using the surprisingly effect method of laying out all of the calculations in spreadsheets, and doing it with good humor. Python Machine Learning is also worth a look if you want to delve into machine learning models, see how they would be implemented in Python, and learn how to use those same models effectively with scikit-learn and TensorFlow. It may not be the best book on the topic, but it's a solid entry and covers quite a lot of material thoroughly. I was happy with how it rounded out my knowledge of machine learning.

4 Eylül 2020 Cuma

Welcome To My Process (Part 4)


Thanks for coming back.  I hope you're enjoying this little adventure writing workshop blog series.  If you're not sure where to start, it's here.

If we delved any deeper into the backstory of Slime Green Concubines of the Blood-Spattered Queen, we'd be in danger of authoring fan-fiction rather than an adventure.  In case it wasn't obvious, I'm an old school type of fellow who eschews long-winded history and exhaustive backstory.  Let's get to the action, already!

On that note, I'm going to start outlining the rooms of our 9-room dungeon...

Room #1 (Entrance & Guardian): The PCs find their way into Tsuma'al.  Since this temple is outside their plane of existence, I assume they'll just appear in a certain spot (possibly a random spot)... most likely the lower-right tentacle/foot thing.

Far too early to introduce the concubines and queen directly, though seeds should be sown.

Maybe some kind of twisted flesh spawn that's been tortured by Tresillda?  Such a creature could be a warning, but decides not to warn the Queen if the PCs seem formidable enough to slay her.  If the PCs seem weak or ineffectual, the creature would probably warn her in order to avoid further bouts of torture.

Room #2 (Puzzle or Roleplaying Challenge): Hmm, maybe several priests rest, awaiting their use by Tresillda and her wizard, Xa'algex.  The Queen has been searching for the relic she needs to resurrect Tsuma'al.  She needs willing priests to sacrifice their willpower and sanity in order to teleport the relic through time and space.

Room #3 (Empty Room): It doesn't look like there's anything here, but the PCs can see green slime oozing down the scabrous walls of this place.  Touching it yields one or more rolls on a custom random table.

Perhaps some other clue to what's going on should be embedded in this area.  No idea what at this point, though.

Room #4 (Trick or Setback): By now, the PCs may be thinking that everyone around Queen Tresillda hates her and wishes her dead.  However, her put-upon servants went mad long ago and believe she's the chosen one - the only person who can awaken the Great Old Ones (or at least Tsuma'al).

Perhaps the PCs encounter Xa'algex himself in his arcane study.  He acts sympathetic, but then turns the tables on the PCs when they're vulnerable.

Room #5 (Trap): I'll come back to that one.

Room #6... for right now, I think I'm just going to convey the ideas I have for each room without labeling them.  Too much artifice may constrict the organic creative flow I'm after.  I do like to have a framework in place, but I also dislike being forced to follow rules.  In my humble opinion, that push/pull is useful to an adventure writer and helps propel me hitherto heights undreamt. 

The concubines covered in green slime should be an encounter.  They'll both convey information and be a menace to defeat or avoid.

There's the Queen, too, of course.  She'll have the relic by the time the PCs find her (unless they really drag their feet) - maybe include some kind of time-table to add pressure on the PCs.  Maybe her sorcerer Xa'algex reappears if he was destroyed in a previous encounter... in a ghoulish undead sort of way, to fight by her side?

And I like the idea of there being a buildup of magical force that needs to be put somewhere, a byproduct of the sorcery the Queen and Xa'algex are using to obtain the relic.  It would be like extra-dimensional toxic waste.  Is this the green slime that's mutating the concubines?  Where does the zoth come in?

I do like the idea of a post-climax room that's reward, revelation, or plot twist... the Queen probably has something valuable besides the relic.  If the relic can awaken Tsuma'al or another Great Old One, then Tresillda's own personal magic item could be...

I've no idea and my brain is tired.  I'll have part 5 ready in a day or two, so check back!

VS