{"id":35310,"date":"2024-11-01T09:37:48","date_gmt":"2024-11-01T09:37:48","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=35310"},"modified":"2024-11-01T11:15:02","modified_gmt":"2024-11-01T11:15:02","slug":"machine-learning-and-deep-learning-algorithm-trading-stochastic-gradient-descent-sgd-using-sklearn","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/35310\/","title":{"rendered":"Machine Learning and Deep Learning Algorithm Trading, Stochastic Gradient Descent (SGD) using sklearn"},"content":{"rendered":"<p><body><\/p>\n<p>In today&#8217;s financial markets, data-driven algorithmic trading is widely used. Consequently, techniques such as machine learning and deep learning are increasingly being adopted in investment strategies, particularly stochastic gradient descent (SGD), which has gained significant attention due to its efficiency and rapid convergence. In this course, we will begin with the basic concepts of machine learning and deep learning algorithmic trading, and then delve into how to utilize SGD using the <strong>scikit-learn<\/strong> library.<\/p>\n<h2>1. Basic Concepts of Machine Learning and Deep Learning<\/h2>\n<p>Machine Learning is a branch of artificial intelligence (AI) aimed at designing algorithms that learn automatically from data. Deep Learning is a subset of machine learning that involves deeper and more complex models based on neural networks. Through these two techniques, we can extract valuable patterns from data and make predictions and decisions based on them.<\/p>\n<h3>1.1 Basics of Machine Learning<\/h3>\n<ul>\n<li><strong>Supervised Learning<\/strong>: A method of training models using labeled data, which includes stock price prediction, spam email classification, etc.<\/li>\n<li><strong>Unsupervised Learning<\/strong>: Understanding the structure of data through unlabeled data and performing clustering or dimensionality reduction.<\/li>\n<li><strong>Reinforcement Learning<\/strong>: A method where agents learn by interacting with the environment to maximize rewards.<\/li>\n<\/ul>\n<h3>1.2 Basics of Deep Learning<\/h3>\n<p>Deep Learning processes data using neural networks with complex layer structures. This particularly excels in image recognition, natural language processing, and financial data analysis.<\/p>\n<h2>2. What is SGD (Stochastic Gradient Descent)?<\/h2>\n<p>Stochastic Gradient Descent (SGD) is an optimization algorithm used in machine learning to update weights in order to minimize the loss function. Instead of using the entire dataset repeatedly, it utilizes randomly selected small batches to enhance speed and lessen computation.<\/p>\n<h3>2.1 How SGD Works<\/h3>\n<ul>\n<li>Initial weight setting: Randomly initializes the weights of the model.<\/li>\n<li>Data sampling: Randomly selects one data sample or a small batch from the entire dataset.<\/li>\n<li>Loss calculation: Calculates the loss function using the current weights and selected samples.<\/li>\n<li>Weight update: Updates the weights based on the computed loss. This process is repeated.<\/li>\n<\/ul>\n<h3>2.2 Advantages and Disadvantages of SGD<\/h3>\n<ul>\n<li><strong>Advantages<\/strong>:\n<ul>\n<li>Fast convergence: Converges quickly with less computation compared to using the full dataset.<\/li>\n<li>Memory efficiency: Suitable for large-scale data processing as it does not require loading the entire dataset into memory.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Disadvantages<\/strong>:\n<ul>\n<li>Noise: The randomness in sample selection can lead to instability in the loss function&#8217;s gradient.<\/li>\n<li>Local optima: There is a chance of getting stuck in local optima.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>3. Introduction to the scikit-learn Library<\/h2>\n<p><strong>scikit-learn<\/strong> is one of the most popular libraries for machine learning in Python, providing a simple interface and supporting various algorithms. It allows easy access to a variety of machine learning techniques, including linear models, regression, and classification, with SGD included.<\/p>\n<h3>3.1 Installing scikit-learn<\/h3>\n<pre><code>pip install scikit-learn<\/code><\/pre>\n<h3>3.2 Key Components of scikit-learn<\/h3>\n<ul>\n<li>Data preprocessing: Includes various tasks like data scaling, encoding, and handling missing values.<\/li>\n<li>Model selection: Provides a range of algorithms for classification, regression, clustering, and dimensionality reduction.<\/li>\n<li>Model evaluation: Evaluates model performance using cross-validation and various metrics.<\/li>\n<li>Hyperparameter tuning: Finds optimal hyperparameters using GridSearchCV and RandomizedSearchCV.<\/li>\n<\/ul>\n<h2>4. Implementing a Stock Price Prediction Model Using SGD<\/h2>\n<p>Now, let&#8217;s implement a stock price prediction model based on stochastic gradient descent using scikit-learn.<\/p>\n<h3>4.1 Data Collection and Preprocessing<\/h3>\n<p>We will use the <strong>yfinance<\/strong> library to collect stock data. Then, we will preprocess the data to convert it into a format suitable for modeling.<\/p>\n<pre><code>pip install yfinance<\/code><\/pre>\n<pre><code>\nimport yfinance as yf\nimport pandas as pd\nfrom sklearn.model_selection import train_test_split\nfrom sklearn.preprocessing import StandardScaler\n\n# Data collection\ndf = yf.download(\"AAPL\", start=\"2015-01-01\", end=\"2023-01-01\")\ndf['Return'] = df['Adj Close'].pct_change()\ndf.dropna(inplace=True)\n\n# Data preprocessing\nX = df[['Open', 'High', 'Low', 'Volume']]\ny = (df['Return'] > 0).astype(int)  # Predicting upward movement\n\nX_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)\nscaler = StandardScaler()\nX_train = scaler.fit_transform(X_train)\nX_test = scaler.transform(X_test)\n<\/code><\/pre>\n<h3>4.2 Model Training<\/h3>\n<p>We will train the model using SGDClassifier.<\/p>\n<pre><code>\nfrom sklearn.linear_model import SGDClassifier\nfrom sklearn.metrics import accuracy_score\n\n# Initialize the model\nmodel = SGDClassifier(loss='log', max_iter=1000, random_state=42)\n\n# Train the model\nmodel.fit(X_train, y_train)\n\n# Prediction\ny_pred = model.predict(X_test)\n\n# Accuracy evaluation\naccuracy = accuracy_score(y_test, y_pred)\nprint(f\"Model Accuracy: {accuracy:.2f}\")\n<\/code><\/pre>\n<h3>4.3 Result Analysis<\/h3>\n<p>We evaluate and analyze the model&#8217;s performance. Comparing predicted results with actual stock prices is also an important process.<\/p>\n<pre><code>\nimport matplotlib.pyplot as plt\n\n# Visualizing actual stock price data and predicted results\nplt.figure(figsize=(12, 6))\nplt.plot(df.index[-len(y_test):], df['Adj Close'][-len(y_test):], label='Actual Price')\nplt.scatter(df.index[-len(y_test):][y_pred == 1], df['Adj Close'][-len(y_test):][y_pred == 1], color='green', label='Predicted Up')\nplt.scatter(df.index[-len(y_test):][y_pred == 0], df['Adj Close'][-len(y_test):][y_pred == 0], color='red', label='Predicted Down')\nplt.legend()\nplt.title('Stock Price Prediction')\nplt.xlabel('Date')\nplt.ylabel('Price')\nplt.show()\n<\/code><\/pre>\n<h2>5. Hyperparameter Tuning<\/h2>\n<p>We can go through a hyperparameter tuning process to enhance the model&#8217;s performance. Let&#8217;s explore how to find the optimal parameters using Grid Search.<\/p>\n<pre><code>\nfrom sklearn.model_selection import GridSearchCV\n\n# Setting up the hyperparameter grid\nparam_grid = {\n    'loss': ['hinge', 'log'],\n    'alpha': [1e-4, 1e-3, 1e-2],\n    'max_iter': [1000, 1500, 2000]\n}\n\ngrid_search = GridSearchCV(SGDClassifier(), param_grid, cv=5)\ngrid_search.fit(X_train, y_train)\n\n# Optimal parameters\nprint(\"Optimal parameters:\", grid_search.best_params_)\n<\/code><\/pre>\n<h2>6. Conclusion and Future Directions<\/h2>\n<p>In this course, we started with the basics of algorithmic trading utilizing machine learning and deep learning, and learned about stochastic gradient descent (SGD) using scikit-learn. We implemented a stock prediction model and explored methods for hyperparameter tuning.<\/p>\n<p>In the future, we can develop more effective trading strategies by utilizing more complex deep learning models, LSTM, reinforcement learning, and so on. I wish you successful trading through continuous learning and experimentation.<\/p>\n<p>Thank you!<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In today&#8217;s financial markets, data-driven algorithmic trading is widely used. Consequently, techniques such as machine learning and deep learning are increasingly being adopted in investment strategies, particularly stochastic gradient descent (SGD), which has gained significant attention due to its efficiency and rapid convergence. In this course, we will begin with the basic concepts of machine &hellip; <a href=\"https:\/\/atmokpo.com\/w\/35310\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Machine Learning and Deep Learning Algorithm Trading, Stochastic Gradient Descent (SGD) using sklearn&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[121],"tags":[],"class_list":["post-35310","post","type-post","status-publish","format-standard","hentry","category-deep-learning-automated-trading"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Machine Learning and Deep Learning Algorithm Trading, Stochastic Gradient Descent (SGD) using sklearn - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/35310\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Machine Learning and Deep Learning Algorithm Trading, Stochastic Gradient Descent (SGD) using sklearn - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"In today&#8217;s financial markets, data-driven algorithmic trading is widely used. Consequently, techniques such as machine learning and deep learning are increasingly being adopted in investment strategies, particularly stochastic gradient descent (SGD), which has gained significant attention due to its efficiency and rapid convergence. In this course, we will begin with the basic concepts of machine &hellip; \ub354 \ubcf4\uae30 &quot;Machine Learning and Deep Learning Algorithm Trading, Stochastic Gradient Descent (SGD) using sklearn&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/35310\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T09:37:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T11:15:02+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/35310\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/35310\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"Machine Learning and Deep Learning Algorithm Trading, Stochastic Gradient Descent (SGD) using sklearn\",\"datePublished\":\"2024-11-01T09:37:48+00:00\",\"dateModified\":\"2024-11-01T11:15:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/35310\/\"},\"wordCount\":688,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"Deep learning Automated trading\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/35310\/\",\"url\":\"https:\/\/atmokpo.com\/w\/35310\/\",\"name\":\"Machine Learning and Deep Learning Algorithm Trading, Stochastic Gradient Descent (SGD) using sklearn - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T09:37:48+00:00\",\"dateModified\":\"2024-11-01T11:15:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/35310\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/35310\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/35310\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Machine Learning and Deep Learning Algorithm Trading, Stochastic Gradient Descent (SGD) using sklearn\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Machine Learning and Deep Learning Algorithm Trading, Stochastic Gradient Descent (SGD) using sklearn - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/35310\/","og_locale":"ko_KR","og_type":"article","og_title":"Machine Learning and Deep Learning Algorithm Trading, Stochastic Gradient Descent (SGD) using sklearn - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"In today&#8217;s financial markets, data-driven algorithmic trading is widely used. Consequently, techniques such as machine learning and deep learning are increasingly being adopted in investment strategies, particularly stochastic gradient descent (SGD), which has gained significant attention due to its efficiency and rapid convergence. In this course, we will begin with the basic concepts of machine &hellip; \ub354 \ubcf4\uae30 \"Machine Learning and Deep Learning Algorithm Trading, Stochastic Gradient Descent (SGD) using sklearn\"","og_url":"https:\/\/atmokpo.com\/w\/35310\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T09:37:48+00:00","article_modified_time":"2024-11-01T11:15:02+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"5\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/35310\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/35310\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"Machine Learning and Deep Learning Algorithm Trading, Stochastic Gradient Descent (SGD) using sklearn","datePublished":"2024-11-01T09:37:48+00:00","dateModified":"2024-11-01T11:15:02+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/35310\/"},"wordCount":688,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["Deep learning Automated trading"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/35310\/","url":"https:\/\/atmokpo.com\/w\/35310\/","name":"Machine Learning and Deep Learning Algorithm Trading, Stochastic Gradient Descent (SGD) using sklearn - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T09:37:48+00:00","dateModified":"2024-11-01T11:15:02+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/35310\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/35310\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/35310\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"Machine Learning and Deep Learning Algorithm Trading, Stochastic Gradient Descent (SGD) using sklearn"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/35310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=35310"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/35310\/revisions"}],"predecessor-version":[{"id":35311,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/35310\/revisions\/35311"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=35310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=35310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=35310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}