Skip to content

Instantly share code, notes, and snippets.

View ackkerman's full-sized avatar
🏠
Working from home

Ackerman ackkerman

🏠
Working from home
View GitHub Profile

Spaceship Titanic Competition: サマリーレポート

はじめに

本レポートは、Kaggle 上の Spaceship Titanic コンペティションにおける知見と結果をまとめたものです。本コンペティションの目的は、Spaceship Titanic が時空の異常との衝突時に、どの乗客が別の次元に輸送されたかを予測することです。私たちは、乗客データの分析と機械学習技術を用いて予測モデルの構築を行いました。

データ概要

データセットは以下の特徴量から構成されています:

Spaceship Titanic コンペティションについて

このノートブックファイル 1_spaceship-titanic/spaceship-titanic-competition-end-to-end-project.ipynb は、Spaceship Titanic データセットを使用したバイナリ分類のための Kaggle コンペティションの包括的なガイドを含んでいます。以下に、内容の詳細な説明を示します。

ノートブックの目的

このプロジェクトの目的は、データセットで提供されるさまざまな特徴を使用して、乗客が別の次元に輸送されるかどうかを予測することです。

ノートブックの内容

  1. データの基本的な理解: データセットの構造と特徴の概要。
  2. 探索的データ分析 (EDA): データの分布と関係を理解するための視覚化と統計分析。
div.js-calendar-graph {
margin-top: 1rem;
display: flex !important;
flex-direction: column !important;
align-items: flex-end !important;
overflow: hidden !important;
margin-right: 8px !important;
margin-left: 8px !important;
}
@ackkerman
ackkerman / render-codeblock.html
Created June 5, 2022 11:22
Hugo: layouts/_default/_markup/に設置するテンプレートファイル。コードブロックの名前を表示するdivタグを追加する。
<div>
{{- $name := .Attributes.name -}}
{{ with $name }}<div class="codeblock--name">{{ . }}</div>{{ end }}
<div class="codeblock--content">
{{- highlight (.Inner | safeHTML) .Type .Options }}
</div>
</div>
<style>
.codeblock--name {
width: fit-content;
/* margin: 1rem 0 0; */
font-size: 0.9rem;
color: white;
/* background-color: #272822; */
background-color: #4f4f4f;
padding: 0.3rem 0.8rem !important;
/* font-weight: 400; */
@ackkerman
ackkerman / publish.sh
Last active June 3, 2022 04:03
GitHub Pagesへのデプロイを自動化するシェルスクリプト。
#!/bin/bash
USERNAME='moxak'
function publish() {
USERNAME=$1
ESC=$(printf '\033')
echo "---Build by hugo."
hugo --minify >/dev/null
echo "---Move and copy files."
mv content/*/*.png static/img/ &>/dev/null
cp CNAME docs/
@ackkerman
ackkerman / body.html
Created June 2, 2022 05:45
Hugo Book Themeに「数式表示」「コードブロックコピー時のトースト通知表示」「カラーテーマ変更ボタン」「目次表示切り替えボタン」を追加するパーシャルレイアウト。
{{ define "katex-stylesheet" }}
{{ if .Params.katex }}
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/katex@0.15.6/dist/katex.min.css"
integrity="sha384-ZPe7yZ91iWxYumsBEOn7ieg8q/o+qh/hQpSaPow8T6BwALcXSCS6C6fSRPIAnTQs"
crossorigin="anonymous"
/>
<link
href="https://cdn.jsdelivr.net/npm/katex@0.15.6/dist/contrib/copy-tex.css"
@ackkerman
ackkerman / token.py
Last active October 29, 2024 09:21
This is one to modify twint which is python module to scrape twitter without API token. In order to use, you must put this script on `twint/` and replace defalt one.
import re
import time
import requests
import logging as logme
class TokenExpiryException(Exception):
def __init__(self, msg):
super().__init__(msg)
window.addEventListener("DOMContentLoaded", init);
function init() {
const width = 960;
const height = 540;
const renderer = new THREE.WebGLRenderer({
canvas: document.querySelector('#myCanvas')
});
renderer.setPixelRatio(window.devicePixelRatio);