Goto

Collaborating Authors

 Regression


Introduction to Logistic Regression: Predicting Diabetes

#artificialintelligence

Data can be broadly divided into continuous data, those that can take an infinite number of points within a given range such as distance or time, and categorical/discrete data, which contain a finite number of points or categories within a given group of data such as payment methods or customer complaints. We have already seen examples of applying regression to continuous prediction problems in the form of linear regression where we predicted sales, but in order to predict categorical outputs we can use logistic regression. While we are still using regression to predict outcomes, the main aim of logistic regression is to be able to predict which category and observation belongs to rather than an exact value. Examples of questions which this method can be used for include: "How likely is a person to suffer from a disease (outcome) given their age, sex, smoking status, etc (variables/features)?" "How likely is this email to be spam?" "Will a student pass a test given some predictors of performance?".


Using Machine Learning to Test Causal Hypotheses in Conjoint Analysis

arXiv.org Machine Learning

Conjoint analysis is a popular experimental design used to measure multidimensional preferences. Researchers examine how varying a factor of interest, while controlling for other relevant factors, influences decision-making. Currently, there exist two methodological approaches to analyzing data from a conjoint experiment. The first focuses on estimating the average marginal effects of each factor while averaging over the other factors. Although this allows for straightforward design-based estimation, the results critically depend on the distribution of other factors and how interaction effects are aggregated. An alternative model-based approach can compute various quantities of interest, but requires researchers to correctly specify the model, a challenging task for conjoint analysis with many factors and possible interactions. In addition, a commonly used logistic regression has poor statistical properties even with a moderate number of factors when incorporating interactions. We propose a new hypothesis testing approach based on the conditional randomization test to answer the most fundamental question of conjoint analysis: Does a factor of interest matter in any way given the other factors? Our methodology is solely based on the randomization of factors, and hence is free from assumptions. Yet, it allows researchers to use any test statistic, including those based on complex machine learning algorithms. As a result, we are able to combine the strengths of the existing design-based and model-based approaches. We illustrate the proposed methodology through conjoint analysis of immigration preferences and political candidate evaluation. We also extend the proposed approach to test for regularity assumptions commonly used in conjoint analysis.


Comparing Model Evaluation Techniques Part 3: Regression Models - DataScienceCentral.com

#artificialintelligence

In this post, I'll take a look at how you can compare regression models. Comparing regression models is perhaps one of the trickiest tasks to complete in the "comparing models" arena; The reason is that there are literally dozens of statistics you can calculate to compare regression models, including: This list isn't exhaustiveโ€“there are many other tools, tests and plots at your disposal. Rather than discuss the statistics in detail, I chose to focus this post on comparing a few of the most popular regression model evaluation techniques and discuss when you might want to use them (or when you might not want to). The techniques listed below tend to be on the "easier to use and understand" end of the spectrum, so if you're new to model comparison it's a good place to start. The first question you should be asking is: How well do I know my data?


Machine Learning and 5G Are Crucial to Scale the Metaverse

#artificialintelligence

Machine learning and 5G can attract more people in the metaverse, blurring the lines between the virtual and real worlds. The concept of metaverse is closely related to advanced technologies such as artificial intelligence (AI), machine learning (ML), augmented reality (AR), virtual reality (VR), blockchain, 5G and the internet of things (IoT). Improved technology will allow avatars to use body language effectively and better convey human emotions producing a feeling of real communication in a virtual space. AR and VR won't be the only critical components of the metaverse, 5G and machine learning are also crucial. The metaverse is a future iteration of the internet, made up of 3D virtual spaces linked into a perceived virtual universe.


Statistical Learning -- Lasso

#artificialintelligence

In the statistical learning course, the instructors introduced Lasso regression, which is a linear regression method which performs shrinkage on the parameters of the linear model. LASSO (Least Absolute Shrinkage and Selection Operator) can be used to combat collinearity issues, overfitting and variable selection (facilitates interpretability).


AI Identifies Live Cancer Cells In Less Than 35 Minutes With 95% Accuracy

#artificialintelligence

The ability to analyze single cells is one of the holy grails of precision medicine. Yuri Belotti, PhD, Doorgesh Sharma Jokhun, PhD, and Professor Chwee Teck (C.T.) Lim at National University of Singapore have developed a novel protocol for single-cell classification based on intracellular pH. Their paper entitled Machine learning based approach to pH imaging and classification of single cancer cells was published in APL Bioengineering. The pH in the human body varies between 4.7 and 8.0. Cancer growth, metastasis, and other diseases including Alzheimer's have been linked to deviations from normal intracellular acidity.


Learning Tensor Representations for Meta-Learning

arXiv.org Machine Learning

We introduce a tensor-based model of shared representation for meta-learning from a diverse set of tasks. Prior works on learning linear representations for meta-learning assume that there is a common shared representation across different tasks, and do not consider the additional task-specific observable side information. In this work, we model the meta-parameter through an order-$3$ tensor, which can adapt to the observed task features of the task. We propose two methods to estimate the underlying tensor. The first method solves a tensor regression problem and works under natural assumptions on the data generating process. The second method uses the method of moments under additional distributional assumptions and has an improved sample complexity in terms of the number of tasks. We also focus on the meta-test phase, and consider estimating task-specific parameters on a new task. Substituting the estimated tensor from the first step allows us estimating the task-specific parameters with very few samples of the new task, thereby showing the benefits of learning tensor representations for meta-learning. Finally, through simulation and several real-world datasets, we evaluate our methods and show that it improves over previous linear models of shared representations for meta-learning.


Machine Learning Model Development and Model Operations: Principles and Practices - KDnuggets

#artificialintelligence

The use of Machine Leaning (ML) has increased substantially in enterprise data analytics scenarios to extract valuable insights from the business data. Hence, it is very important to have an ecosystem to build, test, deploy, and maintain the enterprise grade machine learning models in production environments. The ML model development involves data acquisition from multiple trusted sources, data processing to make suitable for building the model, choose algorithm to build the model, build model, compute performance metrics and choose best performing model. The model maintenance plays critical role once the model is deployed into production. The maintenance of machine learning model includes keeping the model up to date and relevant in tune with the source data changes as there is a risk of model becoming outdated in course of time.


PETS-SWINF: A regression method that considers images with metadata based Neural Network for pawpularity prediction on 2021 Kaggle Competition "PetFinder.my"

arXiv.org Artificial Intelligence

Millions of stray animals suffer on the streets or are euthanized in shelters every day around the world. In order to better adopt stray animals, scoring the pawpularity (cuteness) of stray animals is very important, but evaluating the pawpularity of animals is a very labor-intensive thing. Consequently, there has been an urgent surge of interest to develop an algorithm that scores pawpularity of animals. However, the dataset in Kaggle not only has images, but also metadata describing images. Most methods basically focus on the most advanced image regression methods in recent years, but there is no good method to deal with the metadata of images. To address the above challenges, the paper proposes an image regression model called PETS-SWINF that considers metadata of the images. Our results based on a dataset of Kaggle competition, "PetFinder.my", show that PETS-SWINF has an advantage over only based images models. Our results shows that the RMSE loss of the proposed model on the test dataset is 17.71876 but 17.76449 without metadata. The advantage of the proposed method is that PETS-SWINF can consider both low-order and high-order features of metadata, and adaptively adjust the weights of the image model and the metadata model. The performance is promising as our leadboard score is ranked 15 out of 3545 teams (Gold medal) currently for 2021 Kaggle competition on the challenge "PetFinder.my".


Logistic regression as a neural network - DataScienceCentral.com

#artificialintelligence

As a teacher of Data Science (Data Science for Internet of Things course at the University of Oxford), I am always fascinated in cross connection between concepts. To recap, Logistic regression is a binary classification method. It can be modelled as a function that can take in any number of inputs and constrain the output to be between 0 and 1. This means, we can think of Logistic Regression as a one-layer neural network. For a binary output, if the true label is y (y 0 or y 1) and y_hat is the predicted output โ€“ then y_hat represents the probability that y 1 โ€“ given inputs w and x. Therefore, the probability that y 0 given inputs w and x is (1 โ€“ y_hat), as shown below.