{"id":47533,"date":"2026-11-24T22:04:56","date_gmt":"2026-11-24T22:04:56","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=47533"},"modified":"2026-11-24T22:04:56","modified_gmt":"2026-11-24T22:04:56","slug":"tensorsflow-lab7-tensorsflow-sequentialmodel","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/tensorsflow-lab7-tensorsflow-sequentialmodel\/","title":{"rendered":"Tensorsflow Lab7 &#8211; Tensorsflow SequentialModel"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This lab uses the WHO life expectancy dataset to build a regression model with the TensorFlow Keras <code>Sequential<\/code> API. The notebook above covers loading the data, inspecting it and filling missing values. The sections below fix the data-cleaning code, then add the remaining steps: encoding and scaling the features, defining and training the Sequential model, evaluating it with R\u00b2, and saving it.<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/devops-school\/7cce492675859ab9458d30fcd202701b.js\"><\/script>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">What this lab builds<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The goal is to predict <code>Life expectancy<\/code> (a continuous value in years) from 19 health and economic indicators per country and year. That makes this a <strong>regression<\/strong> problem. A Keras <code>Sequential<\/code> model fits well here: it is a plain stack of layers where each layer has one input and one output, and that is all a tabular regressor needs.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Stage<\/th><th>What happens<\/th><th>Tooling<\/th><\/tr><\/thead><tbody><tr><td>Load and inspect<\/td><td>Read the CSV, check shape, dtypes and null counts<\/td><td>pandas<\/td><\/tr><tr><td>Clean<\/td><td>Fill gaps with each country&#039;s mean, drop rows still missing values<\/td><td>pandas<\/td><\/tr><tr><td>Prepare<\/td><td>Drop <code>Country<\/code>, encode <code>Status<\/code>, split into train and test sets, scale<\/td><td>scikit-learn<\/td><\/tr><tr><td>Model<\/td><td>Stack <code>Dense<\/code> layers in <code>keras.Sequential<\/code><\/td><td>TensorFlow \/ Keras<\/td><\/tr><tr><td>Train<\/td><td>Fit with a validation split, early stopping and TensorBoard<\/td><td>Keras callbacks<\/td><\/tr><tr><td>Evaluate<\/td><td>Compare predictions with the test set using MAE and R\u00b2<\/td><td>scikit-learn<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites and setup<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Use Python 3 in a virtual environment. Install the libraries that the notebook imports:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">python3 -m venv tf-lab\nsource tf-lab\/bin\/activate\npip install --upgrade pip\npip install tensorflow pandas numpy scikit-learn matplotlib seaborn jupyter\npython -c <span class=\"hljs-string\">\"import tensorflow as tf; print(tf.__version__)\"<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Download the Kaggle dataset <code>kumarajarshi\/life-expectancy-who<\/code>. The CSV in that download is usually named <code>Life Expectancy Data.csv<\/code>, but the notebook reads <code>datasets\/life_expectancy.csv<\/code>, so rename the file to match:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">mkdir -p datasets\nmv <span class=\"hljs-string\">\"Life Expectancy Data.csv\"<\/span> datasets\/life_expectancy.csv<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h2 class=\"wp-block-heading\">Corrected data cleaning<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The cleaning code above has three problems. Several column names in the CSV have stray spaces (<code>&#039;Life expectancy &#039;<\/code>, <code>&#039; BMI &#039;<\/code>, <code>&#039;Diphtheria &#039;<\/code>, <code>&#039; HIV\/AIDS&#039;<\/code>), so the code has to copy those spaces exactly. <code>Schooling<\/code> has 163 nulls but is missing from <code>na_cols<\/code>, so all of those rows are later thrown away by <code>dropna()<\/code>. And the target column is filled with averages, which means the model partly learns from made-up labels. The version below strips the column names, fills every feature in one vectorised <code>groupby<\/code>, and drops rows with no target instead of imputing it.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">data = pd.read_csv(<span class=\"hljs-string\">'datasets\/life_expectancy.csv'<\/span>)\n\n<span class=\"hljs-comment\"># Remove leading\/trailing spaces and collapse double spaces in column names<\/span>\ndata.columns = data.columns.str.strip().str.replace(r<span class=\"hljs-string\">'\\s+'<\/span>, <span class=\"hljs-string\">' '<\/span>, regex=<span class=\"hljs-keyword\">True<\/span>)\n\nTARGET = <span class=\"hljs-string\">'Life expectancy'<\/span>\n\n<span class=\"hljs-comment\"># Never impute the label: drop rows where it is missing<\/span>\ndata = data.dropna(subset=&#91;TARGET])\n\n<span class=\"hljs-comment\"># Fill numeric features with the mean of the same country<\/span>\nfeature_cols = &#91;c <span class=\"hljs-keyword\">for<\/span> c in data.select_dtypes(<span class=\"hljs-string\">'number'<\/span>).columns <span class=\"hljs-keyword\">if<\/span> c != TARGET]\ndata&#91;feature_cols] = (\n    data.groupby(<span class=\"hljs-string\">'Country'<\/span>)&#91;feature_cols]\n        .transform(lambda s: s.fillna(s.mean()))\n)\n\n<span class=\"hljs-comment\"># Countries with no value at all for a column still have NaN; drop those rows<\/span>\ndata = data.dropna()\n<span class=\"hljs-keyword\">print<\/span>(data.shape)\n<span class=\"hljs-keyword\">print<\/span>(data.isna().sum().sum())   <span class=\"hljs-comment\"># should print 0<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> Because <code>Schooling<\/code> is now imputed too, you will usually keep more rows than the <code>(2128, 22)<\/code> shown above. The exact count depends on which countries have no data at all for a column.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Preparing features for the network<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Neural networks only accept numbers, and they train best when inputs are on similar scales. <code>Country<\/code> is an identifier with 133 values, so drop it. <code>Status<\/code> has only two values, so map it to 0 or 1. Split the data before scaling, and fit the scaler on the training set only. If the scaler sees the test set, statistics from that set leak into training.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">from sklearn.model_selection import train_test_split\n\ndf = data.drop(columns=&#91;<span class=\"hljs-string\">'Country'<\/span>])\ndf&#91;<span class=\"hljs-string\">'Status'<\/span>] = (df&#91;<span class=\"hljs-string\">'Status'<\/span>] == <span class=\"hljs-string\">'Developed'<\/span>).astype(int)\n\nX = df.drop(columns=&#91;TARGET]).values.astype(<span class=\"hljs-string\">'float32'<\/span>)\ny = df&#91;TARGET].values.astype(<span class=\"hljs-string\">'float32'<\/span>)\n\nX_train, X_test, y_train, y_test = train_test_split(\n    X, y, test_size=<span class=\"hljs-number\">0.2<\/span>, random_state=<span class=\"hljs-number\">42<\/span>)\n\nscaler = StandardScaler()\nX_train_s = scaler.fit_transform(X_train)   <span class=\"hljs-comment\"># fit on train only<\/span>\nX_test_s = scaler.transform(X_test)         <span class=\"hljs-comment\"># reuse train statistics<\/span>\n\n<span class=\"hljs-keyword\">print<\/span>(X_train_s.shape, X_test_s.shape)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h2 class=\"wp-block-heading\">Defining the Sequential model<\/h2>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">tf.random.set_seed(<span class=\"hljs-number\">42<\/span>)\n\nmodel = keras.Sequential(&#91;\n    layers.Input(shape=(X_train_s.shape&#91;<span class=\"hljs-number\">1<\/span>],)),\n    layers.Dense(<span class=\"hljs-number\">64<\/span>, activation=<span class=\"hljs-string\">'relu'<\/span>),\n    layers.Dense(<span class=\"hljs-number\">32<\/span>, activation=<span class=\"hljs-string\">'relu'<\/span>),\n    layers.Dense(<span class=\"hljs-number\">1<\/span>)                      <span class=\"hljs-comment\"># linear output for regression<\/span>\n], name=<span class=\"hljs-string\">'life_expectancy_regressor'<\/span>)\n\nmodel.compile(\n    optimizer=keras.optimizers.Adam(learning_rate=<span class=\"hljs-number\">1e-3<\/span>),\n    loss=<span class=\"hljs-string\">'mse'<\/span>,\n    metrics=&#91;<span class=\"hljs-string\">'mae'<\/span>]\n)\n\nmodel.summary()<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<ul class=\"wp-block-list\">\n<li><code>layers.Input(shape=(n_features,))<\/code> declares the input size, which lets Keras build the model and print <code>summary()<\/code> straight away. Current Keras prefers this to passing <code>input_shape<\/code> to the first <code>Dense<\/code> layer.<\/li>\n\n\n<li><code>Dense(..., activation=&#039;relu&#039;)<\/code> hidden layers let the model learn non-linear relationships, for example how HIV\/AIDS rates and schooling interact.<\/li>\n\n\n<li><code>Dense(1)<\/code> has no activation, so it can output any real number. A sigmoid or softmax here would be wrong for regression.<\/li>\n\n\n<li><code>loss=&#039;mse&#039;<\/code> is the standard regression loss. <code>mae<\/code> is reported alongside it because it reads directly in years.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Training and evaluating<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>os<\/code> and <code>datetime<\/code> imports above are there to build a timestamped TensorBoard log directory. Early stopping watches the validation loss, stops training once it stops improving, and restores the best weights.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">log_dir = os.path.join(<span class=\"hljs-string\">'logs'<\/span>, datetime.datetime.now().strftime(<span class=\"hljs-string\">'%Y%m%d-%H%M%S'<\/span>))\n\ncallbacks = &#91;\n    keras.callbacks.EarlyStopping(monitor=<span class=\"hljs-string\">'val_loss'<\/span>, patience=<span class=\"hljs-number\">15<\/span>,\n                                  restore_best_weights=<span class=\"hljs-keyword\">True<\/span>),\n    keras.callbacks.TensorBoard(log_dir=log_dir)\n]\n\nhistory = model.fit(\n    X_train_s, y_train,\n    validation_split=<span class=\"hljs-number\">0.2<\/span>,\n    epochs=<span class=\"hljs-number\">300<\/span>,\n    batch_size=<span class=\"hljs-number\">32<\/span>,\n    callbacks=callbacks,\n    verbose=<span class=\"hljs-number\">0<\/span>\n)\n\n<span class=\"hljs-keyword\">print<\/span>(<span class=\"hljs-string\">'Epochs run:'<\/span>, len(history.history&#91;<span class=\"hljs-string\">'loss'<\/span>]))\n\ntest_mse, test_mae = model.evaluate(X_test_s, y_test, verbose=<span class=\"hljs-number\">0<\/span>)\ny_pred = model.predict(X_test_s, verbose=<span class=\"hljs-number\">0<\/span>).flatten()\n<span class=\"hljs-keyword\">print<\/span>(f<span class=\"hljs-string\">'Test MAE: {test_mae:.2f} years'<\/span>)\n<span class=\"hljs-keyword\">print<\/span>(f<span class=\"hljs-string\">'Test R2 : {r2_score(y_test, y_pred):.3f}'<\/span>)\n\nplt.plot(history.history&#91;<span class=\"hljs-string\">'loss'<\/span>], label=<span class=\"hljs-string\">'train'<\/span>)\nplt.plot(history.history&#91;<span class=\"hljs-string\">'val_loss'<\/span>], label=<span class=\"hljs-string\">'validation'<\/span>)\nplt.xlabel(<span class=\"hljs-string\">'Epoch'<\/span>); plt.ylabel(<span class=\"hljs-string\">'MSE'<\/span>); plt.legend(); plt.show()<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\">An R\u00b2 close to 1 means the model explains most of the variance in life expectancy, and 0 means it does no better than always predicting the mean. If the validation curve flattens or rises while the training curve keeps falling, the model is overfitting. Early stopping already limits this, and a <code>layers.Dropout(0.2)<\/code> between the hidden layers is another common fix. To view the logs, run <code>tensorboard --logdir logs<\/code> and open the URL it prints.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Saving and reusing the model<\/h2>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-7\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">import joblib\n\nmodel.save(<span class=\"hljs-string\">'life_expectancy.keras'<\/span>)          <span class=\"hljs-comment\"># native Keras format<\/span>\njoblib.dump(scaler, <span class=\"hljs-string\">'scaler.joblib'<\/span>)         <span class=\"hljs-comment\"># the scaler is part of the model<\/span>\n\nloaded = keras.models.load_model(<span class=\"hljs-string\">'life_expectancy.keras'<\/span>)\nscaler = joblib.load(<span class=\"hljs-string\">'scaler.joblib'<\/span>)\n<span class=\"hljs-keyword\">print<\/span>(loaded.predict(scaler.transform(X_test&#91;:<span class=\"hljs-number\">3<\/span>]), verbose=<span class=\"hljs-number\">0<\/span>).flatten(), y_test&#91;:<span class=\"hljs-number\">3<\/span>])<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-7\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">PHP<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">php<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> Recent Keras releases require an explicit <code>.keras<\/code> or <code>.h5<\/code> extension in <code>model.save()<\/code>. Always save the fitted scaler with the model. Predictions on unscaled input are meaningless.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common errors and fixes<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Error<\/th><th>Cause<\/th><th>Fix<\/th><\/tr><\/thead><tbody><tr><td><code>KeyError: &#039;Life expectancy&#039;<\/code><\/td><td>The real column name has a trailing space<\/td><td>Strip the column names with <code>data.columns.str.strip()<\/code><\/td><\/tr><tr><td><code>FileNotFoundError: datasets\/life_expectancy.csv<\/code><\/td><td>The Kaggle file has a different name or is in another folder<\/td><td>Rename the file or change the path in <code>read_csv<\/code><\/td><\/tr><tr><td><code>ValueError: could not convert string to float: &#039;Developing&#039;<\/code><\/td><td>Text columns were passed to the model<\/td><td>Drop <code>Country<\/code> and encode <code>Status<\/code> as 0 or 1<\/td><\/tr><tr><td>Loss shows <code>nan<\/code><\/td><td>NaNs are left in the data, or the features are unscaled<\/td><td>Check that <code>isna().sum().sum()<\/code> is 0 and apply <code>StandardScaler<\/code><\/td><\/tr><tr><td>Very high MSE that barely drops<\/td><td>The learning rate is too low or the features are unscaled<\/td><td>Scale the inputs and try <code>learning_rate=1e-3<\/code> or <code>3e-3<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">When should I use the Keras Sequential API instead of the Functional API?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use Sequential when the model is a single linear stack of layers with one input and one output, like this regressor. Switch to the Functional API if you need multiple inputs or outputs, shared layers or skip connections.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why does the output layer have no activation function?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Regression targets such as life expectancy can be any real number. A linear output of <code>Dense(1)<\/code> with no activation is not restricted to a range, while sigmoid or softmax would squash predictions into 0 to 1.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why scale features before training a neural network?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Features like GDP and Population are orders of magnitude larger than BMI or HIV\/AIDS rates. Without scaling, gradient descent converges slowly or unstably. <code>StandardScaler<\/code> gives every feature a mean of zero and a variance of one.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Should I fit StandardScaler before or after train_test_split?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">After. Fit it on the training data only, then apply the same scaler to the test data. Otherwise test-set statistics leak into training and the evaluation looks better than it really is.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How many epochs should I train for?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Set a generous upper limit and let the <code>EarlyStopping<\/code> callback stop training once validation loss stops improving. With <code>restore_best_weights=True<\/code>, you keep the best weights rather than the ones from the last epoch.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related tutorials<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/category\/artificial-intelligence\/machine-learning\/\">More Machine Learning tutorials<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/staff-mlops-engineer-role-blueprint-responsibilities-skills-kpis-and-career-path\/\">Staff MLOps Engineer: Role Blueprint, Responsibilities, Skills, KPIs, and Career Path<\/a><\/li>\n\n\n<li><a href=\"https:\/\/www.devopsschool.com\/blog\/lead-machine-learning-engineer-role-blueprint-responsibilities-skills-kpis-and-career-path\/\">Lead Machine Learning Engineer: Role Blueprint, Responsibilities, Skills, KPIs, and Career Path<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This lab uses the WHO life expectancy dataset to build a regression model with the TensorFlow Keras Sequential API. The notebook above covers loading the data, inspecting&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[6512],"tags":[7380],"class_list":["post-47533","post","type-post","status-publish","format-standard","hentry","category-machine-learning","tag-tensorflow"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/47533","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=47533"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/47533\/revisions"}],"predecessor-version":[{"id":80205,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/47533\/revisions\/80205"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=47533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=47533"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=47533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}