I am in the process of learning how to use LaTeX. I am working on overleaf to write my research paper. I started having issues with the citations. When I write the in text citation and recompile the file, the number is referring to different citation. Also, the actual citation numbering I am referring to, is not appearing in the reference list. Can anyone help me out with it? All the citations before citing number 37 appears correctly and in the correct order.
This is what I am writing:
Random Forest had AUC score for static learning was 0.9148 and incremental learning
was 0.9013.~\cite{r(37)}
This is how it appears after recompiling:
Random Forest had AUC score for static learning was 0.9148 and incremental learning was 0.9013. [28]
These are all the packages I am using.
\documentclass[12pt]{article}
\usepackage{setspace}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{natbib}
\bibliographystyle{unsrt}
\usepackage{setspace}
\usepackage{enumitem}
\usepackage{indentfirst}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{subfig}
%\usepackage[demo] {graphicx}
\PassOptionsToPackage{graphics}{,demo}
\usepackage{float}
\usepackage{setspace}
\usepackage{microtype}
\usepackage{pdfpages}
\usepackage{inputenc}
\usepackage{textcomp}
\usepackage{mwe}
\usepackage{titlesec}
\usepackage[english]{babel}
\titleformat{\paragraph}
{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
\titlespacing*{\paragraph}
{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
\begin{document}
\setstretch{1.2}
\begin{titlepage}
\begin{center}
\caption
statements infigure
and/ortable
environments.? – Mico Jan 5 at 18:21\cite
instruction. It's thus not (yet) possible to replicate the issue you're looking to fix, let alone come up with a diagnosis and cure. – Mico Jan 5 at 18:47r(37)
is a rather strange citation key but should work as long as you have a bibliography entry with that key so if you are using bibtex something like@article{r(37)
or if you are not using bibtex abibitem{r(37)}
but you have shown no code relevant to a bibliography. – David Carlisle Jan 5 at 20:14