SlideShare a Scribd company logo
1 of 45
Download to read offline
MACHINE LEARNING
МАШИННОЕ ОБУЧЕНИЕ ДЛЯ
АНАЛИЗА ТЕКСТОВ
И ВЕБ-МАЙНИНГА
ИВАН БОНДАРЕНКО
АЛЕКСАНДР РАДИОНОВ
ТЕОРИЯ
ВИДЫ ML
• Статистические методы
• Нейронные сети
• Рассуждения по аналогии
• Деревья решений
• Генетические алгоритмы
ИЗВЛЕЧЕНИЕ ФАКТОВ
С САЙТОВ
• Сайты с однотипной структурой
• Разная структура
NAMED ENTITY RECOGNITION
• Определяем классы извлекаемых сущностей
• Размечаем учебный и тестовый корпус
• Обучаем алгоритм
• Извлекаем факты из новых страниц
ЧТО РАСПОЗНАЁМ?
ЧТО РАСПОЗНАЁМ?
ADDR_HOUSE
ADDR_HOUSEADDR_STREET
ADDR_STREET
ADDR_CITY
ADDR_CITY
SCHEDULE
TEL
EMAIL
ORG
КАК РАЗМЕЧАЕМ?
КОРПУС
• 10 асессоров
• Свыше 20 тыс сущностей 11 классов
• 9 тыс организаций
• 8 тыс адресов
• 500 расписаний
• …
BIO-ФОРМАТ
Begin, Inside, Outside
Минздрав B-ORG
Московской I-ORG
области: I-ORG
ул. B-ADDR_STREET
Большая I-ADDR_STREET
Полянка, I-ADDR_STREET
д. B-ADDR_HOUSE
42/2 I-ADDR_HOUSE
1 O
этаж O
CONDITIONAL RANDOM FIELDS
y0
y1
y2
yT-1
yT
yT-2
x1
x2
xT-1
xT
xT-2
- вектор признаков t-го слова
- класс t-го слова
CONDITIONAL RANDOM FIELDS
- признаки t-го слова
- класс t-го слова
ОЦЕНКА КАЧЕСТВА
ПОЛНОТА 69.06
ТОЧНОСТЬ 90.69
ПРАКТИКА
ДАННЫЕ
ДАННЫЕ
ШИНЫ
ДАННЫЕ
ДАННЫЕ
РЕГУЛЯРКИ
(?<=s|[,(])RE[s|-]?(0[0-9]{2})(?=s|[,)])
s?[VZ]?s?Rs?([0-9]{2}[.,][0-9]{1,2})
РЕГУЛЯРКИ
Сотни :(
Полнота ~ 50%
RegEx-Hell
ПИОНЕР
Лексикографические признаки
Морфология
Словари
Корни
Суффиксы / Префиксы
Опциональные слова
ПОЛНОТА 93.74
ТОЧНОСТЬ 97.14
ПОЛНОТА 95.61
ТОЧНОСТЬ 97.52
*
* регулярки ~ 50
ЧТО ХОТИМ
• Сверять данные по существующим фирмам
• Искать новые
НАМ ПРИХОДИТСЯ
• Скачивать много сайтов
• Рендерить страницы в браузере
• Извлекать новые ссылки
• Распознавать сущности
КАК ДЕЛАЕМ
• Docker для контейнеров
• Kubernetes для оркестрирования
KUBERNETES
АРХИТЕКТУРА
Downloader
Scheduler
Extractor
K
A
F
K
A Saver
DOWNLOADER
• Консольный браузер на базе WebKit
• Расстановка ComputedStyle
DOWNLOADER
<h1>
Machine Learning
</h1>
DOWNLOADER
<h1 dgis-ner-left="230" dgis-ner-top="347" dgis-ner-
width="980" dgis-ner-height="122">
Machine Learning
</h1>
EXTRACTOR
Extractor PioNER
POD
RestKafka
Metrics
PIONER
• Сборка, тестирование, обучение на коммит
• Сборка Docker, публикация тоже
• Мониторинг качества
КАЧЕСТВО
КАЧЕСТВО
СКОРОСТЬ
Все сайты из 2ГИС выкачиваются и распознаются за 4 дня
ДЕМО
WE MACHINE LEARNING

More Related Content

Viewers also liked

Recherche Goldens | Crate Training
Recherche Goldens | Crate TrainingRecherche Goldens | Crate Training
Recherche Goldens | Crate TrainingRecherche Goldens
 
The Impact of International Regulation in the Field of Intellectual Property ...
The Impact of International Regulation in the Field of Intellectual Property ...The Impact of International Regulation in the Field of Intellectual Property ...
The Impact of International Regulation in the Field of Intellectual Property ...Tatyana Zorina
 
Tema de redação
Tema de redaçãoTema de redação
Tema de redaçãoFabio Cruz
 
Product Design and Innovation - Nina Kohnen, Covidien
Product Design and Innovation - Nina Kohnen, CovidienProduct Design and Innovation - Nina Kohnen, Covidien
Product Design and Innovation - Nina Kohnen, Covidienmarcus evans Network
 
Michigan Quaternary Bibliography
Michigan Quaternary BibliographyMichigan Quaternary Bibliography
Michigan Quaternary Bibliographycolgan
 
Barnsley mbc approach to green deal
Barnsley mbc approach to green dealBarnsley mbc approach to green deal
Barnsley mbc approach to green dealScott Buckler
 
GREEN CITIZEN’S GUIDE – The Eco-mummy
GREEN CITIZEN’S GUIDE – The Eco-mummyGREEN CITIZEN’S GUIDE – The Eco-mummy
GREEN CITIZEN’S GUIDE – The Eco-mummyCamille Delcour
 
Preguntas eliana y manuela
Preguntas eliana y manuelaPreguntas eliana y manuela
Preguntas eliana y manuelaValen-Kterine
 

Viewers also liked (17)

Expo pixton
Expo pixtonExpo pixton
Expo pixton
 
Recherche Goldens | Crate Training
Recherche Goldens | Crate TrainingRecherche Goldens | Crate Training
Recherche Goldens | Crate Training
 
Ditching
DitchingDitching
Ditching
 
Operations Management
Operations ManagementOperations Management
Operations Management
 
The Impact of International Regulation in the Field of Intellectual Property ...
The Impact of International Regulation in the Field of Intellectual Property ...The Impact of International Regulation in the Field of Intellectual Property ...
The Impact of International Regulation in the Field of Intellectual Property ...
 
Valores (1)
Valores (1)Valores (1)
Valores (1)
 
Tema de redação
Tema de redaçãoTema de redação
Tema de redação
 
Sociologia politica
Sociologia politicaSociologia politica
Sociologia politica
 
Product Design and Innovation - Nina Kohnen, Covidien
Product Design and Innovation - Nina Kohnen, CovidienProduct Design and Innovation - Nina Kohnen, Covidien
Product Design and Innovation - Nina Kohnen, Covidien
 
Michigan Quaternary Bibliography
Michigan Quaternary BibliographyMichigan Quaternary Bibliography
Michigan Quaternary Bibliography
 
Proteccion de datos
Proteccion de datosProteccion de datos
Proteccion de datos
 
Tanax repelex final
Tanax repelex finalTanax repelex final
Tanax repelex final
 
Echt Wiesbaden Partner-Broschüre
Echt Wiesbaden Partner-BroschüreEcht Wiesbaden Partner-Broschüre
Echt Wiesbaden Partner-Broschüre
 
Barnsley mbc approach to green deal
Barnsley mbc approach to green dealBarnsley mbc approach to green deal
Barnsley mbc approach to green deal
 
Proyecto inventario manual
Proyecto inventario manualProyecto inventario manual
Proyecto inventario manual
 
GREEN CITIZEN’S GUIDE – The Eco-mummy
GREEN CITIZEN’S GUIDE – The Eco-mummyGREEN CITIZEN’S GUIDE – The Eco-mummy
GREEN CITIZEN’S GUIDE – The Eco-mummy
 
Preguntas eliana y manuela
Preguntas eliana y manuelaPreguntas eliana y manuela
Preguntas eliana y manuela
 

2GIS Machine learning DevDay