Aspiring Data Science – Telegram
Aspiring Data Science
386 subscribers
465 photos
12 videos
12 files
2.15K links
Заметки экономиста о программировании, прогнозировании и принятии решений, научном методе познания.
Контакт: @fingoldo

I call myself a data scientist because I know just enough math, economics & programming to be dangerous.
Download Telegram
Forwarded from partially unsupervised
Когда-то давно я нахваливал Streamlit, в свое время наделал на нем пару десятков приложений, и пересадил на него кучу коллег. Но настало время двигаться дальше, и потому сегодня хочу порекомендовать читателям NiceGUI.

Вкатиться в NiceGUI немного сложнее, чем в Streamlit: невозможно просто прокатиться мордой по клавиатуре и получить работающее приложение. Но если повозиться чуть больше, то результат получается сильно более зрелым:
- настоящие отдельные фронтенд (Vue/Quasar + Tailwind) и бэкенд (Fastapi), в которые можно провалиться для доработки (а можно и не вникать и оставаться в высокоуровневом python коде);
- вебсокеты вместо перезапуска всего приложения на каждый чих;
- нормальная поддержка нескольких параллельных пользователей благодаря нескольким гранулярным видам хранения стейта вместо одного st.session_state;
- к этому можно писать тесты!

Вайбкодить на NiceGUI сложнее, чем на стримлите, но мы над этим работаем 👀

Этот пост не имеет никакого отношения к тому, что Streamlit уже давно часть Snowflake, а я сейчас работаю в Databricks.
#neuralink

"о словам Роба Грейнера (Rob Greiner), который получил мозговой имплант всего неделю назад, он уже научился управлять курсором на экране компьютера и освоил пару компьютерных игр, но рассчитывает на дальнейший быстрый прогресс в этой сфере. Шестой по счёту пациент Neuralink с мозговым имплантом утратил подвижность четырёх конечностей в декабре 2022 года в дорожно-транспортном происшествии.

Грейнер опубликовал в соцсети X два видео, на которых он играет в игры на ноутбуке «силой мысли», и поблагодарил команду компании, врачей и близких за поддержку. Также он отметил, что не использует никаких «вспомогательных технологий», кроме Neuralink.

Напомним, что среди шестерых пациентов Neuralink, переживших операцию по вживлению мозгового импланта, один страдает боковым амиотрофическим склерозом (ALS), что фактически лишает его возможности разговаривать, но при помощи импланта он смог набирать текст на смартфоне и компьютере, который затем удалось преобразовать в речевое сообщение с имитацией его голоса при помощи нейросети.

Кроме того, Neuralink уже испытывает имплант BlindSight, позволяющий вернуть зрение утратившим его людям, но пока на обезьяне, которая недавно, как предполагают авторы эксперимента, смогла увидеть с его помощью синтезированный на компьютере объект. В следующем году Neuralink надеется начать испытания данного импланта на людях. Примечательно, что в эксперименте готова принять участие одна из клиник ОАЭ."

https://3dnews.ru/1124694/shestoy-patsient-s-mozgovim-implantom-neuralink-poluchil-vozmognost-igrat-na-kompyutere
#python #codegems

Как узнать, кто тянет вас на дно?! )

python -X importtime -c "from mymodule import *" 2>import_times.txt
Forwarded from asisakov
Теория покера

Если погуглить форумы про покер, то в большинстве тредов эта игра воспринимается как некоторая система, в которой есть определенность. Хотя казалось бы, что карты всегда раздаются случайно. Считается, что успех в игре зависит от глубокого понимания математики, статистики и психологии. Даже существует целая дисциплина - теория покера.

С точки зрения человеческих способностей, тут хотелось бы упомянуть в первую очередь память - попробуйте без подсказок держать в голове все вероятностные исходы раздач, когда известна информация только о нескольких картах среди большого числа тех, что сейчас разыгрываются.

При этом, важно не только помнить вероятности по вышедшим картам и например историю сыгранных партий, но и отыскивать и запоминать паттерны поведения соперников в различных ситуациях - кто и как играл в разных позициях за столом.

Где здесь статистика и вероятности

Покер построен на математических расчетах:

▫️Вероятность получить определенную стартовую руку
▫️Шансы улучшить руку на флопе, терне, ривере
▫️Pot odds (соотношение размера банка к ставке)
▫️Implied odds (потенциальные шансы с учетом будущих ставок)

Продвинутая аналитика:

▫️EV (Expected Value) — матожидание каждого решения
▫️ICM (Independent Chip Model) — модель оценки фишек в денежном выражении
▫️GTO (Game Theory Optimal) — теоретически оптимальная стратегия, если мы не знаем стили игры соперников

Покерные движки и софт (обычно всегда платный софт):

Солверы (решатели):
▫️PioSOLVER - рассчитывает GTO-стратегии
▫️MonkerSolver - анализирует сложные споты
▫️SimplePostflop - анализ постфлопа

Трекеры и анализаторы (солверы там тоже есть):
▫️PokerTracker - сбор и анализ статистики
▫️Holdem Manager - детальная аналитика игры
▫️ICMIZER - расчеты для турнирных ситуаций

Очевидно, что программ больше, я просто привел рандомный список из того, что насоветовала GPT

Где тут аналитика

Статистические показатели:

▫️VPIP (Voluntarily Put $ In Pot) - частота вложений в банк
▫️PFR (Pre-Flop Raise) - показатель агрессивности игрока
▫️3-bet% - частота ререйзов
▫️C-bet% - продолженные ставки на флопе

Позиционная аналитика:

▫️Статистика по каждой позиции за столом
▫️Анализ прибыльности в разных ситуациях
▫️Частота блефов в зависимости от позиции

Аналитика психологии:

▫️Тайминг ставок (время на принятие решения)
▫️Поведение в стрессовых или типичных ситуациях
▫️Тильт-контроль

Вообще, покер идеально подходит для изучения стратегических взаимодействий и развития навыков принятия решений в условиях неопределенности. Еще сверху это присыпается умением в риск-менеджмент и проработку поведения под эмоциональным давлением. В современное время теория покера включает и матмодели на основе теории игр, и AI-системы и ML алгоритмы, и даже поведенческие исследования

Покер давно перестал быть просто игрой. Это полноценная научная дисциплина, где успех зависит от глубокого понимания математики, умения анализировать данные и принимать оптимальные решения в условиях неопределенности.

Ну и напоследок ссылочка на открытый курс по теории покера от MIT. Весь пост родился вообще после того, как я нашел курс в рекомендациях ютуба. Очень круто просто понять, в каких случаях может пригодиться знание статистики и математики.

Надеюсь, было интересно ознакомиться.

Важно: в азартные игры играть не рекомендую!

#math #statistics #softskills #interesting
Please open Telegram to view this post
VIEW IN TELEGRAM
1
#games

"С точки зрения геймплея Pera Coda предложит принимать значимые решения, участвовать в диалогах с выбором реплик и разгадывать многослойные головоломки, связанные с окружением.

Обещают насыщенный и глубоко психологичный сюжет, элементы неонуарного повествования, сюрреалистичную графику, доступный и интуитивный геймплей, а также перевод на русский язык."

https://3dnews.ru/1124957/vdohnovlyonnoe-disco-elysium-misticheskoe-priklyuchenie-pera-coda-otpravit-issledovat-syurrealisticheskiy-stambul-i-glubini-sobstvennoy-psihiki
#medicine #gpt #ai #healthcare

Цепочка дебатов?! Крутая идея!

"-Ох уж эти хирурги, им бы всё резать. Держи, вот тебе таблетки - уши сами отвалятся!" ))

"MAI-DxO работает по методу «оркестратора данных», формируя своеобразный консилиум из пяти ИИ-агентов, выступающих в роли виртуальных врачей с разными специализациями. Как поясняет Financial Times, эти агенты взаимодействуют между собой, обсуждают варианты и совместно принимают решение. Для проверки возможностей системы её протестировали на 304 самых сложных клинических случаях, описанных в New England Journal of Medicine, когда диагноз удавалось поставить лишь опытным специалистам.

В испытаниях использовалась новая методика, получившая название «цепочка дебатов» (chain-of-debate), которая позволяет проследить ход мыслей алгоритма и сделать его логику прозрачной. В качестве основы использовались крупные языковые модели от OpenAI, Meta, Anthropic, Google, xAI и DeepSeek. Лучший результат показала модель o3 от OpenAI, правильно решившая 85,5 % поставленных медицинских задач. Для сравнения: у реальных врачей этот показатель составил около 20 %, однако в ходе тестирования они не имели доступа к справочникам и не могли консультироваться с коллегами — что в реальных условиях могло бы повысить их эффективность. Примечательно, что ИИ-агенты учитывали и экономические аспекты диагностики, сокращая количество ненужных тестов и теоретически экономя в некоторых случаях сотни тысяч долларов.

Отмечается, что технология может быть внедрена в ближайшее время в такие продукты Microsoft, как Copilot и Bing, которые ежедневно обрабатывают около 50 миллионов запросов, связанных со здоровьем. По словам Сулеймана, компания в целом приближается к созданию таких ИИ-моделей, которые будут не просто немного лучше человека, а значительно превосходить его по скорости, стоимости и точности — и это станет настоящим прорывом. Он также добавил, что, несмотря на наилучшие результаты модели OpenAI, Microsoft сохраняет нейтралитет в отношении используемых ИИ-моделей, поскольку ключевым компонентом системы остаётся сам оркестратор MAI-DxO."

https://3dnews.ru/1125184/microsoft-ispitala-iidoktora-maidxo-kotoriy-stavit-diagnozi-v-4-raza-tochnee-vrachey
#ufo #aliens

Смотрю и прям ожидаю, что кто-то из заседающих в один прекрасный момент снимет маску человека, а под ней...
Даже не особо бы удивился!

Хотя как же так, нам же Виббе и Сурдин объяснили, что это всё глюки и метеозонды, а эти тупыые американцы какие-то заседания конгресса собирают...

https://www.youtube.com/watch?v=fytpesDRc50
#ufo #nhi #aliens

Изучаю сейчас материалы этого и прежнего слушаний Конгресса США по НЛО. Это просто обалдеть.

Получается, в Минобороны США уже десятилетиями действуют засекреченные от общественности, и даже Конгресса, спецпрограммы по изучению НЛО, под зонтиком этой Immaculate Constellation.

Заслушиваемые, в т.ч. бывший спецагент, затем директор, в военном подразделении по анализу данных, также бывший военный адмирал, утверждают, что Минобороны США получены и изучаются материальные образцы внеземной технологии.

В том числе биологические образцы. А как именно изучаются и для чего используются, на этом они говорят, что могут это разгласить только на непубличной части слушания.

Я всё правильно слышу и вижу? Протрите мне уши и глаза.

Во-первых, это не те люди, которые просто так бросаются словами.

Witnesses:

* Rear Adm. Tim Gallaudet (Ret.), former Commander, Navy Meteorology and Oceanography Command
* Mr. Lue Elizondo, former Director, Advanced Aerospace Threat Identification Program (AATIP)
* Mr. Michael Shellenberger, Founder and Journalist, *Public*
* Mr. Michael Gold, former NASA official and member of the NASA UAP Independent Study Team

Во-вторых, это не то место, где можно без уголовных последствий давать ложные показания под присягой.

https://www.youtube.com/watch?v=v4-GcS1UQyg
😁1
#ufo #nhi #aliens


Rep. Burlison: So if that material exists today, who's in possession?

Mr. Elizondo: Sir, I wouldn't be able to have that conversation in an open hearing. We'd probably have to have that...

Rep. Burlison: Okay. My question to you then is, if we were in a secure setting, if we were in a SCIF, would you be able to provide or get access to something—whether it's visuals or material that we could put our hands on, or biologics—that would convince me, that would show me that we have non-human origins?

Mr. Elizondo: Sir, that decision would not be mine. That would be up to the gatekeepers still in the U.S. government.

Rep. Burlison: And who would we... so if you were in our shoes, where would you go from here? How would you get that information? A lot of times, we just don't know who to ask because we don't know where to go next. So if you were in our shoes, where would you go?

Mr. Elizondo: Well, I prefer to answer that question in a closed session.

...

Mr. Elizondo: I am, sir, aware of the reporting that biologics have been recovered. Again, my focus was more nuts and bolts, looking at the physical aspects of these phenomena, how they interacted around military equities and nuclear equities. So I'm certainly not a medical expert. I would not be able to probably provide you a whole lot of value in that, simply because I don't have the expertise.

Rep. Burlison: Was anything described as us having possession of bodies?

Mr. Elizondo: Yes.
#ufo #nhi #aliens

Chairwoman Mace: Thank you. I move to allow myself and the ranking member five additional minutes for questions. Without objection, so ordered. Mr. Elizondo, were you read into the Immaculate Constellation program?

Mr. Elizondo: I would not be authorized to confirm nor deny the existence of any ongoing or past program, especially as it relates to a special access program, either by name or trigraph.
...

Mr. Elizondo: No, I didn't say that, ma'am. Lockheed Martin and others do quite a bit of work, both in our atmosphere, in space, and even underwater. There are certain efforts... It's a tough question you're asking, putting me on the spot here.

Chairwoman Mace: I'm looking for the answer.

Mr. Elizondo: Yes, ma'am. No, they are involved in a lot. I would rather let Lockheed Martin explain the different domains that they are involved with. I'm probably not authorized to discuss that, but they are involved in a lot of different areas and domains.

...

Rep. Ogles: So I think it's reasonable to conclude that if there is a threat to our personnel who are serving our country faithfully, that there should be oversight.

Adm. Gallaudet: 100%, Congressman. And in fact, that's the one thing that we've not talked about enough during this hearing: the fact that the government, the executive branch, not sharing with Congress what it knows about UAP infringes on your legislative and oversight responsibilities to such an extent that it's very concerning. I mean, if you look at national security or intelligence or foreign affairs or appropriations, you all have oversight and legislative responsibility regarding those. This UAP issue may be the greatest issue of our time, and it's being hid from you.
#ufo #nhi #aliens

"This hearing is intended to help Congress and the American people to learn the extent of the programs and activities our government has engaged in with respect to UAPs and what knowledge it has yielded. This includes, of course, any knowledge of extraterrestrial life or technology of non-human origin. If government-funded research on UAPs has not yielded any useful knowledge, we also need to know those facts. Taxpayers deserve to know how much has been invested, how much has been spent. They shouldn't be kept in the dark to spare the Pentagon a little bit of embarrassment.

The reality is, despite their enormous taxpayer-funded budgets, the transparency of the Defense Department and the intelligence community have long been abysmal. The Pentagon has failed six consecutive audits. In fact, it's never actually passed one. Adding to this is a runaway overclassification of documents and materials, a reluctance to declassify materials when appropriate, and at times, an outright refusal to share critical information with Congress. In short, it's not a track record that instills trust.

So, Congress has tried in recent years to lift the veil and find out if information about UAPs is being withheld not only from the American public but also from their elected representatives in Congress. Part of the transparency effort was legislation that created in the Pentagon the All-domain Anomaly Resolution Office, or AARO. But the new office is struggling to get its footing. A recent statutorily required report from AARO intended to illuminate the government's historic assessment of UAPs was heavily criticized by those seeking UAP transparency. The report has stoked suspicions that AARO is unable, or perhaps unwilling, to bring forward the truth about the government's activities concerning UAPs. I am disturbed that AARO itself lacks transparency; even its budget is kept from the public.

So, if there is no "there there," are we spending money on it, and by how much? Why the secrecy if it's really no big deal and there's nothing there? Why hide it from the American people? Because I'm not a mathematician, but I can tell you that doesn't add up."
#ufo #nhi #aliens

"I'm deeply alarmed by the reporting of the massive drone swarm that flew over Langley Air Force Base in Virginia last December. Langley is the home of the First Fighter Wing, which maintains half of the F-22s in the U.S. Air Force inventory. Reports of this incident indicate these drones were roughly 20 feet long, flying more than 100 miles an hour at an altitude of over 3,000 feet. Yet the origin of these drones and their operators remains a mystery. This incident and other sightings near sensitive military installations highlight the complexity of the UAP challenge facing our intelligence, defense, and homeland security committees. Whether these phenomena are the result of foreign adversaries developing advanced technologies or something else entirely, we must take them seriously, investigate them thoroughly, and assess their implications on national defense.

The repeated UAP sightings around sensitive military sites underscore the need for innovative defensive strategies beyond traditional measures. They also highlight the urgent need for updated policies to address emerging threats, as well as more effective inter-agency cooperation and intelligence sharing. However, none of this is going to be possible without transparency. For far too long, critical information about UAPs has been either classified or ignored, leaving the American public and key congressmen without the clarity needed to make informed decisions. Declassifying reports and fostering a more open dialogue about UAPs will not only increase public trust but also encourage collaboration between government, the scientific community, and our allies. Quite frankly, there have been things that have been kept secret that are old enough that there is no reason they shouldn't be released, regardless of any so-called private information.

A transparent approach will allow us to share insights, identify patterns, and develop new strategic defenses. As we continue to investigate these phenomena, we must do so with a mindset of protecting our country, advancing scientific discovery, and upholding the trust of the American people, who right now, I don't think have trust. It's just obvious. I don't have trust. We cannot shy away from the unknown, especially when the stakes are so high. I look forward to discussing these matters with the witnesses today. I'm hopeful we can learn from their testimony and come out of this hearing with actionable ideas to advance UAP transparency. Actually, the idea is just to say, in my mind, go back 15 years and everything has to be released. I'm hopeful that we can learn from their testimony and come out of this hearing, and with that, I yield back."
#ufo #nhi #aliens

Mr. Elizondo: Greetings, Chairwoman Mace, Chairman Grothman, Ranking Members Connolly and Garcia, and members of the committee. It is my honor and privilege to testify before you on the issue of Unidentified Anomalous Phenomena, formerly known as UFOs. On behalf of our brave men and women in uniform and across the intelligence community, as well as my fellow Americans who have awaited this day, thank you for your leadership on this important matter.

Let me be clear: UAP are real. Advanced technologies not made by our government or any other government are monitoring sensitive military installations around the globe. Furthermore, the U.S. is in possession of UAP technologies, as are some of our adversaries. I believe we are in the midst of a multi-decade, secretive arms race—one funded by misallocated taxpayer dollars and hidden from our elected representatives and oversight bodies.

For many years, I was entrusted with protecting some of our nation's most sensitive programs. In my last position, I managed a special access program on behalf of the White House and the National Security Council. As such, I appreciate the need to protect certain sensitive intelligence and military information. I consider my oath to protect secrets as sacred, and I will always put the safety of the American people first.

With that said, I also understand the consequences of excessive secrecy and stove-piping. Nowhere was this more apparent than in the aftermath of 9/11, which many of us remember all too well. I believe that America's greatness depends on three elements: A) a watchful Congress, B) a responsive executive branch, and C) an informed public. Over the last decade and a half, I learned that certain UAP programs were, and are, operating without any of these elements. Although much of my government work on the UAP subject still remains classified, excessive secrecy has led to grave misdeeds against loyal civil servants, military personnel, and the public, all to hide the fact that we are not alone in the cosmos.
#ufo #nhi #aliens


Chairwoman Mace: Okay. Are you read into secret UAP crash retrieval programs?

Mr. Elizondo: We would have to have a conversation in a closed session, ma'am. I signed documentation three years ago that restricts my ability to discuss specifically crash retrievals. I submitted for my book through the DOPSR process, which took a year for it to be reviewed, and what is in the book is what I was told I'm allowed to talk about.

Chairwoman Mace: Has the government conducted secret UAP crash retrieval programs, yes or no?

Mr. Elizondo: Yes.

Chairwoman Mace: Were they designed to identify and reverse-engineer alien craft, yes or no?

Mr. Elizondo: Yes.

Chairwoman Mace: Do any U.S. contractors have the same...?

Mr. Elizondo: I would prefer to address that in a closed session, ma'am.

Chairwoman Mace: In your book, you mentioned government employees who've been injured by UAPs, placed on leave, and are receiving government compensation for their injuries. Is that correct?

Mr. Elizondo: That is correct.

Chairwoman Mace: How can the government deny we have recovered craft if they're paying people because they've been injured by recovered craft?

Mr. Elizondo: Ma'am, that's a great question. That's why I think we're here again, because I've seen the documentation by the U.S. government for several of these individuals who have sustained injuries as a result of a UAP incident.
...

Chairwoman Mace: Okay. What's the key takeaway, just in a few seconds, about the Immaculate Constellation document you provided us today?

Mr. Shellenberger: I think that what the American people need to know is that the U.S. military and intelligence community are sitting on a huge amount of visual and other information—still photos, video photos, other sensor information—and they have for a very long time. And it's not those fuzzy photos and videos that we've been given. There's very clear, high-resolution...

Chairwoman Mace: How many visuals, graphics, videos, photos?

Mr. Shellenberger: I mean, I've been told hundreds, you know, maybe thousands. I also wanted to say, because there was some conversation around concern about the revealing of these materials revealing the source collections, but some of these are shot from helicopters using normal videos of oceans. I just think that's absurd that somehow you're going to be revealing some secret U.S. technology by revealing that you've photographed orbs off the coast of Kuwait.
#stocks #nvidia

"За четыре года рыночная стоимость компании выросла почти в восемь раз — с $500 млрд в 2021 году до почти четырёх триллионов сейчас.

По данным ведущего мирового поставщика инфраструктуры и данных для финансовых рынков LSEG, сейчас Nvidia стоит больше, чем фондовые рынки Канады и Мексики вместе взятые, а также превосходит совокупную капитализацию всех публичных компаний Великобритании. Акции Nvidia торговались с коэффициентом P/E (цена/прибыль) на уровне 32, что ниже среднего показателя в 41 за последние пять лет. Это говорит о том, что рост прибыли компании опережает даже существенное повышение курса её акций."

https://3dnews.ru/1125381/nvidia-segodnya-moget-otobrat-u-apple-zvanie-samoy-dorogoy-kompanii-v-istorii