{"id":47411,"date":"2026-11-25T22:08:32","date_gmt":"2026-11-25T22:08:32","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=47411"},"modified":"2026-11-25T22:08:32","modified_gmt":"2026-11-25T22:08:32","slug":"machine-learning-scikit-learn-lab-2","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/machine-learning-scikit-learn-lab-2\/","title":{"rendered":"Machine Learning \u2013 scikit-learn &#8211; Lab 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This lab explores the California Housing dataset with pandas, matplotlib and seaborn. It is the exploratory step you do before training a scikit-learn regression model. The notebook above loads the Kaggle CSV, checks its shape, drops rows with missing values, summarises the numeric columns and starts plotting relationships. Below you will find setup steps, an explanation of each output, the full set of plots, and a scikit-learn pipeline that turns the exploration into a baseline model.<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/devops-school\/5d4e14a52b0a8c3e5a4e189b685bd8e0.js\"><\/script>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Set up the environment and get the dataset<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The notebook reads <code>datasets\/housing.csv<\/code> from a folder next to the notebook, but it never shows how to get that file. Create an isolated Python environment, install the libraries, then download the CSV from Kaggle, either through the website or with the Kaggle CLI.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">python3 -m venv .venv\nsource .venv\/bin\/activate        <span class=\"hljs-comment\"># Windows: .venv\\Scripts\\activate<\/span>\npip install pandas matplotlib seaborn scikit-learn jupyterlab kaggle\n\n<span class=\"hljs-comment\"># Needs a Kaggle API token in ~\/.kaggle\/kaggle.json<\/span>\nmkdir -p datasets\nkaggle datasets download -d camnugent\/california-housing-prices -p datasets --unzip\nls datasets\n<span class=\"hljs-comment\"># housing.csv<\/span>\n\njupyter lab<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><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> If you can&#039;t use Kaggle, <code>sklearn.datasets.fetch_california_housing(as_frame=True)<\/code> downloads a related version of the dataset. It is <strong>not<\/strong> the same file: it has 8 engineered features (such as <code>AveRooms<\/code> and <code>AveOccup<\/code>), no <code>ocean_proximity<\/code> column and no missing values, and its target <code>MedHouseVal<\/code> is measured in units of $100,000. The code on this page assumes the Kaggle CSV.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What the columns mean<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Each row is one census block group in California, not one house. That explains why <code>total_rooms<\/code> and <code>population<\/code> take values in the thousands.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Column<\/th><th>Meaning<\/th><th>Things to watch<\/th><\/tr><\/thead><tbody><tr><td>longitude, latitude<\/td><td>Location of the block group<\/td><td>Strong geographic patterns near the coast<\/td><\/tr><tr><td>housing_median_age<\/td><td>Median age of houses<\/td><td>Capped at 52 (see the max in <code>describe()<\/code>)<\/td><\/tr><tr><td>total_rooms, total_bedrooms<\/td><td>Totals for the whole block group<\/td><td>Divide by households to get per-home values<\/td><\/tr><tr><td>population, households<\/td><td>People and households in the block<\/td><td>Heavily right-skewed<\/td><\/tr><tr><td>median_income<\/td><td>Median household income<\/td><td>Scaled: 3.87 means roughly $38,700; capped near 15<\/td><\/tr><tr><td>median_house_value<\/td><td>Target variable in USD<\/td><td>Capped at 500,001<\/td><\/tr><tr><td>ocean_proximity<\/td><td>Categorical location label<\/td><td>Text, so it must be encoded before modelling<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Reading the output of the steps above<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>housing_data.shape<\/code> returns <code>(20640, 10)<\/code>: 20,640 rows and 10 columns.<\/li>\n\n\n<li>After <code>dropna()<\/code> the shape is <code>(20433, 10)<\/code>, so 207 rows were removed. All of them are missing <code>total_bedrooms<\/code>. You can confirm this with <code>housing_data.isna().sum()<\/code> before dropping.<\/li>\n\n\n<li><code>describe()<\/code> lists only the 9 numeric columns. <code>ocean_proximity<\/code> is text, so it is left out. Use <code>housing_data.describe(include=&#039;object&#039;)<\/code> or <code>value_counts()<\/code> to summarise it.<\/li>\n\n\n<li>The <code>max<\/code> of <code>median_house_value<\/code> is exactly 500001 and <code>housing_median_age<\/code> tops out at 52. Both values were capped when the data was collected. A model can&#039;t learn anything above these limits, so decide whether to keep or remove those rows.<\/li>\n\n\n<li><code>total_rooms<\/code> has a mean of about 2,636 but a max of 39,320. Large gaps like this between the 75% quartile and the max point to outliers and skewed distributions.<\/li>\n\n\n<li><code>unique()<\/code> on <code>ocean_proximity<\/code> returns five categories. <code>ISLAND<\/code> covers only a handful of rows (five in the full file), which matters if you stratify or split by this column.<\/li>\n<\/ul>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"PHP\" data-shcb-language-slug=\"php\"><span><code class=\"hljs language-php\">housing_data.isna().sum()\nhousing_data&#91;<span class=\"hljs-string\">'ocean_proximity'<\/span>].value_counts()\n(housing_data&#91;<span class=\"hljs-string\">'median_house_value'<\/span>] &gt;= <span class=\"hljs-number\">500001<\/span>).sum()   <span class=\"hljs-comment\"># how many capped targets<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><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\">Visualizing relationships<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The notebook stops after its first plot of median house value. The cells below cover the views that matter most for this dataset. Run them after the cleaning cells above.<\/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\"><span class=\"hljs-comment\"># 1. Distribution of every numeric column<\/span>\nhousing_data.hist(bins=<span class=\"hljs-number\">50<\/span>, figsize=(<span class=\"hljs-number\">14<\/span>, <span class=\"hljs-number\">10<\/span>))\nplt.tight_layout()\nplt.show()\n\n<span class=\"hljs-comment\"># 2. Income vs house value: the strongest single predictor<\/span>\nfig, ax = plt.subplots(figsize=(<span class=\"hljs-number\">10<\/span>, <span class=\"hljs-number\">6<\/span>))\nsns.scatterplot(data=housing_data, x=<span class=\"hljs-string\">'median_income'<\/span>, y=<span class=\"hljs-string\">'median_house_value'<\/span>, alpha=<span class=\"hljs-number\">0.2<\/span>, ax=ax)\nax.set_xlabel(<span class=\"hljs-string\">'Median income (tens of thousands USD)'<\/span>)\nax.set_ylabel(<span class=\"hljs-string\">'Median house value'<\/span>)\nplt.show()\n\n<span class=\"hljs-comment\"># 3. House value by ocean proximity<\/span>\nplt.figure(figsize=(<span class=\"hljs-number\">10<\/span>, <span class=\"hljs-number\">6<\/span>))\nsns.boxplot(data=housing_data, x=<span class=\"hljs-string\">'ocean_proximity'<\/span>, y=<span class=\"hljs-string\">'median_house_value'<\/span>)\nplt.show()\n\n<span class=\"hljs-comment\"># 4. Geographic view: colour = value, size = population<\/span>\nhousing_data.plot(kind=<span class=\"hljs-string\">'scatter'<\/span>, x=<span class=\"hljs-string\">'longitude'<\/span>, y=<span class=\"hljs-string\">'latitude'<\/span>, alpha=<span class=\"hljs-number\">0.4<\/span>,\n                  s=housing_data&#91;<span class=\"hljs-string\">'population'<\/span>] \/ <span class=\"hljs-number\">100<\/span>, c=<span class=\"hljs-string\">'median_house_value'<\/span>,\n                  cmap=<span class=\"hljs-string\">'viridis'<\/span>, colorbar=<span class=\"hljs-keyword\">True<\/span>, figsize=(<span class=\"hljs-number\">10<\/span>, <span class=\"hljs-number\">7<\/span>))\nplt.show()\n\n<span class=\"hljs-comment\"># 5. Correlation heatmap (numeric columns only)<\/span>\ncorr = housing_data.corr(numeric_only=<span class=\"hljs-keyword\">True<\/span>)\nplt.figure(figsize=(<span class=\"hljs-number\">10<\/span>, <span class=\"hljs-number\">8<\/span>))\nsns.heatmap(corr, annot=<span class=\"hljs-keyword\">True<\/span>, fmt=<span class=\"hljs-string\">'.2f'<\/span>, cmap=<span class=\"hljs-string\">'coolwarm'<\/span>)\nplt.show()\n\ncorr&#91;<span class=\"hljs-string\">'median_house_value'<\/span>].sort_values(ascending=<span class=\"hljs-keyword\">False<\/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\">Things to look for in these plots:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A horizontal line of points at 500,001 in the income scatter plot. These are the capped values.<\/li>\n\n\n<li><code>INLAND<\/code> block groups sitting much lower in the boxplot than coastal ones.<\/li>\n\n\n<li>High-value clusters around the Bay Area and Los Angeles on the map.<\/li>\n\n\n<li><code>median_income<\/code> showing the highest correlation with the target in the heatmap.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Adding more useful features<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Totals per block group are hard to compare because blocks differ in size. Ratios usually tell you more about a typical home, and they often correlate better with the target than the raw totals do.<\/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\">housing_data&#91;<span class=\"hljs-string\">'rooms_per_household'<\/span>] = housing_data&#91;<span class=\"hljs-string\">'total_rooms'<\/span>] \/ housing_data&#91;<span class=\"hljs-string\">'households'<\/span>]\nhousing_data&#91;<span class=\"hljs-string\">'bedrooms_per_room'<\/span>] = housing_data&#91;<span class=\"hljs-string\">'total_bedrooms'<\/span>] \/ housing_data&#91;<span class=\"hljs-string\">'total_rooms'<\/span>]\nhousing_data&#91;<span class=\"hljs-string\">'population_per_household'<\/span>] = housing_data&#91;<span class=\"hljs-string\">'population'<\/span>] \/ housing_data&#91;<span class=\"hljs-string\">'households'<\/span>]\n\nhousing_data.corr(numeric_only=<span class=\"hljs-keyword\">True<\/span>)&#91;<span class=\"hljs-string\">'median_house_value'<\/span>].sort_values(ascending=<span class=\"hljs-keyword\">False<\/span>)<\/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\">From exploration to a scikit-learn baseline<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Exploration should tell you what preprocessing the model needs. For this dataset that means filling in missing bedrooms, scaling the numeric columns and one-hot encoding <code>ocean_proximity<\/code>. A <code>Pipeline<\/code> keeps those steps together, and because it is fitted only on the training split, test data can&#039;t leak into the preprocessing. This version imputes missing values instead of dropping rows, so it starts from the raw CSV.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">import<\/span> pandas <span class=\"hljs-keyword\">as<\/span> pd\n<span class=\"hljs-keyword\">from<\/span> sklearn.model_selection <span class=\"hljs-keyword\">import<\/span> train_test_split\n<span class=\"hljs-keyword\">from<\/span> sklearn.compose <span class=\"hljs-keyword\">import<\/span> ColumnTransformer\n<span class=\"hljs-keyword\">from<\/span> sklearn.pipeline <span class=\"hljs-keyword\">import<\/span> Pipeline\n<span class=\"hljs-keyword\">from<\/span> sklearn.impute <span class=\"hljs-keyword\">import<\/span> SimpleImputer\n<span class=\"hljs-keyword\">from<\/span> sklearn.preprocessing <span class=\"hljs-keyword\">import<\/span> OneHotEncoder, StandardScaler\n<span class=\"hljs-keyword\">from<\/span> sklearn.linear_model <span class=\"hljs-keyword\">import<\/span> LinearRegression\n<span class=\"hljs-keyword\">from<\/span> sklearn.metrics <span class=\"hljs-keyword\">import<\/span> mean_absolute_error, r2_score\n\ndf = pd.read_csv(<span class=\"hljs-string\">'datasets\/housing.csv'<\/span>)\nX = df.drop(columns=<span class=\"hljs-string\">'median_house_value'<\/span>)\ny = df&#91;<span class=\"hljs-string\">'median_house_value'<\/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\nnum_cols = X.select_dtypes(include=<span class=\"hljs-string\">'number'<\/span>).columns.tolist()\ncat_cols = &#91;<span class=\"hljs-string\">'ocean_proximity'<\/span>]\n\npreprocess = ColumnTransformer(&#91;\n    (<span class=\"hljs-string\">'num'<\/span>, Pipeline(&#91;\n        (<span class=\"hljs-string\">'impute'<\/span>, SimpleImputer(strategy=<span class=\"hljs-string\">'median'<\/span>)),\n        (<span class=\"hljs-string\">'scale'<\/span>, StandardScaler()),\n    ]), num_cols),\n    (<span class=\"hljs-string\">'cat'<\/span>, OneHotEncoder(handle_unknown=<span class=\"hljs-string\">'ignore'<\/span>), cat_cols),\n])\n\nmodel = Pipeline(&#91;(<span class=\"hljs-string\">'prep'<\/span>, preprocess), (<span class=\"hljs-string\">'reg'<\/span>, LinearRegression())])\nmodel.fit(X_train, y_train)\n\npred = model.predict(X_test)\nprint(<span class=\"hljs-string\">'MAE:'<\/span>, round(mean_absolute_error(y_test, pred)))\nprint(<span class=\"hljs-string\">'R2 :'<\/span>, round(r2_score(y_test, pred), <span class=\"hljs-number\">3<\/span>))<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><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\">A plain linear model leaves a large error on this data because the relationships are non-linear and the target is capped. Treat the scores as a baseline. To improve on it, swap <code>LinearRegression<\/code> for <code>RandomForestRegressor<\/code> or <code>HistGradientBoostingRegressor<\/code> and add the ratio features from the previous section.<\/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>FileNotFoundError: datasets\/housing.csv<\/code><\/td><td>The CSV isn&#039;t in a <code>datasets<\/code> folder next to the notebook<\/td><td>Download it as shown above, or pass an absolute path to <code>read_csv<\/code><\/td><\/tr><tr><td><code>ValueError: could not convert string to float: &#039;NEAR BAY&#039;<\/code> on <code>corr()<\/code><\/td><td>Recent pandas versions no longer skip text columns silently<\/td><td>Use <code>corr(numeric_only=True)<\/code><\/td><\/tr><tr><td>Same error when calling <code>model.fit<\/code><\/td><td><code>ocean_proximity<\/code> was passed to the model as raw text<\/td><td>Encode it with <code>OneHotEncoder<\/code> in a <code>ColumnTransformer<\/code><\/td><\/tr><tr><td><code>Input X contains NaN<\/code><\/td><td><code>total_bedrooms<\/code> has missing values<\/td><td>Use <code>SimpleImputer<\/code> or drop rows before fitting<\/td><\/tr><tr><td>No plot appears when running as a script<\/td><td>Outside Jupyter, figures aren&#039;t displayed automatically<\/td><td>Call <code>plt.show()<\/code> after each figure<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Corrections to the original notebook<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Run order:<\/strong> the execution counts jump around (24, 13\u201319, 51, 48), so the cells were run out of order. Use *Kernel \u2192 Restart and Run All* to check that the notebook works from top to bottom.<\/li>\n\n\n<li><strong>Missing download step:<\/strong> the notebook reads <code>datasets\/housing.csv<\/code> but never explains how to get it. Use the Kaggle download commands above.<\/li>\n\n\n<li><strong>Reproducibility:<\/strong> <code>housing_data.sample(5)<\/code> returns different rows on every run. Use <code>housing_data.sample(5, random_state=42)<\/code> to get the same output each time.<\/li>\n\n\n<li><strong>Silent data loss:<\/strong> <code>dropna()<\/code> removes 207 rows without showing which column caused it. Inspect <code>isna().sum()<\/code> first. For modelling, prefer imputation inside a pipeline so you keep every row.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Why does the California Housing dataset have missing values?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Kaggle CSV has 207 rows with an empty <code>total_bedrooms<\/code> value. The scikit-learn version from <code>fetch_california_housing<\/code> has no missing values because it uses different, pre-computed features.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why is median_house_value capped at 500,001?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Values above that level were capped when the data was collected, so the maximum shows up as exactly 500,001. Many tutorials remove these rows or flag them, because a model can&#039;t learn prices above the cap.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is the difference between the Kaggle and scikit-learn California Housing datasets?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Kaggle CSV has 10 raw columns, including totals and the text column <code>ocean_proximity<\/code>. The scikit-learn version has 8 per-household averages, no categorical column, and a target expressed in $100,000 units.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I use ocean_proximity in a scikit-learn model?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Encode it with <code>OneHotEncoder<\/code> inside a <code>ColumnTransformer<\/code>. This creates one binary column per category, and <code>handle_unknown=&#039;ignore&#039;<\/code> keeps prediction from failing when a category was missing from the training split.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Which feature best predicts house value in this dataset?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>median_income<\/code> has the strongest correlation with <code>median_house_value<\/code>. Location features, meaning latitude, longitude and ocean proximity, add a lot of extra predictive power.<\/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\/top-10-ai-pipeline-forecasting-with-ml-tools-features-pros-cons-comparison\/\">Top 10 AI Pipeline Forecasting with ML Tools: Features, Pros, Cons &amp; Comparison<\/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 explores the California Housing dataset with pandas, matplotlib and seaborn. It is the exploratory step you do before training a scikit-learn regression model. The notebook&#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":[26386],"class_list":["post-47411","post","type-post","status-publish","format-standard","hentry","category-machine-learning","tag-scikit-learn"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/47411","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=47411"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/47411\/revisions"}],"predecessor-version":[{"id":80255,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/47411\/revisions\/80255"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=47411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=47411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=47411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}