Most of the other answers seem to saying you shouldn't include something you don't know well. They will quiz you and if you can't answer to the standards they want you are, at best, not getting the job. I don't really agree with this.
Firstly, if I really felt I learned next to nothing from the course I wouldn't include it. I also wouldn't include a bunch of things that are not relevent to the job I am going for. By this I mean I wouldn't include a course in plasma physics if I am applying for a programming job in a bank. However I probably would include machine learning even if that wasn't a job requirement since that is a skill they might find useful, or more likely imagine they might find useful in the future. This still assuming I had gained at least a basic knowledge of that from the course(s) I had done.
Next, I would not apply for jobs that required an expert level in a skill that I had only a basic knowledge of. I would consider that to be wasting everyones time and kind of insulting to the interviewer. You should be aware of your own skill level.
Lastly you should be upfront with your knowledge. If someone put down "basic knowledge of machine learning" and didn't know the answer to a question I asked but was able to tell me that they had only learned X, Y and Z and their course either never covered the question or they had missed it then I wouldn't hold it against them. Provided this isn't a required skill for the job I don't see why it should block their hire and they haven't misrepresented themselves. If they had said they were an expert and I discovered they didn't know the basics I wouldn't hire them even if that skill was irrelevant. As another answerer said, one lie makes me wonder how many other lies this person has told and will go on to tell if they are hired.
There is a risk to throwing the kitchen sink on to your CV though. I interviewed someone for a programming job that did not involve machine learning at all. They included machine learning on their CV. The other interviewer was a big fan of ML and only asked them questions about this during the interview and in the end veto'd the candidate because they didn't like the answers. Perhaps this candidate would have gotten the job if they hadn't included ML on their CV (they were well qualified to do the actual job they were there to interview for). On the other hand perhaps they would never have been called for interview if their CV hadn't appealed to the machine learning fan on the hiring panel.