<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kento1109</author_name>
  <author_url>https://blog.hatena.ne.jp/kento1109/</author_url>
  <blog_title>機械学習・自然言語処理の勉強メモ</blog_title>
  <blog_url>https://kento1109.hatenablog.com/</blog_url>
  <categories>
    <anon>PyTorch</anon>
  </categories>
  <description>Logistic Regression 今回はLogistic Regression。 下記のチュートリアルを参考に実装した。 github.com尚、コード全体はここに置いた。 github.com データセットだが、チュートリアルはMNISTを使っているが、今回はsklearnのdigits datasetを使った。 （ロードが手っ取り早かったので。。） import 必要なライブラリをインポート import numpy as np import torch import torch.nn as nn import torch.optim as optim from torch.auto…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkento1109.hatenablog.com%2Fentry%2F2018%2F02%2F19%2F113849&quot; title=&quot;PyTorch入門③：Logistic Regression - 機械学習・自然言語処理の勉強メモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-02-19 11:38:49</published>
  <title>PyTorch入門③：Logistic Regression</title>
  <type>rich</type>
  <url>https://kento1109.hatenablog.com/entry/2018/02/19/113849</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
