Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Read by thought-leaders and decision-makers around the world. Phone Number: +1-650-246-9381 Email: pub@towardsai.net
228 Park Avenue South New York, NY 10003 United States
Website: Publisher: https://towardsai.net/#publisher Diversity Policy: https://towardsai.net/about Ethics Policy: https://towardsai.net/about Masthead: https://towardsai.net/about
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Founders: Roberto Iriondo, , Job Title: Co-founder and Advisor Works for: Towards AI, Inc. Follow Roberto: X, LinkedIn, GitHub, Google Scholar, Towards AI Profile, Medium, ML@CMU, FreeCodeCamp, Crunchbase, Bloomberg, Roberto Iriondo, Generative AI Lab, Generative AI Lab Denis Piffaretti, Job Title: Co-founder Works for: Towards AI, Inc. Louie Peters, Job Title: Co-founder Works for: Towards AI, Inc. Louis-François Bouchard, Job Title: Co-founder Works for: Towards AI, Inc. Cover:
Towards AI Cover
Logo:
Towards AI Logo
Areas Served: Worldwide Alternate Name: Towards AI, Inc. Alternate Name: Towards AI Co. Alternate Name: towards ai Alternate Name: towardsai Alternate Name: towards.ai Alternate Name: tai Alternate Name: toward ai Alternate Name: toward.ai Alternate Name: Towards AI, Inc. Alternate Name: towardsai.net Alternate Name: pub.towardsai.net
5 stars – based on 497 reviews

Frequently Used, Contextual References

TODO: Remember to copy unique IDs whenever it needs used. i.e., URL: 304b2e42315e

Resources

Take our 85+ lesson From Beginner to Advanced LLM Developer Certification: From choosing a project to deploying a working product this is the most comprehensive and practical LLM course out there!

Publication

Unlock Your Data’s Potential with Data Science
Latest   Machine Learning

Unlock Your Data’s Potential with Data Science

Last Updated on July 25, 2023 by Editorial Team

Author(s): Chinmay Bhalerao

Originally published on Towards AI.

A bird-eye view introduction of everything about data science

Photo by Isaac Smith on Unsplash

“Now its time to begin thinking of Data Science as a profession not a job, as a corporate culture not a corporate agenda, as a strrategy not a stratagem, as a core competency not a cource, and as a way of doing things not a thing to do” — @kirkDBorne (January12, 2015)

Data science is a multidisciplinary field that involves the use of techniques from statistics, mathematics, computer science, and domain expertise to extract insights from data. With the growing amount of data being generated and collected in various domains, data science has become increasingly important in recent years.

As new technologies and techniques are developed, data scientists are able to tackle increasingly complex problems and extract deeper insights from data. Data science involves several key stages, including data collection, data cleaning, data analysis, and data visualization. Data scientists use a variety of tools and techniques to collect and process data, including database systems, programming languages, and data visualization software. They also use statistical methods and machine learning algorithms to analyze and extract insights from the data.

Difference between data science, machine learning, and Artificial intelligence.

New people in this field are often confused about these three terms. Let's elaborate on each one by one.

Data science comes in all !! [source: JEIT universe]

Data science is a multidisciplinary field that involves using techniques from statistics, mathematics, computer science, and domain expertise to extract insights from data. Data scientists use a variety of tools and techniques to collect, clean, analyze, and visualize data and to communicate their findings to stakeholders. Data science is focused on solving complex problems through data analysis.

Machine learning is a subfield of data science that involves using algorithms and statistical models to enable computers to learn from data and make predictions or decisions without being explicitly programmed. Machine learning is often used for tasks such as image or speech recognition, recommendation systems, and natural language processing.

Artificial intelligence is a broader field that encompasses machine learning, as well as other techniques such as expert systems, rule-based systems, and genetic algorithms. AI is focused on creating intelligent machines that can simulate human cognitive abilities, such as problem-solving, reasoning, and learning.

In summary, data science is focused on extracting insights from data, while machine learning is focused on developing algorithms to enable computers to learn from data and make predictions. Artificial intelligence is a broader field that encompasses machine learning and other techniques to create intelligent machines.Data science, machine learning, and artificial intelligence (AI) are related fields, but they have distinct differences.

What is data in data science?

In data science, there are several types of data that you may encounter, including:

Data comes in different forms [Source: Holistics]
  1. Numerical data: This type of data is represented by numbers and can be continuous (e.g., height, weight) or discrete (e.g., number of siblings). Numerical data can be analyzed using statistical methods such as regression analysis and hypothesis testing.
  2. Categorical data: This type of data is represented by categories or labels, such as colors, genders, or types of animals. Categorical data can be analyzed using methods such as frequency tables and chi-squared tests.
  3. Text data: This type of data consists of words, phrases, and sentences. Text data is often analyzed using natural language processing (NLP) techniques such as sentiment analysis and topic modeling.
  4. Time series data: This type of data consists of observations taken over time, such as stock prices or weather data. Time series data can be analyzed using methods such as time series forecasting and trend analysis.
  5. Image data: This type of data consists of visual information, such as photographs, medical images, and satellite images. Image data can be analyzed using computer vision techniques such as object detection and image segmentation.
  6. Audio data: This type of data consists of sound information, such as speech or music. Audio data can be analyzed using techniques such as speech recognition and music genre classification.
So much of the tech industry is obsessed with the exponential growth of data. Anything linear is dying or has been dead for years. [Source]

It’s important to understand the type of data you’re working with in order to select the appropriate analytical methods and techniques for your data science project.

How to deal with data, and what are the steps to do data analysis with any kind of data?

Dealing with data is one of the most important aspects of data science. Here are some general steps for dealing with data in data science:

  1. Data Collection: The first step is to collect the relevant data that you want to analyze. This can involve collecting data from various sources such as databases, APIs, web scraping, surveys, and other data sources.
Source: QuestionPro
  1. Data Cleaning: Once you have collected the data, you need to clean it to ensure that it is accurate and consistent. This involves identifying and correcting errors, removing duplicates, and dealing with missing values.
Source: Iterators
  1. Data Exploration: After cleaning the data, it’s important to explore the data to gain a better understanding of its characteristics. This includes creating visualizations, performing statistical analysis, and identifying patterns and relationships in the data.
  2. Feature Engineering: This step involves selecting the relevant features (variables) that are important for your analysis. You can create new features or transform existing ones to make them more useful.
Importance of feature engineering [Source]
  1. Data Modeling: This involves selecting the appropriate model for your analysis, training it on the data, and evaluating its performance.
  2. Model Interpretation: After building the model, you need to interpret the results to gain insights into the underlying data and draw meaningful conclusions.
  3. Deployment: The final step is to deploy the model in a production environment so that it can be used for real-world applications.

Overall, dealing with data in data science involves a combination of technical skills, creativity, and critical thinking to extract meaningful insights from large and complex datasets.

Do you require maths or statistics for data science?

Mathematics and statistics are essential skills for data scientists, as they form the foundation of many of the techniques used in data science.

Photo by Dan Cristian Pădureț on Unsplash

Here are some of the key mathematical and statistical concepts that data scientists should be familiar with:

  1. Linear algebra: Linear algebra is a branch of mathematics that deals with linear equations and vectors. It is an important tool for working with matrices, which are commonly used to represent data in data science.
  2. Calculus: Calculus is a branch of mathematics that deals with rates of change and the properties of continuous functions. It is used in optimization, which is an important technique for many machine learning algorithms.
  3. Probability theory: Probability theory is the branch of mathematics that deals with the study of random events. It is used in statistical inference and hypothesis testing, which are important tools for making decisions based on data.
  4. Statistics: Statistics is the branch of mathematics that deals with the collection, analysis, interpretation, presentation, and organization of data. It includes techniques such as regression analysis, hypothesis testing, and experimental design.
  5. Optimization: Optimization is a branch of mathematics that deals with finding the best solution to a problem, given certain constraints. It is used in many machine learning algorithms, which involve finding the best set of parameters to fit a model to data.

In addition to these concepts, data scientists should be comfortable with programming and have a good understanding of algorithms and data structures. They should also be able to communicate their findings effectively to stakeholders, which requires strong written and verbal communication skills.

Data scientist or data analyst? What is the difference?

Photo by Myriam Jessier on Unsplash

Data scientists and data analyst both deals with data. Data analysts typically focus on analyzing data to find patterns, trends, and insights that can inform business decisions. They may work with structured data (e.g., from databases) or unstructured data (e.g., from social media), but their primary goal is to answer specific business questions. Data scientists, on the other hand, have a broader scope that includes not just analysis, but also machine learning, statistical modeling, and other advanced techniques. They may be tasked with building predictive models, developing algorithms, or designing experiments to test hypotheses.

Data analysts tend to work primarily with tools like Excel, SQL, and Tableau, as well as statistical software like R or Python. They use these tools to perform data cleaning, aggregation, and visualization and may also use basic statistical techniques to perform descriptive analysis. Data scientists, on the other hand, are expected to have a deeper understanding of advanced statistical methods and machine learning algorithms. They may use tools like TensorFlow, PyTorch, or scikit-learn to build and test models, and may also have expertise in big data technologies like Hadoop or Spark.

While both roles can have a significant impact on the business, the types of problems they solve may differ. Data analysts tend to focus on operational problems, such as improving customer satisfaction, optimizing pricing, or reducing churn. Data scientists, on the other hand, may work on more strategic problems, such as identifying new business opportunities, developing new products, or optimizing the supply chain.

Overall, the distinction between a data scientist and a data analyst is not always clear-cut, and the specific responsibilities of each role can vary depending on the organization and industry. However, understanding these differences can help organizations better define their data-related roles and responsibilities and ensure that they have the right talent in place to tackle their data challenges.

Source

Data science is an important field for several reasons

Photo by Luke Chesser on Unsplash
  1. Better decision-making: Data science helps organizations and individuals make better decisions by analyzing data and extracting insights. By leveraging large and complex datasets, data scientists can identify patterns, relationships, and trends that may not be visible to the naked eye.
  2. Improved efficiency: Data science can help automate and optimize various processes, reducing the time and effort required to perform certain tasks. This can result in increased productivity and efficiency.
  3. Competitive advantage: In today’s data-driven world, organizations that can effectively harness data are more likely to gain a competitive advantage. By using data science to identify new opportunities, improve processes, and better understand customer needs, organizations can stay ahead of the curve.
  4. Innovation: Data science is a key driver of innovation, enabling new products and services that may not have been possible without the use of data. For example, data science has played a major role in the development of self-driving cars, personalized medicine, and predictive maintenance.
  5. Social impact: Data science has the potential to address a wide range of social and environmental challenges, such as disease prevention, climate change, and poverty reduction. By analyzing data and identifying patterns, data scientists can help identify and address these challenges.

Overall, data science is an important field because it provides a powerful set of tools and techniques for analyzing data and extracting insights, leading to better decision-making, improved efficiency, competitive advantage, innovation, and social impact.

Data science has several key features that distinguish it from other fields:

  1. Multidisciplinary: Data science brings together techniques from various fields, including statistics, mathematics, computer science, and domain expertise. As such, data scientists must have a broad range of skills and be comfortable working with different types of data.
  2. Data-driven: Data science is focused on using data to make better decisions. Data scientists use a variety of tools and techniques to collect, process, analyze, and visualize data, with the ultimate goal of extracting insights that can inform decision-making.
  3. Iterative: Data science is an iterative process, with data scientists often refining and adjusting their methods as they work with the data. This involves testing different models, adjusting parameters, and exploring different visualizations in order to gain a deeper understanding of the data.
  4. Scalable: With the increasing amount of data being generated and collected, data science must be able to scale to handle large and complex datasets. Data scientists use a variety of tools and techniques to work with big data, including distributed computing, cloud computing, and data storage technologies.
  5. Focus on real-world applications: Data science is focused on using data to solve real-world problems, with applications in a wide range of domains, such as business, healthcare, education, and more. As such, data scientists must be able to communicate their findings effectively to stakeholders and make recommendations that can be acted upon.

Overall, data science is a field that is focused on using data to make better decisions, with a multidisciplinary approach that involves collecting, processing, analyzing, and visualizing data. It is an iterative process that is scalable to handle large and complex datasets, with a focus on real-world applications in a variety of domains.

There are many influential leaders in the field of data science who have contributed to the growth and development of this field. Here are some notable examples:

  1. Andrew Ng: Andrew Ng is a computer scientist and entrepreneur who co-founded Google Brain and founded the online learning platform Coursera. He has made significant contributions to the development of machine learning and deep learning, and his online courses on these topics have been popular with students around the world.
  2. Fei-Fei Li: Fei-Fei Li is a computer scientist and AI researcher who is known for her work on computer vision and deep learning. She is a professor at Stanford University and the founder of the AI4ALL initiative, which aims to increase diversity and inclusion in the field of AI.
  3. DJ Patil: DJ Patil is a data scientist and entrepreneur who served as the first Chief Data Scientist of the United States during the Obama administration. He has made significant contributions to the development of data science, including coining the term “data science” and co-authoring the book “Building Data Science Teams”.
  4. Yann LeCun: Yann LeCun is a computer scientist and AI researcher who is known for his work on deep learning and convolutional neural networks. He is a professor at New York University and the director of Facebook AI Research, where he has contributed to the development of several important AI applications.
  5. Cathy O’Neil: Cathy O’Neil is a data scientist and author who is known for her work on data ethics and algorithmic bias. Her book, “Weapons of Math Destruction”, has been widely read and has helped to raise awareness about the potential harms of relying on data and algorithms in decision-making.

And how can I forget,

  1. Dr. Kirk Borne: Dr. Kirk Borne is the Principal Data Scientist at Booz Allen Hamilton (since 2015). He supports the Strategic Innovation Group in the area of NextGen Analytics and Data Science. He previously spent 12 years as Professor at George Mason University as a graduate (Ph.D.) Computational Science and Informatics program and undergraduate (B.S.) Computational Data Sciences program. Before that, he worked for 18 years on various NASA contracts — as a research scientist, as a manager on a large science data system contract, and as the Hubble Telescope Data.

Summary

The key goal of data science is to use data to make better decisions. By analyzing large and complex datasets, data scientists can identify patterns, relationships, and trends that may not be visible to the naked eye. They can then use these insights to inform decision-making in a wide range of domains, such as business, healthcare, education, and more. Data science is a rapidly evolving field that is constantly pushing the boundaries of what is possible with data. As such, data science is a field that is both challenging and rewarding, with the potential to make a significant impact on society.

“Come for the Data. Stay for the Science!”

If you have found this article insightful

It is a proven fact that “Generosity makes you a happier person”; therefore, Give the article claps if you liked this article. If you found this article insightful, follow me on Linkedin and medium. You can also subscribe to get notified when I publish articles. Let’s create a community! Thanks for your support!

You can read my other blogs related to :

YOLO v8! The real state-of-the-art?

My experience & experiment related to YOLO v8

medium.com

Genetic Algorithm Optimization

A detailed explanation of the evolutionary and nature-inspired optimization algorithm

pub.towardsai.net

Comprehensive Guide: Top Computer Vision Resources All in One Blog

Save this blog for comprehensive resources for computer vision

medium.com

Improving Accuracy of Text Extraction with Simple Techniques

understanding data and problem statements to make predictions better

pub.towardsai.net

Signing off,

CHINMAY

Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming a sponsor.

Published via Towards AI

Feedback ↓

Sign Up for the Course
`; } else { console.error('Element with id="subscribe" not found within the page with class "home".'); } } }); // Remove duplicate text from articles /* Backup: 09/11/24 function removeDuplicateText() { const elements = document.querySelectorAll('h1, h2, h3, h4, h5, strong'); // Select the desired elements const seenTexts = new Set(); // A set to keep track of seen texts const tagCounters = {}; // Object to track instances of each tag elements.forEach(el => { const tagName = el.tagName.toLowerCase(); // Get the tag name (e.g., 'h1', 'h2', etc.) // Initialize a counter for each tag if not already done if (!tagCounters[tagName]) { tagCounters[tagName] = 0; } // Only process the first 10 elements of each tag type if (tagCounters[tagName] >= 2) { return; // Skip if the number of elements exceeds 10 } const text = el.textContent.trim(); // Get the text content const words = text.split(/\s+/); // Split the text into words if (words.length >= 4) { // Ensure at least 4 words const significantPart = words.slice(0, 5).join(' '); // Get first 5 words for matching // Check if the text (not the tag) has been seen before if (seenTexts.has(significantPart)) { // console.log('Duplicate found, removing:', el); // Log duplicate el.remove(); // Remove duplicate element } else { seenTexts.add(significantPart); // Add the text to the set } } tagCounters[tagName]++; // Increment the counter for this tag }); } removeDuplicateText(); */ // Remove duplicate text from articles function removeDuplicateText() { const elements = document.querySelectorAll('h1, h2, h3, h4, h5, strong'); // Select the desired elements const seenTexts = new Set(); // A set to keep track of seen texts const tagCounters = {}; // Object to track instances of each tag // List of classes to be excluded const excludedClasses = ['medium-author', 'post-widget-title']; elements.forEach(el => { // Skip elements with any of the excluded classes if (excludedClasses.some(cls => el.classList.contains(cls))) { return; // Skip this element if it has any of the excluded classes } const tagName = el.tagName.toLowerCase(); // Get the tag name (e.g., 'h1', 'h2', etc.) // Initialize a counter for each tag if not already done if (!tagCounters[tagName]) { tagCounters[tagName] = 0; } // Only process the first 10 elements of each tag type if (tagCounters[tagName] >= 10) { return; // Skip if the number of elements exceeds 10 } const text = el.textContent.trim(); // Get the text content const words = text.split(/\s+/); // Split the text into words if (words.length >= 4) { // Ensure at least 4 words const significantPart = words.slice(0, 5).join(' '); // Get first 5 words for matching // Check if the text (not the tag) has been seen before if (seenTexts.has(significantPart)) { // console.log('Duplicate found, removing:', el); // Log duplicate el.remove(); // Remove duplicate element } else { seenTexts.add(significantPart); // Add the text to the set } } tagCounters[tagName]++; // Increment the counter for this tag }); } removeDuplicateText(); //Remove unnecessary text in blog excerpts document.querySelectorAll('.blog p').forEach(function(paragraph) { // Replace the unwanted text pattern for each paragraph paragraph.innerHTML = paragraph.innerHTML .replace(/Author\(s\): [\w\s]+ Originally published on Towards AI\.?/g, '') // Removes 'Author(s): XYZ Originally published on Towards AI' .replace(/This member-only story is on us\. Upgrade to access all of Medium\./g, ''); // Removes 'This member-only story...' }); //Load ionic icons and cache them if ('localStorage' in window && window['localStorage'] !== null) { const cssLink = 'https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css'; const storedCss = localStorage.getItem('ionicons'); if (storedCss) { loadCSS(storedCss); } else { fetch(cssLink).then(response => response.text()).then(css => { localStorage.setItem('ionicons', css); loadCSS(css); }); } } function loadCSS(css) { const style = document.createElement('style'); style.innerHTML = css; document.head.appendChild(style); } //Remove elements from imported content automatically function removeStrongFromHeadings() { const elements = document.querySelectorAll('h1, h2, h3, h4, h5, h6, span'); elements.forEach(el => { const strongTags = el.querySelectorAll('strong'); strongTags.forEach(strongTag => { while (strongTag.firstChild) { strongTag.parentNode.insertBefore(strongTag.firstChild, strongTag); } strongTag.remove(); }); }); } removeStrongFromHeadings(); "use strict"; window.onload = () => { /* //This is an object for each category of subjects and in that there are kewords and link to the keywods let keywordsAndLinks = { //you can add more categories and define their keywords and add a link ds: { keywords: [ //you can add more keywords here they are detected and replaced with achor tag automatically 'data science', 'Data science', 'Data Science', 'data Science', 'DATA SCIENCE', ], //we will replace the linktext with the keyword later on in the code //you can easily change links for each category here //(include class="ml-link" and linktext) link: 'linktext', }, ml: { keywords: [ //Add more keywords 'machine learning', 'Machine learning', 'Machine Learning', 'machine Learning', 'MACHINE LEARNING', ], //Change your article link (include class="ml-link" and linktext) link: 'linktext', }, ai: { keywords: [ 'artificial intelligence', 'Artificial intelligence', 'Artificial Intelligence', 'artificial Intelligence', 'ARTIFICIAL INTELLIGENCE', ], //Change your article link (include class="ml-link" and linktext) link: 'linktext', }, nl: { keywords: [ 'NLP', 'nlp', 'natural language processing', 'Natural Language Processing', 'NATURAL LANGUAGE PROCESSING', ], //Change your article link (include class="ml-link" and linktext) link: 'linktext', }, des: { keywords: [ 'data engineering services', 'Data Engineering Services', 'DATA ENGINEERING SERVICES', ], //Change your article link (include class="ml-link" and linktext) link: 'linktext', }, td: { keywords: [ 'training data', 'Training Data', 'training Data', 'TRAINING DATA', ], //Change your article link (include class="ml-link" and linktext) link: 'linktext', }, ias: { keywords: [ 'image annotation services', 'Image annotation services', 'image Annotation services', 'image annotation Services', 'Image Annotation Services', 'IMAGE ANNOTATION SERVICES', ], //Change your article link (include class="ml-link" and linktext) link: 'linktext', }, l: { keywords: [ 'labeling', 'labelling', ], //Change your article link (include class="ml-link" and linktext) link: 'linktext', }, pbp: { keywords: [ 'previous blog posts', 'previous blog post', 'latest', ], //Change your article link (include class="ml-link" and linktext) link: 'linktext', }, mlc: { keywords: [ 'machine learning course', 'machine learning class', ], //Change your article link (include class="ml-link" and linktext) link: 'linktext', }, }; //Articles to skip let articleIdsToSkip = ['post-2651', 'post-3414', 'post-3540']; //keyword with its related achortag is recieved here along with article id function searchAndReplace(keyword, anchorTag, articleId) { //selects the h3 h4 and p tags that are inside of the article let content = document.querySelector(`#${articleId} .entry-content`); //replaces the "linktext" in achor tag with the keyword that will be searched and replaced let newLink = anchorTag.replace('linktext', keyword); //regular expression to search keyword var re = new RegExp('(' + keyword + ')', 'g'); //this replaces the keywords in h3 h4 and p tags content with achor tag content.innerHTML = content.innerHTML.replace(re, newLink); } function articleFilter(keyword, anchorTag) { //gets all the articles var articles = document.querySelectorAll('article'); //if its zero or less then there are no articles if (articles.length > 0) { for (let x = 0; x < articles.length; x++) { //articles to skip is an array in which there are ids of articles which should not get effected //if the current article's id is also in that array then do not call search and replace with its data if (!articleIdsToSkip.includes(articles[x].id)) { //search and replace is called on articles which should get effected searchAndReplace(keyword, anchorTag, articles[x].id, key); } else { console.log( `Cannot replace the keywords in article with id ${articles[x].id}` ); } } } else { console.log('No articles found.'); } } let key; //not part of script, added for (key in keywordsAndLinks) { //key is the object in keywords and links object i.e ds, ml, ai for (let i = 0; i < keywordsAndLinks[key].keywords.length; i++) { //keywordsAndLinks[key].keywords is the array of keywords for key (ds, ml, ai) //keywordsAndLinks[key].keywords[i] is the keyword and keywordsAndLinks[key].link is the link //keyword and link is sent to searchreplace where it is then replaced using regular expression and replace function articleFilter( keywordsAndLinks[key].keywords[i], keywordsAndLinks[key].link ); } } function cleanLinks() { // (making smal functions is for DRY) this function gets the links and only keeps the first 2 and from the rest removes the anchor tag and replaces it with its text function removeLinks(links) { if (links.length > 1) { for (let i = 2; i < links.length; i++) { links[i].outerHTML = links[i].textContent; } } } //arrays which will contain all the achor tags found with the class (ds-link, ml-link, ailink) in each article inserted using search and replace let dslinks; let mllinks; let ailinks; let nllinks; let deslinks; let tdlinks; let iaslinks; let llinks; let pbplinks; let mlclinks; const content = document.querySelectorAll('article'); //all articles content.forEach((c) => { //to skip the articles with specific ids if (!articleIdsToSkip.includes(c.id)) { //getting all the anchor tags in each article one by one dslinks = document.querySelectorAll(`#${c.id} .entry-content a.ds-link`); mllinks = document.querySelectorAll(`#${c.id} .entry-content a.ml-link`); ailinks = document.querySelectorAll(`#${c.id} .entry-content a.ai-link`); nllinks = document.querySelectorAll(`#${c.id} .entry-content a.ntrl-link`); deslinks = document.querySelectorAll(`#${c.id} .entry-content a.des-link`); tdlinks = document.querySelectorAll(`#${c.id} .entry-content a.td-link`); iaslinks = document.querySelectorAll(`#${c.id} .entry-content a.ias-link`); mlclinks = document.querySelectorAll(`#${c.id} .entry-content a.mlc-link`); llinks = document.querySelectorAll(`#${c.id} .entry-content a.l-link`); pbplinks = document.querySelectorAll(`#${c.id} .entry-content a.pbp-link`); //sending the anchor tags list of each article one by one to remove extra anchor tags removeLinks(dslinks); removeLinks(mllinks); removeLinks(ailinks); removeLinks(nllinks); removeLinks(deslinks); removeLinks(tdlinks); removeLinks(iaslinks); removeLinks(mlclinks); removeLinks(llinks); removeLinks(pbplinks); } }); } //To remove extra achor tags of each category (ds, ml, ai) and only have 2 of each category per article cleanLinks(); */ //Recommended Articles var ctaLinks = [ /* ' ' + '

Subscribe to our AI newsletter!

' + */ '

Take our 85+ lesson From Beginner to Advanced LLM Developer Certification: From choosing a project to deploying a working product this is the most comprehensive and practical LLM course out there!

'+ '

Towards AI has published Building LLMs for Production—our 470+ page guide to mastering LLMs with practical projects and expert insights!

' + '
' + '' + '' + '

Note: Content contains the views of the contributing authors and not Towards AI.
Disclosure: This website may contain sponsored content and affiliate links.

' + 'Discover Your Dream AI Career at Towards AI Jobs' + '

Towards AI has built a jobs board tailored specifically to Machine Learning and Data Science Jobs and Skills. Our software searches for live AI jobs each hour, labels and categorises them and makes them easily searchable. Explore over 10,000 live jobs today with Towards AI Jobs!

' + '
' + '

🔥 Recommended Articles 🔥

' + 'Why Become an LLM Developer? Launching Towards AI’s New One-Stop Conversion Course'+ 'Testing Launchpad.sh: A Container-based GPU Cloud for Inference and Fine-tuning'+ 'The Top 13 AI-Powered CRM Platforms
' + 'Top 11 AI Call Center Software for 2024
' + 'Learn Prompting 101—Prompt Engineering Course
' + 'Explore Leading Cloud Providers for GPU-Powered LLM Training
' + 'Best AI Communities for Artificial Intelligence Enthusiasts
' + 'Best Workstations for Deep Learning
' + 'Best Laptops for Deep Learning
' + 'Best Machine Learning Books
' + 'Machine Learning Algorithms
' + 'Neural Networks Tutorial
' + 'Best Public Datasets for Machine Learning
' + 'Neural Network Types
' + 'NLP Tutorial
' + 'Best Data Science Books
' + 'Monte Carlo Simulation Tutorial
' + 'Recommender System Tutorial
' + 'Linear Algebra for Deep Learning Tutorial
' + 'Google Colab Introduction
' + 'Decision Trees in Machine Learning
' + 'Principal Component Analysis (PCA) Tutorial
' + 'Linear Regression from Zero to Hero
'+ '

', /* + '

Join thousands of data leaders on the AI newsletter. It’s free, we don’t spam, and we never share your email address. Keep up to date with the latest work in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming a sponsor.

',*/ ]; var replaceText = { '': '', '': '', '
': '
' + ctaLinks + '
', }; Object.keys(replaceText).forEach((txtorig) => { //txtorig is the key in replacetext object const txtnew = replaceText[txtorig]; //txtnew is the value of the key in replacetext object let entryFooter = document.querySelector('article .entry-footer'); if (document.querySelectorAll('.single-post').length > 0) { //console.log('Article found.'); const text = entryFooter.innerHTML; entryFooter.innerHTML = text.replace(txtorig, txtnew); } else { // console.log('Article not found.'); //removing comment 09/04/24 } }); var css = document.createElement('style'); css.type = 'text/css'; css.innerHTML = '.post-tags { display:none !important } .article-cta a { font-size: 18px; }'; document.body.appendChild(css); //Extra //This function adds some accessibility needs to the site. function addAlly() { // In this function JQuery is replaced with vanilla javascript functions const imgCont = document.querySelector('.uw-imgcont'); imgCont.setAttribute('aria-label', 'AI news, latest developments'); imgCont.title = 'AI news, latest developments'; imgCont.rel = 'noopener'; document.querySelector('.page-mobile-menu-logo a').title = 'Towards AI Home'; document.querySelector('a.social-link').rel = 'noopener'; document.querySelector('a.uw-text').rel = 'noopener'; document.querySelector('a.uw-w-branding').rel = 'noopener'; document.querySelector('.blog h2.heading').innerHTML = 'Publication'; const popupSearch = document.querySelector$('a.btn-open-popup-search'); popupSearch.setAttribute('role', 'button'); popupSearch.title = 'Search'; const searchClose = document.querySelector('a.popup-search-close'); searchClose.setAttribute('role', 'button'); searchClose.title = 'Close search page'; // document // .querySelector('a.btn-open-popup-search') // .setAttribute( // 'href', // 'https://medium.com/towards-artificial-intelligence/search' // ); } // Add external attributes to 302 sticky and editorial links function extLink() { // Sticky 302 links, this fuction opens the link we send to Medium on a new tab and adds a "noopener" rel to them var stickyLinks = document.querySelectorAll('.grid-item.sticky a'); for (var i = 0; i < stickyLinks.length; i++) { /* stickyLinks[i].setAttribute('target', '_blank'); stickyLinks[i].setAttribute('rel', 'noopener'); */ } // Editorial 302 links, same here var editLinks = document.querySelectorAll( '.grid-item.category-editorial a' ); for (var i = 0; i < editLinks.length; i++) { editLinks[i].setAttribute('target', '_blank'); editLinks[i].setAttribute('rel', 'noopener'); } } // Add current year to copyright notices document.getElementById( 'js-current-year' ).textContent = new Date().getFullYear(); // Call functions after page load extLink(); //addAlly(); setTimeout(function() { //addAlly(); //ideally we should only need to run it once ↑ }, 5000); }; function closeCookieDialog (){ document.getElementById("cookie-consent").style.display = "none"; return false; } setTimeout ( function () { closeCookieDialog(); }, 15000); console.log(`%c 🚀🚀🚀 ███ █████ ███████ █████████ ███████████ █████████████ ███████████████ ███████ ███████ ███████ ┌───────────────────────────────────────────────────────────────────┐ │ │ │ Towards AI is looking for contributors! │ │ Join us in creating awesome AI content. │ │ Let's build the future of AI together → │ │ https://towardsai.net/contribute │ │ │ └───────────────────────────────────────────────────────────────────┘ `, `background: ; color: #00adff; font-size: large`); //Remove latest category across site document.querySelectorAll('a[rel="category tag"]').forEach(function(el) { if (el.textContent.trim() === 'Latest') { // Remove the two consecutive spaces (  ) if (el.nextSibling && el.nextSibling.nodeValue.includes('\u00A0\u00A0')) { el.nextSibling.nodeValue = ''; // Remove the spaces } el.style.display = 'none'; // Hide the element } }); // Add cross-domain measurement, anonymize IPs 'use strict'; //var ga = gtag; ga('config', 'G-9D3HKKFV1Q', 'auto', { /*'allowLinker': true,*/ 'anonymize_ip': true/*, 'linker': { 'domains': [ 'medium.com/towards-artificial-intelligence', 'datasets.towardsai.net', 'rss.towardsai.net', 'feed.towardsai.net', 'contribute.towardsai.net', 'members.towardsai.net', 'pub.towardsai.net', 'news.towardsai.net' ] } */ }); ga('send', 'pageview'); -->