Achievements in progress
========================
Stay away for 7 days – 1 day
Starter diet – 1 day
Starting strong – 1 day
Grasshopper –
- A study in ugly tessellations by James Martini
A little more work on that map generator while dinner was cooking and now I have a hideous Voronoi tessellation of what was intended to be tectonic plates. I’m clearly going to have to rethink how I’m selecting the plate “centers” because I’m not getting the effect I want. Next up, Lloyd’s relaxation.
- NOT THE BEEEES!!! by James Martini
So after a couple weeks of futzing around with voronoi tessellations, locating implementations, rewriting chunks of those implementations to fit my needs, not being happy with the results, ripping it all out and starting over etc I decided I’d stick with what I Know and use a radial hex map. One cup of coffee, about[…]
- It moved by James Martini
It’s been a long week so I only have the basic WASD controller set up with a proper state machine. Now I can run around the featureless checkerboard plain with a few amenities like walking around a featureless checkerboard plain autorunning around a featureless checkerboard plain autowalking around a featureless checkerboard plain I’ll add jumping[…]
- Back in the Saddle Again by James Martini
I spend a lot of time tinkering with various software projects, going at problems the wrong way, and generally making stupid decisions that a professional or more formally trained person would cringe to look at. Herein begins my cautionary tale as I learn painful lessons the hard way so you, dear reader, don’t have to.[…]
- Precepts… Five, no ei… by James Martini
Coming away from the first class on the Bodhisattva Precepts at Buddha Eye Temple I have the following to roll around in my head for a while. The Bodhisattva Precepts used in the Soto Zen tradition encompass and expand on the ethics / sila encompassed in the Noble Eightfold Path. The sixteen Bodhisattva Precepts include[…]
- Call me Sisyphus by James Martini
I don’t know why I continue to use Windows. Every single god damned thing feels like pushing a giant rock up a hill. I’ll admit that the fact that I’ve been doing most of my work on Linux for the past twenty years inclines me to use the linux idiom for getting things done and[…]
- Cheating Irises by James Martini
HAL8999 7/100 I was sick yesterday but did spend some time looking over some “cheat sheets” that people had put together for various machine learning topics. Some were good, some were just stupid (I’m looking at you Machine Learning in Emoji). Also went through a very simply classifier based on the iris data set.
12345678910111213141516171819202122from sklearn import neighbors, datasets, preprocessingfrom sklearn.model_selection import train_test_splitfrom sklearn.metrics import accuracy_score# load the data into training and test setsiris = datasets.load_iris()X, y = iris.data[:, :2], iris.targetX_train, X_test, y_train, y_test = train_test_split(X, y, random_state=13)# scale the datascaler = preprocessing.StandardScaler()scaler.fit(X_train)X_train = scaler.transform(X_train)X_test = scaler.transform(X_test)# train a k-nearest neighbors modelknn = neighbors.KNeighborsClassifier(n_neighbors = 5)knn.fit(X_train, y_train)# Test the modely_pred = knn.predict(X_test)print(accuracy_score(y_test, y_pred))[…]
- Transformers, more than mee… by James Martini
HAL8999 6/100 Watched the “Learn how to Learn” Google talk on youtube Updated the jupyter notebooks for handson-ml from github and read through the Ch2 notebook to address the CategoricalEncoder issue from yesterday Looked at a basic transformer Part of building a data pipeline is likely to include the creation of custom transformer classes to[…]
- from handson-ml import BrokeAsFuck by James Martini
HAL8999 – 5/100 Today while going back through the Hands On Machine Learning book Ch2 I learned that the CategoricalEncoder referenced in the section on handling categorical attributes still isn’t in scikit-learn. I checked the reqirements.txt which shows scikit-learn=0.19.1. Checking my virtualenv, I should be good.
1234$ grep scikit-learn handson-ml/requirements.txtscikit-learn==0.19.1$ pip freeze |grep scikit-learnscikit-learn==0.19.2Turns out that the CategoricalEncoder isn’t going to[…]
- Long days, no blog post by James Martini
HAL8999 – [3,4]/100 Chapter 2 of Hands on ML continues Creation of test sets Stratified sampling sklearn’s StratifiedShuffleSplit Visualizing data with matplotlib Coorelation coefficients Getting a good train-test split Since you can’t train a model and just expect it to work well right out of the box it’s standard practice to split off about 20%[…]
- Journal ( 62)Recent Posts
- A study in ugly tessellations by James Martini
- NOT THE BEEEES!!! by James Martini
- Call me Sisyphus by James Martini
- Cheating Irises by James Martini
- Transformers, more than mee… by James Martini
- Buddhism ( 20)Recent Posts
- Precepts… Five, no ei… by James Martini
- Three Jewels and Taking Refuge by James Martini
- Buddhism: It’s really… by James Martini
- Bad Buddhist by James Martini
- Okay so the Buddha, the Pop… by James Martini
- Life ( 19)Recent Posts
- First world problems by James Martini
- The Universe Plots Against … by James Martini
- Bad Buddhist by James Martini
- Achievement Unlocked: The T… by James Martini
- This Blog Sucks by James Martini
- Family ( 18)Recent Posts
- Three years of silence by James Martini
- There’s never a can o… by James Martini
- Ten seconds, twenty years ago by James Martini
- Persistence of memory by James Martini
- It’s Like Deja Vu All… by James Martini
- Taekwondo ( 11)Recent Posts
- Still hurt by James Martini
- 10 weeks until the Fayettev… by James Martini
- Belt test results – S… by James Martini
- Spending time with an old bag by James Martini
- TKD Belt Testing – Bu… by James Martini
- Gaming ( 11)Recent Posts
- It moved by James Martini
- Back in the Saddle Again by James Martini
- Player stats and min/maxing by James Martini
- Doctor Praetorius flies again by James Martini
- Not quite Dora the Explorer by James Martini
- Machine Learning ( 8)Recent Posts
- Cheating Irises by James Martini
- Transformers, more than mee… by James Martini
- from handson-ml import BrokeAsFuck by James Martini
- Long days, no blog post by James Martini
- One of these things is not … by James Martini
- Halloween ( 5)Recent Posts
- Halloween 2011 status by James Martini
- The Things That Just Pop In… by James Martini
- Bugs by James Martini
- A Haunting I Will Go… by James Martini
- Autumn by James Martini
- Fitness ( 5)Recent Posts
- The Itis by James Martini
- Achievement Unlocked! by James Martini
- Project July by James Martini
- Square 1 by James Martini
- I believe in taking care of myself by James Martini
- Game Design ( 3)Recent Posts
- It moved by James Martini
- Back in the Saddle Again by James Martini
- Player stats and min/maxing by James Martini
- [...]