Goto

Collaborating Authors

 Education


Top 5 Python Machine Learning Codes

#artificialintelligence

Python is one of the most popular programming languages for machine learning tasks. It is easy to learn, has a vast number of libraries and frameworks, and is versatile enough to be used in a wide range of applications. In this article, we will discuss some examples of Python code for machine learning tasks, with the aim of providing readers with a better understanding of how Python can be used in these tasks. Before we dive into the examples, it is essential to understand what machine learning is. In simple terms, machine learning is a type of artificial intelligence that enables machines to learn from data and improve over time.


Stanford CRFM

Stanford HAI

DALL-E 2, Stable Diffusion, and others transformed the image generation space. We saw more powerful language models, PaLM, and of course ChatGPT. We saw foundation models being developed for speech, music, proteins, and many other data modalities. And, for the first time, these models are now being widely deployed and utilized by consumers to accomplish a wide breadth of useful tasks. What is clear is that while foundation models have opened up unprecedented new possibilities, they are also still raw, imperfect research artifacts that we do not entirely understand. In 2021, we founded the Center for Research on Foundation Models (CRFM), recognizing the critical role of foundation models.


Considering the Impact of Technology on Society

Communications of the ACM

Moshe Vardi's horizons are big when it comes to computer science. Celebrated for his contributions to formal methods and computational complexity, he is also well known for his role with ACM, and, in particular, with this publication. Vardi took over as Editor-in-Chief of Communications of the ACM in 2008. Though he stepped down to become a Senior Editor in 2017, he continues to publish regularly on topics from corporate ethics to post-graduate education. Here, he talks about socioeconomics, social media, and the impact of computing on society.


In Python Course - Kids Coding

#artificialintelligence

Python is considered to be one of the most popular programming languages on the planet. It is also a programming language in great demand in the field of information technology. If we add the fact that it is a programming language that is very easy to learn, then we already have several reasons to start our learning adventure immediately and without delays! This e-course is intended for students from 11 years old. Includes, among other tools, funny cartoon–style video clips, quizzes, crosswords, exercises, solutions to the exercises, educational games, projects, documents, and slides.


Python Object Oriented Programming (OOPs)

#artificialintelligence

If you already know Python basics, then this course is the next step in your Python learning path to becoming a Python programmer. In Python, object-oriented Programming (OOPs) is a programming paradigm that uses objects and classes in programming. It aims to implement real-world entities like inheritance, polymorphisms, encapsulation, etc. in the programming. The central concept of OOPs is to bind the data and the functions that work on that together as a single unit so that no other part of the code can access this data. A class is a collection of objects.


ChatGPT, Wikipedia, and student writing assignments – Wiki Education

#artificialintelligence

ChatGPT is the internet's shiny new toy. It's also a potential shortcut for students to quickly generate essays and other writing assignments -- which has many educators rethinking their assignment designs. ChatGPT is built on top of the GPT-3 language model, a machine learning model designed to predict (to simplify it slightly) the next word in a text. It does this by analyzing a very large amount of text data, and calculating probabilistic relationships between words in a sequence. It's designed, in other words, to produce the same patterns of word use that are present in the datasets used to train the model.


Explainable Human-centered Traits from Head Motion and Facial Expression Dynamics

arXiv.org Artificial Intelligence

We explore the efficacy of multimodal behavioral cues for explainable prediction of personality and interview-specific traits. We utilize elementary head-motion units named kinemes, atomic facial movements termed action units and speech features to estimate these human-centered traits. Empirical results confirm that kinemes and action units enable discovery of multiple trait-specific behaviors while also enabling explainability in support of the predictions. For fusing cues, we explore decision and feature-level fusion, and an additive attention-based fusion strategy which quantifies the relative importance of the three modalities for trait prediction. Examining various long-short term memory (LSTM) architectures for classification and regression on the MIT Interview and First Impressions Candidate Screening (FICS) datasets, we note that: (1) Multimodal approaches outperform unimodal counterparts; (2) Efficient trait predictions and plausible explanations are achieved with both unimodal and multimodal approaches, and (3) Following the thin-slice approach, effective trait prediction is achieved even from two-second behavioral snippets.


Deep W-Networks: Solving Multi-Objective Optimisation Problems With Deep Reinforcement Learning

arXiv.org Artificial Intelligence

In this paper, we build on advances introduced by the Deep Q-Networks (DQN) approach to extend the multi-objective tabular Reinforcement Learning (RL) algorithm W-learning to large state spaces. W-learning algorithm can naturally solve the competition between multiple single policies in multi-objective environments. However, the tabular version does not scale well to environments with large state spaces. To address this issue, we replace underlying Q-tables with DQN, and propose an addition of W-Networks, as a replacement for tabular weights (W) representations. We evaluate the resulting Deep W-Networks (DWN) approach in two widely-accepted multi-objective RL benchmarks: deep sea treasure and multi-objective mountain car. We show that DWN solves the competition between multiple policies while outperforming the baseline in the form of a DQN solution. Additionally, we demonstrate that the proposed algorithm can find the Pareto front in both tested environments.


Keyword Decisions in Sponsored Search Advertising: A Literature Review and Research Agenda

arXiv.org Artificial Intelligence

In sponsored search advertising (SSA), keywords serve as the basic unit of business model, linking three stakeholders: consumers, advertisers and search engines. This paper presents an overarching framework for keyword decisions that highlights the touchpoints in search advertising management, including four levels of keyword decisions, i.e., domain-specific keyword pool generation, keyword targeting, keyword assignment and grouping, and keyword adjustment. Using this framework, we review the state-of-the-art research literature on keyword decisions with respect to techniques, input features and evaluation metrics. Finally, we discuss evolving issues and identify potential gaps that exist in the literature and outline novel research perspectives for future exploration.


Optimizing Bi-Encoder for Named Entity Recognition via Contrastive Learning

arXiv.org Artificial Intelligence

We present a bi-encoder framework for named entity recognition (NER), which applies contrastive learning to map candidate text spans and entity types into the same vector representation space. Prior work predominantly approaches NER as sequence labeling or span classification. We instead frame NER as a representation learning problem that maximizes the similarity between the vector representations of an entity mention and its type. This makes it easy to handle nested and flat NER alike, and can better leverage noisy self-supervision signals. A major challenge to this bi-encoder formulation for NER lies in separating non-entity spans from entity mentions. Instead of explicitly labeling all non-entity spans as the same class $\texttt{Outside}$ ($\texttt{O}$) as in most prior methods, we introduce a novel dynamic thresholding loss. Experiments show that our method performs well in both supervised and distantly supervised settings, for nested and flat NER alike, establishing new state of the art across standard datasets in the general domain (e.g., ACE2004, ACE2005) and high-value verticals such as biomedicine (e.g., GENIA, NCBI, BC5CDR, JNLPBA). We release the code at github.com/microsoft/binder.