Содержание
- 2. Thinking More Deeply about Data and Computation We’ve seen: semi-structured HTML and unstructured text, represented using
- 3. A First Question: What Are We Trying to Capture? “Structured data should capture the semantics of
- 4. Part of the Goal: Modeling Concepts and Instances The famous example from logic and philosophy, attributed
- 5. Some Starting Points We model knowledge using notions dating back to ancient Greece: Classes, concepts, or
- 6. Modeling Classes, Instances, Properties Using Logical Predicates We can use logical assertions to describe everything. Classes:
- 7. We Can Instead Think of this As Links between Classes + Instances Person Adult Man Aristotle
- 8. We Can Instead Think of this As Links between Classes + Instances Person Adult Man Aristotle
- 9. Entity-Relationship Graphs Model Classes as Named Sets of Linked Instances Person Adult Man Life Stage subclassOf
- 10. Entity-Relationship Graphs: A Syntax for Entities, Properties, Relationships Person Adult Man Life Stage ID Name Birth
- 11. Entities and Relationships Correspond to Relationships or Dataframes! Entity set: represents all of the entities of
- 12. The Tables Let Us Encode a Graph within the Data! Person HasTeacher Aristotle Plato Socrates teacher
- 13. The Tables Let Us Encode a Graph within the Data! Person HasTeacher Aristotle Plato Socrates teacher
- 14. ER is a General Model: A Graph of Entities & Relationships Vyas et al, BMC Genomics
- 15. From the Basics of Entity-Relationship Diagrams to General Data(base) Design Deciding on the entities, relationships, and
- 16. Considering Non-“Flat” Data
- 17. A Common Point of Confusion “Relational data can only capture flat relationships” Not true: it represents
- 18. Hierarchy vs Relations (“NoSQL” vs “SQL”) Sometimes it’s convenient to take data we could codify as
- 19. NoSQL “Not-only SQL” Typically store nested objects, or possibly binary objects, by IDs or keys Note
- 20. Recap: Basic Concepts Knowledge is typically represented as concepts or classes, which can be generally thought
- 21. Let’s Work on Data Modeling, Given a Real Dataset! 1. Extracted data from LinkedIn ~3M people,
- 23. Parsing Even Not-So-Big Data Is Painfully Slow!
- 24. Can We Do Better? Maybe save the data in a way that doesn’t require parsing of
- 25. MongoDB NoSQL DBMS Lets Us Store + Fetch Hierarchical Data client = MongoClient('mongodb+srv://cis545:[email protected]/test?retryWrites=true&w=majority') linkedin_db = client['linkedin']
- 26. Data in MongoDB
- 27. Finding Things, in a Dataframe vs in MongoDB def find_skills_in_list(skill): for post in list_for_comparison: if 'skills'
- 28. How Do We Convert Hierarchical Data to Dataframes? Hierarchical data doesn’t work well for visualization or
- 29. The Basic Idea: Nesting Becomes Links (“Key/Foreign Key”) people experience
- 30. Reassembling through (Outer) Joins pd.read_sql_query("select _id, \'[\' + group_concat(org) + \']\'" +\ " from people left
- 31. Views Sometimes we use a query enough that we want to give its results a name,
- 32. Occasional Considerations: Access and Consistency Sometimes we may need to allow for failures and “undo”… We
- 34. Скачать презентацию




























![Reassembling through (Outer) Joins pd.read_sql_query("select _id, \'[\' + group_concat(org) + \']\'" +\](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/879490/slide-29.jpg)


ПОРТФОЛИО ВОСПИТАТЕЛЯ
Презентация на тему Минойская цивилизация
PHIL 1- Lecture 3 - Week 3 moodle
Железнодорожный тоннель
FINANCIAL ANALYSIS AND
Использование проектной методики в обучении иностранному языку
Система права
Гигиена питания
Гигиена коз и овец
Использование ФЦИОР на уроках физики
Налоговый вычет по ценным бумагам
Доли федеральных телеканалов при национальном и региональном размещении рекламы
Презентация WasteVEM процесса
Фея Флора. Богиня цветов и весны. С приходом весны властвовала над всеми живыми существами. Имя образовано от flos ("цветок"). По леген
Старшов Петр Павлович
Классицизм в литературе
Методическая тема
He’s. She
Программа коррекции синдрова эмоционального выгорания и повышения стрессоустойчивости личности
Пирог Ленивец
Учебный семинар «Формирование универсальных учебных действий на уроках в начальной школе»
Диалог о вредной привычке.
Права та обовязки споживачів
Mother teresa
Удаление третьих моляров верхней и нижней челюсти. Ретенция и дистопия зубов мудрости
Мыс өндіріс қалдықтарынан түсті металл тұздарын алуды жобалау
Персональное предложение по регистрации товарного знака Баранкино для ИП (ООО) Под ключ
Семь дней недели