On the use of distributed representations bagging for class classification and generalization performance

After the distributed representation has been obtained, the After the distributed representation is obtained, machine learning can be used to classify it.

Models that can be used include

  • Decision Tree
  • SVM Support Vector Machine
  • NN Neural Networks

and others.

SVM is included in NN in a broad sense.

In this section, we will use the decision tree method.

Bagging

  • Image of majority voting with multiple decision trees
  • Simple theory
    • Decision trees are highly explainable and are a classic machine learning model.
    • Computational load is light compared to deep learning
      • Depends on the size of the model
  • Not much explainability
    • Do we want to analyze each of the multiple decision trees?

``py from sklearn.ensemble import BaggingClassifier from sklearn.tree import DecisionTreeClassifier

[Read More]

How to train a Japanese model with Sentence transformer to get a distributed representation of a sentence

. BERT is a model that can be powerfully applied to natural language processing tasks.

However, it does not do a good job of capturing sentence-wise features.

Some claim that sentence features appear in [ CLS\ ], but This paper](https://arxiv.org/abs/1908.10084) claims that it does not contain that much useful information for the task.

Sentence BERT is a model that extends BERT to be able to obtain features per sentence.

The following are the steps to create Sentence BERT in Japanese.

[Read More]

deeplubcut 動画を対象にした点の位置の予測

点のアノテーションの予測

  • 蝿の腹、マウスの脊椎、指の関節など応用範囲が広い。
  • 動画でできてる。デモがある。
  • 動画の特徴量抽出はResNet, mobileNetなど
    • Mobile Netでできるならエッジコンピューティングが視野に入る
    • ラズパイ+GPUみたいな構成

参考リンク

https://github.com/DeepLabCut/DeepLabCut

[Read More]

git submoduleでのpullで更新する方法

hugoのthemeをgit submodule addで導入したため、少し手順を踏まないとthemeの更新が反映されない。

以下の手順でthemeの最新バージョンへの更新ができる。

[Read More]
git  技術 

可愛いだけじゃない式守さん 7巻の感想

男の子も女の子も可愛いので、 純愛と思いやりでキュンとなりたい人は読むといい。

感想

  • 式守さんが可愛いだけの回あり
    • そこまでして和泉くんに試験の点数で勝ちたかった?
    • そういう子供っぽい負けず嫌いさと弱みを見せたくない乙女心が両方あるのが式守さん
  • 式守さんのお母さんの顔が怖い?八満が恐れてる
    • 和泉くんもビビってる。
    • ビビりながらもお付き合い報告してるのはほんとすげぇよ。
  • 和泉くんがビビりながらも決めたことには取り組んでるのがすげえ
    • そこは男らしいんだよなぁ
  • そういう意味で1番おずおずとしているのは狼谷さんか。
    • 自己表現を自然にできるようになるといいね。
    • ある意味で孤立してたからね。
    • それが不本意っぽかったから、友達が増えてよかったね。

参考リンク