|
6 | 6 | "source": [
|
7 | 7 | "<header>\n",
|
8 | 8 | " <p style='font-size:36px;font-family:Arial; color:#F0F0F0; background-color: #00233c; padding-left: 20pt; padding-top: 20pt;padding-bottom: 10pt; padding-right: 20pt;'>\n",
|
9 |
| - " Enterprise Feature Store Functions - Getting Started\n", |
| 9 | + " Using the Enterprise Feature Store Functions\n", |
10 | 10 | " <br>\n",
|
11 | 11 | " <img id=\"teradata-logo\" src=\"https://storage.googleapis.com/clearscape_analytics_demo_data/DEMO_Logo/teradata.svg\" alt=\"Teradata\" style=\"width: 125px; height: auto; margin-top: 20pt;\">\n",
|
12 | 12 | " </p>\n",
|
|
324 | 324 | "metadata": {},
|
325 | 325 | "source": [
|
326 | 326 | "<hr style=\"height:2px;border:none;background-color:#00233C;\">\n",
|
327 |
| - "<b style = 'font-size:20px;font-family:Arial;color:#00233C'>2. Setup a Feature Store Repository and Grant access on it to different users. </b>\n" |
| 327 | + "<b style = 'font-size:20px;font-family:Arial;color:#00233C'>3. Setup a Feature Store Repository and Grant access on it to different users. </b>\n" |
328 | 328 | ]
|
329 | 329 | },
|
330 | 330 | {
|
|
400 | 400 | "metadata": {},
|
401 | 401 | "source": [
|
402 | 402 | "<hr style=\"height:2px;border:none;background-color:#00233C;\">\n",
|
403 |
| - "<p style = 'font-size:20px;font-family:Arial;color:#00233C'><b>3. Create and Register objects with FeatureStore </b></p>\n", |
404 |
| - "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>3.1 Create and Register Feature </b>" |
| 403 | + "<p style = 'font-size:20px;font-family:Arial;color:#00233C'><b>4. Create and Register objects with FeatureStore </b></p>\n", |
| 404 | + "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>4.1 Create and Register Feature </b>" |
405 | 405 | ]
|
406 | 406 | },
|
407 | 407 | {
|
|
411 | 411 | "tags": []
|
412 | 412 | },
|
413 | 413 | "source": [
|
414 |
| - "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>3.1.1.Creating a Feature</b></p>" |
| 414 | + "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>4.1.1 Creating a Feature</b></p>" |
415 | 415 | ]
|
416 | 416 | },
|
417 | 417 | {
|
|
458 | 458 | "tags": []
|
459 | 459 | },
|
460 | 460 | "source": [
|
461 |
| - "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>3.1.2 Register Feature with FeatureStore `fs` </b></p>" |
| 461 | + "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>4.1.2 Register Feature with FeatureStore `fs` </b></p>" |
462 | 462 | ]
|
463 | 463 | },
|
464 | 464 | {
|
|
496 | 496 | "metadata": {},
|
497 | 497 | "source": [
|
498 | 498 | "<hr style=\"height:1px;border:none;background-color:#00233C;\">\n",
|
499 |
| - "<p style = 'font-size:18px;font-family:Arial;color:#00233C'><b>3.2 Create and Register Entity </b></p>" |
| 499 | + "<p style = 'font-size:18px;font-family:Arial;color:#00233C'><b>4.2 Create and Register Entity </b></p>" |
500 | 500 | ]
|
501 | 501 | },
|
502 | 502 | {
|
503 | 503 | "cell_type": "markdown",
|
504 | 504 | "metadata": {},
|
505 | 505 | "source": [
|
506 |
| - "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>3.2.1 Creating an Entity </b></p>" |
| 506 | + "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>4.2.1 Creating an Entity </b></p>" |
507 | 507 | ]
|
508 | 508 | },
|
509 | 509 | {
|
|
530 | 530 | "cell_type": "markdown",
|
531 | 531 | "metadata": {},
|
532 | 532 | "source": [
|
533 |
| - "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>3.2.2 Register Entity with FeatureStore `fs` </b></p>" |
| 533 | + "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>4.2.2 Register Entity with FeatureStore `fs` </b></p>" |
534 | 534 | ]
|
535 | 535 | },
|
536 | 536 | {
|
|
568 | 568 | "metadata": {},
|
569 | 569 | "source": [
|
570 | 570 | "<hr style=\"height:1px;border:none;background-color:#00233C;\">\n",
|
571 |
| - "<p style = 'font-size:18px;font-family:Arial;color:#00233C'><b>3.3 Create and Register DataSource </b></p>\n", |
| 571 | + "<p style = 'font-size:18px;font-family:Arial;color:#00233C'><b>4.3 Create and Register DataSource </b></p>\n", |
572 | 572 | "<li style = 'font-size:16px;font-family:Arial;color:#00233C'>DataSource can be either created from a SQL Query or from Teradata DataFrame.</li>\n",
|
573 | 573 | "<li style = 'font-size:16px;font-family:Arial;color:#00233C'>DataSource has argument `timestamp_col_name` which accepts the name of Column in DataSource which indicates when the corresponding record is created. This is much helpfull to get historic dataset. </li>"
|
574 | 574 | ]
|
|
577 | 577 | "cell_type": "markdown",
|
578 | 578 | "metadata": {},
|
579 | 579 | "source": [
|
580 |
| - "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>3.3.1 Creating a DataSource from Teradata DataFrame</b></p>" |
| 580 | + "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>4.3.1 Creating a DataSource from Teradata DataFrame</b></p>" |
581 | 581 | ]
|
582 | 582 | },
|
583 | 583 | {
|
|
604 | 604 | "cell_type": "markdown",
|
605 | 605 | "metadata": {},
|
606 | 606 | "source": [
|
607 |
| - "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>3.3.2 Creating a DataSource from SQL Query</b></p>" |
| 607 | + "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>4.3.2 Creating a DataSource from SQL Query</b></p>" |
608 | 608 | ]
|
609 | 609 | },
|
610 | 610 | {
|
|
631 | 631 | "cell_type": "markdown",
|
632 | 632 | "metadata": {},
|
633 | 633 | "source": [
|
634 |
| - "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>3.3.3 Register DataSource with FeatureStore `fs`</b></p>" |
| 634 | + "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>4.3.3 Register DataSource with FeatureStore `fs`</b></p>" |
635 | 635 | ]
|
636 | 636 | },
|
637 | 637 | {
|
|
669 | 669 | "metadata": {},
|
670 | 670 | "source": [
|
671 | 671 | "<hr style=\"height:1px;border:none;background-color:#00233C;\">\n",
|
672 |
| - "<p style = 'font-size:18px;font-family:Arial;color:#00233C'><b>3.4 Create and Register FeatureGroup </b></p>\n", |
| 672 | + "<p style = 'font-size:18px;font-family:Arial;color:#00233C'><b>4.4 Create and Register FeatureGroup </b></p>\n", |
673 | 673 | "<li style = 'font-size:16px;font-family:Arial;color:#00233C'>FeatureGroup can be created using Teradata DataFrame.</li>\n",
|
674 | 674 | "<li style = 'font-size:16px;font-family:Arial;color:#00233C'>FeatureGroup can be created using SQL Query. </li>\n",
|
675 | 675 | "<li style = 'font-size:16px;font-family:Arial;color:#00233C'>FeatureGroup can be created using objects of Feature, Entity, DataSource. </li>\n"
|
|
679 | 679 | "cell_type": "markdown",
|
680 | 680 | "metadata": {},
|
681 | 681 | "source": [
|
682 |
| - "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>3.4.1 Creating a FeatureGroup from Teradata DataFrame\n", |
| 682 | + "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>4.4.1 Creating a FeatureGroup from Teradata DataFrame\n", |
683 | 683 | "</b></p>"
|
684 | 684 | ]
|
685 | 685 | },
|
|
711 | 711 | "cell_type": "markdown",
|
712 | 712 | "metadata": {},
|
713 | 713 | "source": [
|
714 |
| - "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>3.4.2 Creating a FeatureGroup from SQL Query\n", |
| 714 | + "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>4.4.2 Creating a FeatureGroup from SQL Query\n", |
715 | 715 | "</b></p>"
|
716 | 716 | ]
|
717 | 717 | },
|
|
743 | 743 | "cell_type": "markdown",
|
744 | 744 | "metadata": {},
|
745 | 745 | "source": [
|
746 |
| - "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>3.4.3 Creating a FeatureGroup using objects of Feature, Entity and DataSource\n", |
| 746 | + "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>4.4.3 Creating a FeatureGroup using objects of Feature, Entity and DataSource\n", |
747 | 747 | "</b></p>"
|
748 | 748 | ]
|
749 | 749 | },
|
|
770 | 770 | "cell_type": "markdown",
|
771 | 771 | "metadata": {},
|
772 | 772 | "source": [
|
773 |
| - "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>3.4.4 Register FeatureGroup with FeatureStore `fs`\n", |
| 773 | + "<p style = 'font-size:16px;font-family:Arial;color:#00233C'><b>4.4.4 Register FeatureGroup with FeatureStore `fs`\n", |
774 | 774 | "</b></p>"
|
775 | 775 | ]
|
776 | 776 | },
|
|
829 | 829 | "metadata": {},
|
830 | 830 | "source": [
|
831 | 831 | "<hr style=\"height:2px;border:none;background-color:#00233C;\">\n",
|
832 |
| - "<b style = 'font-size:20px;font-family:Arial;color:#00233C'>4. Searching inside Teradata Enterprise Feature Store </b>" |
| 832 | + "<b style = 'font-size:20px;font-family:Arial;color:#00233C'>5. Searching inside Teradata Enterprise Feature Store </b>" |
833 | 833 | ]
|
834 | 834 | },
|
835 | 835 | {
|
|
880 | 880 | "metadata": {},
|
881 | 881 | "source": [
|
882 | 882 | "<hr style=\"height:2px;border:none;background-color:#00233C;\">\n",
|
883 |
| - "<b style = 'font-size:20px;font-family:Arial;color:#00233C'>5. Modifying FeatureStore Objects </b>" |
| 883 | + "<b style = 'font-size:20px;font-family:Arial;color:#00233C'>6. Modifying FeatureStore Objects </b>" |
884 | 884 | ]
|
885 | 885 | },
|
886 | 886 | {
|
|
902 | 902 | "metadata": {},
|
903 | 903 | "source": [
|
904 | 904 | "<hr style=\"height:1px;border:none;background-color:#00233C;\">\n",
|
905 |
| - "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>5.1 Update description for Feature PatientAge </b>" |
| 905 | + "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>6.1 Update description for Feature PatientAge </b>" |
906 | 906 | ]
|
907 | 907 | },
|
908 | 908 | {
|
|
942 | 942 | "metadata": {},
|
943 | 943 | "source": [
|
944 | 944 | "<hr style=\"height:1px;border:none;background-color:#00233C;\">\n",
|
945 |
| - "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>5.2 Update description for Entity PatientEntity</b>" |
| 945 | + "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>6.2 Update description for Entity PatientEntity</b>" |
946 | 946 | ]
|
947 | 947 | },
|
948 | 948 | {
|
|
992 | 992 | "metadata": {},
|
993 | 993 | "source": [
|
994 | 994 | "<hr style=\"height:1px;border:none;background-color:#00233C;\">\n",
|
995 |
| - "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>5.3 Update timestamp_col_name for DataSource PatientProfileSource</b>" |
| 995 | + "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>6.3 Update timestamp_col_name for DataSource PatientProfileSource</b>" |
996 | 996 | ]
|
997 | 997 | },
|
998 | 998 | {
|
|
1042 | 1042 | "metadata": {},
|
1043 | 1043 | "source": [
|
1044 | 1044 | "<hr style=\"height:1px;border:none;background-color:#00233C;\">\n",
|
1045 |
| - "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>5.4 Update FeatureGroup</b>\n", |
| 1045 | + "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>6.4 Update FeatureGroup</b>\n", |
1046 | 1046 | "<li style = 'font-size:16px;font-family:Arial;color:#00233C'> Note: Updating FeatureGroup will update the underlying Feature(s), DataSource, Entity.</li>"
|
1047 | 1047 | ]
|
1048 | 1048 | },
|
|
1108 | 1108 | "metadata": {},
|
1109 | 1109 | "source": [
|
1110 | 1110 | "<hr style=\"height:1px;border:none;background-color:#00233C;\">\n",
|
1111 |
| - "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>5.5 How to add a new Feature or change Entity or DataSource to an Existing FeatureGroup</b>\n", |
| 1111 | + "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>6.5 How to add a new Feature or change Entity or DataSource to an Existing FeatureGroup</b>\n", |
1112 | 1112 | "<li style = 'font-size:16px;font-family:Arial;color:#00233C'> You can always modify FeatureGroup with `FeatureGroup.apply()` method.</li>\n",
|
1113 | 1113 | "<li style = 'font-size:16px;font-family:Arial;color:#00233C'> Note: `FeatureGroup.apply()` will not update details to `repo`. You should do `FeatureStore.apply()` to update repo.</li>\n"
|
1114 | 1114 | ]
|
|
1160 | 1160 | "metadata": {},
|
1161 | 1161 | "source": [
|
1162 | 1162 | "<hr style=\"height:1px;border:none;background-color:#00233C;\">\n",
|
1163 |
| - "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>5.6 How to remove a new Feature from an Existing FeatureGroup</b>\n", |
| 1163 | + "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>6.6 How to remove a new Feature from an Existing FeatureGroup</b>\n", |
1164 | 1164 | "<li style = 'font-size:16px;font-family:Arial;color:#00233C'> You can use `FeatureGroup.remove()` method to remove object from FeatureGroup.</li>\n",
|
1165 | 1165 | "<li style = 'font-size:16px;font-family:Arial;color:#00233C'> Note: `FeatureGroup.remove()` will not update details to `repo`. You should do `FeatureStore.apply()` to update repo.</li>\n"
|
1166 | 1166 | ]
|
|
1210 | 1210 | "metadata": {},
|
1211 | 1211 | "source": [
|
1212 | 1212 | "<hr style=\"height:2px;border:none;background-color:#00233C;\">\n",
|
1213 |
| - "<b style = 'font-size:20px;font-family:Arial;color:#00233C'>6. Combining multiple FeatureGroups </b>" |
| 1213 | + "<b style = 'font-size:20px;font-family:Arial;color:#00233C'>7. Combining multiple FeatureGroups </b>" |
1214 | 1214 | ]
|
1215 | 1215 | },
|
1216 | 1216 | {
|
|
1380 | 1380 | "metadata": {},
|
1381 | 1381 | "source": [
|
1382 | 1382 | "<hr style=\"height:2px;border:none;background-color:#00233C;\">\n",
|
1383 |
| - "<b style = 'font-size:20px;font-family:Arial;color:#00233C'>7. Archive and Delete objects in FeatureStore </b>" |
| 1383 | + "<b style = 'font-size:20px;font-family:Arial;color:#00233C'>8. Archive and Delete objects in FeatureStore </b>" |
1384 | 1384 | ]
|
1385 | 1385 | },
|
1386 | 1386 | {
|
|
1413 | 1413 | "metadata": {},
|
1414 | 1414 | "source": [
|
1415 | 1415 | "<hr style=\"height:1px;border:none;background-color:#00233C;\">\n",
|
1416 |
| - "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>7.1 Archive a Feature. Delete the archived Feature.</b>\n" |
| 1416 | + "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>8.1 Archive a Feature. Delete the archived Feature.</b>\n" |
1417 | 1417 | ]
|
1418 | 1418 | },
|
1419 | 1419 | {
|
|
1482 | 1482 | "metadata": {},
|
1483 | 1483 | "source": [
|
1484 | 1484 | "<hr style=\"height:1px;border:none;background-color:#00233C;\"> \n",
|
1485 |
| - "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>7.2 Archive a FeatureGroup. Delete the archived objects.</b>" |
| 1485 | + "<b style = 'font-size:18px;font-family:Arial;color:#00233C'>8.2 Archive a FeatureGroup. Delete the archived objects.</b>" |
1486 | 1486 | ]
|
1487 | 1487 | },
|
1488 | 1488 | {
|
|
1736 | 1736 | "metadata": {},
|
1737 | 1737 | "source": [
|
1738 | 1738 | "<hr style=\"height:2px;border:none;background-color:#00233C;\">\n",
|
1739 |
| - "<b style = 'font-size:20px;font-family:Arial;color:#00233C'>8. Creating Datasets and historic Datasets for ML models </b>\n" |
| 1739 | + "<b style = 'font-size:20px;font-family:Arial;color:#00233C'>8.3 Creating Datasets and historic Datasets for ML models </b>\n" |
1740 | 1740 | ]
|
1741 | 1741 | },
|
1742 | 1742 | {
|
|
0 commit comments