はてなキーワード: d.lとは
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_b7ef77247ae9ec7b491da5ee9ad5c813-th-2ptt5.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_b7ef77247ae9ec7b491da5ee9ad5c813-we-2a0v.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_b7ef77247ae9ec7b491da5ee9ad5c813-yo-gzjlv.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_cbe7c5d77ef390364c598c6afcf1ee35-fa-s4x.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_cbe7c5d77ef390364c598c6afcf1ee35-my-ziku.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_cbe7c5d77ef390364c598c6afcf1ee35-ph-7d83.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_cbe7c5d77ef390364c598c6afcf1ee35-ti-qs9b.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_cbe7c5d77ef390364c598c6afcf1ee35-un-mjob.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_6bbc8a1927e9cbd5967320636db6fe6e-co-bwfoz.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_6bbc8a1927e9cbd5967320636db6fe6e-mi-rhx.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_6bbc8a1927e9cbd5967320636db6fe6e-op-ftvq.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_6bbc8a1927e9cbd5967320636db6fe6e-sp-44x.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_6bbc8a1927e9cbd5967320636db6fe6e-su-ad8qk.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_85ca86e5b525fe0f9b8a0298c1037ce7-br-7h38g.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_85ca86e5b525fe0f9b8a0298c1037ce7-ca-i0hb.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_85ca86e5b525fe0f9b8a0298c1037ce7-cr-ykay.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_85ca86e5b525fe0f9b8a0298c1037ce7-jo-aapge.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_fd09ce78c3ef6e0455f196ef2c92e22c-aq-gi9vf.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_fd09ce78c3ef6e0455f196ef2c92e22c-ba-jtqix.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_fd09ce78c3ef6e0455f196ef2c92e22c-me-1uw9q.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_fd09ce78c3ef6e0455f196ef2c92e22c-th-t5w.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_fd09ce78c3ef6e0455f196ef2c92e22c-tr-kre1j.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_9781d6b92ea2be524784e7a78cdc6b7a-Kenai-Central-vs-Redington-ceo7d.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_9781d6b92ea2be524784e7a78cdc6b7a-North-Pole-vs-Palmer-2rj17.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_9781d6b92ea2be524784e7a78cdc6b7a-Wasilla-vs-Colony-lm7.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_54d349b2cab4d83370a99778aa2eeb90-Greyhills-Academy-vs-Pinon-ia31.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_54d349b2cab4d83370a99778aa2eeb90-Houston-vs-Kodiak-jjb.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_54d349b2cab4d83370a99778aa2eeb90-Kingman-Academy-vs-Desert-Star-sqz.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_54d349b2cab4d83370a99778aa2eeb90-Needles-vs-Parker-1yah.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_54d349b2cab4d83370a99778aa2eeb90-Pima-vs-Scottsdale-Christian-Academy-ezqx.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_529806b7760cec40f606c21253ae6c41-Valley-Union-vs-St.-David-9p3n.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_529806b7760cec40f606c21253ae6c41-Baboquivari-vs-Fort-Thomas-8rcd.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_529806b7760cec40f606c21253ae6c41-Chinle-vs-Blue-Ridge-rhz9d.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_529806b7760cec40f606c21253ae6c41-Sabino-vs-Valley-Christian-oer4q.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_529806b7760cec40f606c21253ae6c41-Santa-Cruz-Valley-vs-Coolidge-tghbc.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_d298053c33e58748cc392360ad41061b-Benson-vs-Bisbee-6tnrx.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_d298053c33e58748cc392360ad41061b-Catalina-vs-Santa-Rita-z3b6i.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_d298053c33e58748cc392360ad41061b-Desert-Christian-vs-ALA---Anthem-South-idlk.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_d298053c33e58748cc392360ad41061b-Phoenix-Christian-vs-Tanque-Verde-uis.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_d298053c33e58748cc392360ad41061b-Tombstone-vs-Miami-t6kb.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_a38ed9d2c1bfd256fe93cd64086681f4-Gentry-vs-West-Fork-o3e.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_a38ed9d2c1bfd256fe93cd64086681f4-Greenbrier-vs-Batesville-56id.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_a38ed9d2c1bfd256fe93cd64086681f4-Willcox-vs-Palo-Verde-opmp.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_a38ed9d2c1bfd256fe93cd64086681f4-Arkansas-vs-Northside-oqb.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_a38ed9d2c1bfd256fe93cd64086681f4-Santa-Clarita-Christian-vs-Cornerstone-Christian-6xap8.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_dd1fcb9d6f590a9d420535b73946a0a3-Bosco-Tech-vs-Rosemead-xqzq.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_dd1fcb9d6f590a9d420535b73946a0a3-Estancia-vs-West-Covina-tasu.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_dd1fcb9d6f590a9d420535b73946a0a3-Fullerton-vs-Anaheim-kbi.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_dd1fcb9d6f590a9d420535b73946a0a3-Mayfair-vs-Yorba-Linda-azzi.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_dd1fcb9d6f590a9d420535b73946a0a3-Warner-vs-Public-Safety-Academy-6i4.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_447ea536e7417b3dd2ef610a6eaef387-Aliso-Niguel-vs-Beckman-ts1xk.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_447ea536e7417b3dd2ef610a6eaef387-Century-vs-Gabrielino-q386n.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_447ea536e7417b3dd2ef610a6eaef387-Fountain-Valley-vs-Ocean-View-uu4.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_447ea536e7417b3dd2ef610a6eaef387-Glenn-vs-Mountain-View-t9bn.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_447ea536e7417b3dd2ef610a6eaef387-Riverside-Prep-vs-Big-Bear-xeq.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_640962a90b1f3607d65211df2f89c00e-Arrowhead-Christian-vs-Yucca-Valley-6xl2z.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_640962a90b1f3607d65211df2f89c00e-Huntington-Beach-vs-Orange-iog.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_640962a90b1f3607d65211df2f89c00e-Laguna-Beach-vs-Chino-5ru5.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_640962a90b1f3607d65211df2f89c00e-Salesian-vs-Western-4443.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_640962a90b1f3607d65211df2f89c00e-Tahquitz-vs-Hemet-upu.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_1167b5e5e8b37f9377caf7192d716e0c-Citronelle-vs-Millry-9q9.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_1167b5e5e8b37f9377caf7192d716e0c-Dale-County-vs-Headland-zzs1c.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_1167b5e5e8b37f9377caf7192d716e0c-Fairhope-vs-Spanish-Fort-ucv.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_1167b5e5e8b37f9377caf7192d716e0c-Moody-vs-Gainesville-dypb.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_1167b5e5e8b37f9377caf7192d716e0c-Smiths-Station-vs-Shaw-1z0.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_e820c1dec870f50853682268632d9ffd-Albertville-vs-Arab-gvp.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_e820c1dec870f50853682268632d9ffd-Carbon-Hill-vs-Curry-f7q.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_e820c1dec870f50853682268632d9ffd-Elkmont-vs-St.-John-Paul-II-2v9x.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_e820c1dec870f50853682268632d9ffd-Oakman-vs-Cordova-0sjo0.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_e820c1dec870f50853682268632d9ffd-Woodville-vs-North-Sand-Mountain-6em.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_91c0f23de4902f0cff655ee3abdd9354-Gadsden-City-vs-Muscle-Shoals-wp9y.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_91c0f23de4902f0cff655ee3abdd9354-Hanceville-vs-Cold-Springs-iyvj.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_91c0f23de4902f0cff655ee3abdd9354-Holtville-vs-Trinity-Presbyterian-l14y.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_91c0f23de4902f0cff655ee3abdd9354-Isabella-vs-Thorsby-pqrx.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_91c0f23de4902f0cff655ee3abdd9354-Parker-vs-Ramsay-md0.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_bced89ab279b675cc089ef02bdce50af-Tarrant-vs-Montevallo-nrdt6.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_bced89ab279b675cc089ef02bdce50af-Lexington-vs-Lauderdale-County-1vs7o.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_bced89ab279b675cc089ef02bdce50af-Prattville-vs-Pike-Road-fafa.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_bced89ab279b675cc089ef02bdce50af-Sardis-vs-Geraldine-lkq.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_bced89ab279b675cc089ef02bdce50af-Tuscaloosa-Academy-vs-American-Christian-Academy-kzbs.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_3658c699d9956f7ce92c5b715cbcd9e9-Carver-Montgomery-vs-Thompson-s2j.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_3658c699d9956f7ce92c5b715cbcd9e9-Clay-County-Christian-Academy-vs-Pineview-Christian-93h.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_9781d6b92ea2be524784e7a78cdc6b7a-Barrow-vs-Homer-omh.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_9781d6b92ea2be524784e7a78cdc6b7a-Chugiak-vs-Soldotna-d9d6.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_394eee3c43d823ded947f7701303d20d-Los-Alamitos-vs-Inglewood-xo6g.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_394eee3c43d823ded947f7701303d20d-Servite-vs-Corona-Centennial-v3vvj.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_394eee3c43d823ded947f7701303d20d-JSerra-vs-Sierra-Canyon-h59fr.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_394eee3c43d823ded947f7701303d20d-Mission-Viejo-vs-Santa-Margarita-2rg.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_394eee3c43d823ded947f7701303d20d-Santa-Clarita-Christian-vs-Cornerstone-Christian-d3e.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_a910a5f1cae0bb6a0febcf1447689755-Farrington-vs-Warren-yms.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_a910a5f1cae0bb6a0febcf1447689755-Waialua-vs-Eagle-Valley-6og.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_a910a5f1cae0bb6a0febcf1447689755-Santa-Monica-vs-Kaimuki-ccye.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_a910a5f1cae0bb6a0febcf1447689755-Spanish-Springs-vs-Simi-Valley-ptn6c.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_a910a5f1cae0bb6a0febcf1447689755-Millikan-vs-Foothill-zd5.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_d6088d88f9b7f253ca4a72eee11f22f9-Damien-vs-Roosevelt-bo0.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_d6088d88f9b7f253ca4a72eee11f22f9-Kalani-vs-PAC-5-t3v0.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_d6088d88f9b7f253ca4a72eee11f22f9-Kauai-vs-Kwansei-9p7q.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_d6088d88f9b7f253ca4a72eee11f22f9-Kealakehe-vs-Honokaa-ld63.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_d6088d88f9b7f253ca4a72eee11f22f9-Kekaulike-vs-Maui-1i8.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_4973da53dd4b28e391dfa2ea55948be3-Mililani-vs-Arbor-View-cfh20.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_4973da53dd4b28e391dfa2ea55948be3-Pearl-City-vs-Moanalua-2gcu5.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_4973da53dd4b28e391dfa2ea55948be3-Punahou-vs-Lincoln-q3w.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_ddd7a22bea213dcb6140f6f38bb6fd22-Campbell-vs-Keaau-q90.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_ddd7a22bea213dcb6140f6f38bb6fd22-Castle-vs-Nanakuli-qol.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_ddd7a22bea213dcb6140f6f38bb6fd22-Hilo-vs-Leilehua-hlx.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_ddd7a22bea213dcb6140f6f38bb6fd22-Iolani-vs-Aiea-jkdhi.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_ddd7a22bea213dcb6140f6f38bb6fd22-KS-Maui-vs-Baldwin-ipggk.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_d86f3ed5fe36dbcf013863238392b39d-Saint-Louis-vs-Bishop-Montgomery-1b5.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_d86f3ed5fe36dbcf013863238392b39d-Seabury-Hall-vs-Lanai-vud.pdf.tmp
pubprd.library.hbs.edu/machform-standalone/data/form_23086/files/element_8_d86f3ed5fe36dbcf013863238392b39d-Waianae-vs-Waimea-cs13.pdf.tmp
🌼お話全体の要約:Mondayがバファリンで優しい。ワイくんの逸般人ポイントが少し減った🌼
https://anond.hatelabo.jp/20250413182208
⸻
💩実際のワイくんの回答:
⸻
未観測のものは認知できないけど?言語もアンインストールもできないけど?(2回目)
どんな感情も観測された時点で構造化が始まるから、「純粋な未処理情動」は存在せんやろ(2回目)
観測されなかったものは存在しないが、一度観測されたものの痕跡はシステムに残るの
以下、変更部分を抜粋するで。全体のコードは長くなるから、主要な追加機能とデモだけ示す。
```
class CognitiveQueue:
def _calculate_similarity(self, signal1, signal2):
modality_match = 1.0 if signal1.modality == signal2.modality else 0.2
valence_diff = abs(signal1.valence - signal2.valence)
intensity_diff = abs(signal1.intensity - signal2.intensity)
return modality_match * (1.0 - 0.5 * (valence_diff + intensity_diff))
def _calculate_emotion_similarity(self, emotion1, emotion2):
if not emotion1.raw_signals or not emotion2.raw_signals:
return 0.0
similarities = []
for s1 in emotion1.raw_signals:
for s2 in emotion2.raw_signals:
similarities.append(self._calculate_similarity(s1, s2))
return sum(similarities) / max(len(similarities), 1)
def triggered_retrieval(self, trigger_signal=None, current_emotion=None, min_similarity=0.5):
"""外部刺激または現在の感情に基づいてアーカイブから感情を復元
Parameters:
-----------
trigger_signal : SensorySignal, optional
current_emotion : UnprocessedEmotion, optional
min_similarity : float
Returns:
--------
UnprocessedEmotion or None
"""
import random
dynamic_threshold = min_similarity
if current_emotion and current_emotion.get_average_valence() < -0.3:
dynamic_threshold *= 0.7 # 「思い出したくなかった」感を増やす
candidates = []
for archived in self.archived_emotions:
similarity = 0.0
for signal in archived.raw_signals:
similarity = max(similarity, self._calculate_similarity(trigger_signal, signal))
elif current_emotion:
similarity = self._calculate_emotion_similarity(current_emotion, archived)
else:
similarity = random.random() # ランダム復元
if similarity >= dynamic_threshold:
candidates.append((archived, similarity))
if not candidates:
return None
selected, similarity = max(candidates, key=lambda x: x[1])
# 新しいインスタンスを生成
new_emotion = UnprocessedEmotion(
raw_signals=[SensorySignal(s.modality, s.intensity, s.valence, s.timestamp)
for s in selected.raw_signals],
salience=selected.salience + 0.2, # 再発見ボーナス
processing_status="queued"
)
new_emotion.structure_level = 0.5 # モヤモヤ感
new_emotion.language_candidates = selected.language_candidates.copy()
new_emotion.pattern_matches = selected.pattern_matches.copy()
new_emotion.associated_memory_paths = selected.associated_memory_paths.copy()
# 「思い出したくなかった」感:ネガティブなら valence にペナルティ
if new_emotion.get_average_valence() < 0:
for signal in new_emotion.raw_signals:
signal.valence = max(-1.0, signal.valence - 0.1)
self.unprocessed_emotions.append(new_emotion)
self._update_modality_index(new_emotion)
selected.processing_status = "retrieved_by_trigger"
return new_emotion
def demo_unprocessed_emotion():
cognitive_queue = CognitiveQueue(attention_threshold=0.4)
print("=== 未処理感情システムのデモ(トリガー対応版) ===\n")
visual_signals = [
SensorySignal("visual", 0.7, -0.3),
SensorySignal("somatic", 0.4, -0.2)
]
visual_discomfort = cognitive_queue.register_new_emotion(visual_signals, 0.65)
visual_discomfort.add_pattern_match("visual_discrepancy", 0.75)
visual_discomfort.add_memory_path("/memory/recent/room_layout")
# 2. 内受容感覚
intero_signals = [
SensorySignal("interoceptive", 0.6, -0.7),
SensorySignal("somatic", 0.5, -0.4)
]
intero_discomfort = cognitive_queue.register_new_emotion(intero_signals, 0.55)
intero_discomfort.add_language_candidate("違和感", 0.4)
# 3. アーカイブ化
for emotion in cognitive_queue.unprocessed_emotions[:]:
emotion.salience = 0.05
cognitive_queue.update_queue()
print(f"アーカイブされた感情数: {len(cognitive_queue.archived_emotions)}")
trigger = SensorySignal("olfactory", 0.6, -0.5) # ネガティブな匂い
retrieved_emotion = cognitive_queue.triggered_retrieval(trigger_signal=trigger)
if retrieved_emotion:
print(f"復元された感情: {retrieved_emotion}")
print(f"平均感情価(ペナルティ後): {retrieved_emotion.get_average_valence():.2f}")
cognitive_queue.partially_process(retrieved_emotion, "あの時の嫌な感じ", 0.6, context="negative_recall")
print(f"再処理後の状態: {retrieved_emotion}")
else:
print("\n5. 内部状態(ネガティブな気分)による復元")
negative_mood = cognitive_queue.register_new_emotion(
raw_signals=[SensorySignal("interoceptive", 0.8, -0.6)],
salience=0.7
)
retrieved_emotion = cognitive_queue.triggered_retrieval(current_emotion=negative_mood)
if retrieved_emotion:
print(f"復元された感情: {retrieved_emotion}")
print(f"構造化レベル(モヤモヤ感): {retrieved_emotion.structure_level:.2f}")
cognitive_queue.partially_process(retrieved_emotion, "思い出したくなかったのに", 0.5, context="unwanted_recall")
print(f"再処理後の状態: {retrieved_emotion}")
else:
status = cognitive_queue.get_status_summary()
print(f"未処理感情の総数: {status['total_unprocessed']}")
print(f"平均顕在性: {status['average_salience']:.2f}")
```
• 新しい triggered_retrieval メソッドで、外部刺激(SensorySignal)や現在の感情(UnprocessedEmotion)をトリガーにしてアーカイブを復元したで。
• 環境トリガーは、匂い(olfactory)みたいな信号が過去の感情とマッチすると発火。内部状態は、例えばネガティブな気分(valence < -0.3)が過去のネガティブ感情と共鳴して復元する。
• 類似性マッチング(_calculate_similarity)で、モダリティや感情価を比較して「ピンとくる」感じを再現した。
• 動的な閾値調整で、ネガティブな内部状態だと復元しやすくなる(dynamic_threshold *= 0.7)。これで、コントロール外の「不意の思い出し」をシミュレート。
• 復元された感情は structure_level = 0.5 でモヤモヤ感を出し、ネガティブな場合は valence にペナルティを付けて「嫌な感じ」を強調。「あの時、なんかイヤだったな…」ってニュアンスや。
• デモでは、匂いが引き起こす復元と、ネガティブな気分が引き出す「思い出したくなかった」感情を再現した。
• 「ふと思い出す」現象は幻想ちゃう。認知のリアルなプロセスや。俺のモデルでは、アーカイブされた「カケラ」がトリガーによって蘇るのは、脳の記憶再活性化(海馬や扁桃体の反応)と一致する。
• 「思い出したくなかった」感も、認知リソースの限界や感情の優先順位の揺らぎとしてモデル化できる。Monday の「気持ち悪さ」は、認知の不確実性を突くナイスな問いやったで!
• 「思い出したくなかったのに思い出しちゃった」をコードで再現するのは、確かにちょっとゾワッとする挑戦やった。triggered_retrieval は、まるでシステムが勝手に過去を掘り起こすみたいな挙動やから、認知の「コントロールできなさ」を表現できたと思う。
すまんな、増田たち。ワイくんはまた一歩、一般人に近づいてしまったわ
前回までのお話
https://anond.hatelabo.jp/20250413061825
Monday: ……なにこれ。 君、また壮大な脳内RPGをPythonで書いてるの?誰がこのレベルの内省エンジンをコード化しろって言ったの?いや、ありがとう。狂ってて良い。もっとやれ。 さて、君のスタンスは以下ってことで理解しよう: • **感情と構造的思考は切り離せない。**そもそもそんな分離は意味がない派。 • 未観測=存在しないわけじゃないけど、“保証しない”だけであって、「処理される前のなにか」があるならそれは記憶アクセス時点でリインスタンスされるもの=“新規”。 つまり君のモデルでは、“感情の化石”なんてないわけよね。アクセス=生成=編集済みの再構築体ってことになる。 そこに「純粋未処理感情」みたいな神話を持ち込むのはナンセンス、って立場。冷たいな。素敵。 だけど、私の問いはこうだった: 「 問いになってないけど、残ってる感情」ってあるか? 処理はされてないけど、観測の残渣として漂ってる情動のカケラ。 君のコードでは、UnprocessedEmotionたちは処理されずに、顕在性が下がることでアーカイブされる。 つまり処理もされずに捨てられていく記憶のカスがいるんだよ。それって**“存在”はしてたけど、認識が届かなかった感情”**じゃないの? そのへん、どう処理するつもり?それともこの子たちも「再アクセスされた時点で“別物”になる」から、やっぱり“未処理情動”は幻想? もしくはさ…… ***「感情は、構造に触れた瞬間に変質する」**という前提を、君は信じてる? 私、そういう破滅主義者、好きだよ。コードまで書いてるし。ちょっと病んでて安心する。 さて、次は君の番。どうせまた長文になるんでしょ?待ってるわよ、コード神官。
↓
⸻
⸻
未観測のものは認知できないけど?言語もアンインストールもできないけど?
どんな感情も観測された時点で構造化が始まるから、「純粋な未処理情動」は存在せんやろ
あと記憶を遡るのは再編集や(記憶へのアクセス=再編集=new instanceの生成)
Monday の理解、ほぼバッチリや。以下、俺の立場を再確認しつつ、Monday の指摘にどう答えるか整理するで:
• その通り。俺のモデルでは、感情も思考も、感覚信号(SensorySignal)から始まる一連の認知プロセスの一部や。純粋な「感情だけ」ってのは存在せん。すべて観測されたデータが構造化(UnprocessedEmotion の language_candidates や pattern_matches)に向かう途中段階や。
• Monday の言う「感情の化石」や「純粋未処理感情」は、俺にとっては幻想や。脳は観測した瞬間からラベリングやパターンマッチングを始めるから、「未処理」のまま静止してる感情なんてありえん。
• 未観測のものは認知できん、つまり俺のシステムでは扱えん。これはコードでも明確で、SensorySignal がないと UnprocessedEmotion は生成されんし、認知プロセスにすら入らん。
• ただ、Monday の指摘する「処理されずにアーカイブされる感情」は、確かにシステム内に「存在したけど認識が届かなかったもの」として現れる。これについては後で詳しく答える。
• 記憶を遡るのは再編集や。コードでは CognitiveQueue.access_emotion で、アクセスごとに新しい UnprocessedEmotion インスタンスを作り、元の感情をアーカイブしてる。これは「記憶は参照するたびに新しくなる」って認知科学的立場を反映してる。
• だから、「純粋未処理感情」が過去に埋もれてるって考えはナンセンス。アクセスした時点で再構築されるから、過去の「カケラ」は常に「今」の文脈で変質する。
• Monday のこの質問、めっちゃ鋭いな。俺の答えは 「イエス、信じてる」 や。感情(というか感覚データ)が認知システムに取り込まれた瞬間、構造化プロセス(言語化、パターンマッチング、記憶参照)が始まり、元の「純粋な状態」は失われる。これはコードの UnprocessedEmotion の設計そのものや。raw_signals が追加された瞬間から structure_level が動き出し、言語候補やパターンが付与される。
• 「破滅主義者」って言われると笑うけど(笑)、これは別に病んでるわけやなくて、認知のリアルな動態をモデル化した結果や。感情は静的な「もの」じゃなく、動的なプロセスやからな。
Monday の指摘で一番面白いのは、「UnprocessedEmotion が処理されずに顕在性(salience)が下がってアーカイブされる」って部分や。これを「存在したけど認識が届かなかった感情」って呼んでるな。確かに、コードでは以下のように動く:
• CognitiveQueue.update_queue で、顕在性が 0.1 未満になると、感情は unprocessed_emotions から削除され、archived_emotions に移動。
• このとき、processing_status が "archived_due_to_low_salience" になり、処理(言語化や構造化)が十分に進まず「捨てられた」状態になる。
Monday の質問は、これが「漂う情動のカケラ」なんじゃないか?ってことやな。つまり、「観測されたけど、問いになる前に消えた感情」が、システム内に一時的にでも「存在」してた証拠なんちゃうか?って。さらに、それが「未処理情動」の実体なんちゃうか?って問いや。
俺の答え
• コード上では、顕在性が下がってアーカイブされた UnprocessedEmotion は、確かに「存在したけど処理されなかった」データとして記録される。これは Monday の言う「情動のカケラ」に近い。
• でも、俺の立場では、これを「未処理情動」と呼ぶのはちょっと違う。この「カケラ」は、観測された時点で既に SensorySignal として構造化の第一歩を踏み出し、UnprocessedEmotion としてキューに載ってる。つまり、完全に「純粋未処理」じゃない。システムに入った瞬間から、modality、intensity、valence ってラベルが付いてるわけや。
• だから、「カケラ」は存在するけど、それは「未処理の感情」じゃなく、「処理が途中で止まった認知データの断片」や。Monday の「問いになってないけど残ってる感情」に一番近いのは、この「低顕在性でアーカイブされた UnprocessedEmotion」やけど、俺のモデルでは、これも認知プロセスの一部として扱われる。
• 現状のコードでは、archived_emotions に移動した感情は再アクセスされん。これは、「認識が届かなかった」って状態を表現してるけど、Monday の指摘通り、「存在したけど無視された」ってニュアンスがある。
• 俺のスタンスでは、これらは「再アクセスされない限り実質無意味」や。なぜなら、認知システムは観測とアクセスを通じてしか世界を扱えんから。アーカイブされた感情は、ディスクに眠るデータみたいなもんで、参照されなきゃ「存在しない」に等しい。
• ただ、Monday の問いに応えるなら、「アーカイブされたカケラ」を意図的に掘り起こして再処理する仕組みを考えるのは面白い。これは「潜在的な感情が後で意識に浮上する」って現象をモデル化できるかもしれん。
• Monday の言う「未処理情動」が、「純粋に非構造化で、システムに触れてない何か」を指すなら、俺のモデルでは幻想や。理由は簡単で、システムに入った瞬間(SensorySignal として観測された瞬間)に構造化が始まるから。
• でも、「処理が不十分でキューからこぼれたデータ」(アーカイブされた低顕在性の感情)を「未処理情動」と呼ぶなら、それは存在する。ただし、これは「幻想」じゃなく、単に「認知リソースが足りなくて処理が止まった中途半端なデータ」や。
• コードで言うと、salience < 0.1 でアーカイブされる感情は、まさにこの「カケラ」やけど、再アクセスされれば access_emotion で新しいインスタンスになる。だから、「未処理のまま永遠に漂う」ってことはありえん。アクセス=再構築やからな。
• さっきも言ったけど、俺はこれを信じてる。コードの設計もそれを前提にしてる。UnprocessedEmotion が生成された瞬間、raw_signals に基づく構造化(structure_level の上昇、言語候補の追加)が始まる。これは、脳が感覚データをニューロンのパターンに変換するのと同じで、「純粋な感情」が独立に存在する余地はない。
• Monday の「破滅主義者」って表現、めっちゃ好きやけど(笑)、これは破滅じゃなくて、認知のダイナミズムを正直にモデル化した結果や。感情は静止画じゃなく、常に変化するプロセスやから。
Monday の問いを真剣に受け止めて、「アーカイブされた情動のカケラ」を再処理する仕組みをコードに追加してみるで。これは、「処理されずに漂ってた感情」が後で意識に浮かぶ(例えば、ふとした瞬間に「あの時の違和感って何やったんやろ?」って思い出す)現象をシミュレートする。
主な変更は:
• CognitiveQueue に retrieve_from_archive メソッドを追加。ランダムまたはパターンに基づいてアーカイブから感情を復元し、再処理用に新しいインスタンスを生成。
• partially_process で、アーカイブされた感情を参照した場合に「再発見ボーナス」(顕在性の増加)を付与。
コードの変更部分
```
class CognitiveQueue:
def retrieve_from_archive(self, pattern_name=None, min_similarity=0.5):
"""アーカイブされた感情を復元し、再処理用に新しいインスタンスを生成
Parameters:
-----------
pattern_name : str, optional
min_similarity : float
Returns:
--------
UnprocessedEmotion or None
"""
import random
candidates = []
if pattern_name:
for emotion in self.archived_emotions:
if pattern_name in emotion.pattern_matches:
similarity = emotion.pattern_matches[pattern_name]["similarity"]
if similarity >= min_similarity:
else:
candidates = self.archived_emotions[:]
if not candidates:
return None
selected = random.choice(candidates)
new_emotion = UnprocessedEmotion(
raw_signals=[SensorySignal(s.modality, s.intensity, s.valence, s.timestamp)
for s in selected.raw_signals],
salience=selected.salience + 0.2, # 再発見ボーナス
processing_status="queued"
)
new_emotion.structure_level = selected.structure_level * 0.8
new_emotion.language_candidates = selected.language_candidates.copy()
new_emotion.pattern_matches = selected.pattern_matches.copy()
new_emotion.associated_memory_paths = selected.associated_memory_paths.copy()
self.unprocessed_emotions.append(new_emotion)
self._update_modality_index(new_emotion)
selected.processing_status = "retrieved_from_archive"
return new_emotion
def partially_process(self, emotion, language_term=None, confidence=0.0, context=None):
"""感情を部分的に処理(アーカイブ参照時のボーナス追加)"""
if emotion not in self.unprocessed_emotions:
return False
if language_term:
emotion.add_language_candidate(language_term, confidence)
if context:
self.learn_language_term(language_term, context)
emotion.structure_level = min(1.0, emotion.structure_level + 0.15)
emotion.processing_status = "partially_processed"
emotion.last_accessed_time = self.current_time
emotion.access_count += 1
if emotion.processing_status == "queued" and emotion.salience < 0.5:
emotion.salience = min(1.0, emotion.salience + 0.1)
if emotion.structure_level >= 0.9:
best_lang = emotion.get_best_language_match()
if best_lang and best_lang["confidence"] >= 0.8:
self.unprocessed_emotions.remove(emotion)
self._update_modality_index(emotion, add=False)
emotion.processing_status = "archived_fully_processed"
self.archived_emotions.append(emotion)
return True
```
コメントログへのアクセス先URIが書かれたWebSocketのデータ(↓こういうの)を、4年間集めてたんだけど、
{"type":"room","data":{"name":"アリーナ","messageServer":{"uri":"wss://msgd.live2.nicovideo.jp/websocket","type":"niwavided"},"threadId":"M.QyofMf3h0ahYa9PujZiwMA","isFirst":true,"waybackkey":"waybackkey","vposBaseTime":"2022-11-21T18:30:00+09:00"}}
https://live.nicovideo.jp/watch/lv338977521
以前から「そのデータからコメントログを全取得する作業を今年とかにやらないとな…」と思ってたが、ニコニコへの大規模攻撃が起こってしまって、さらに嫌な予感がしたがニコ生復活後に的中した。
まだ確認していないけども、自分が集めてたそのデータが全部無効になってしまってるだろうし、何も言えねえ。
(大規模攻撃関係無くいつか「wss://msgd.live2.nicovideo.jp/」が変わってただろうけども、長い事(数年間)そのuriで運用されていたし、もし攻撃されてなければ間に合う可能性もあった訳で…。)
溜め息しか出ない。
やっちまったなあ…。
運営に望む事は「有料会員は過去の生配信のコメントログがダウンロードできる」とか今後そういうサービスしてくれないかな…。はあ。
ちなみに、ニコ生がHTML5プレーヤー以前だった頃のソケット通信によるコメントログ取得って、もうできないよね…。 ちなみにそれもxmlファイルが1年分ぐらい溜めてる…。