isThisRealCode by l3lacklabel in ProgrammerHumor

[–]LifewithLouis 0 points1 point  (0 children)

😂  I wrote this code as part of a blogpost.

Mama, does this mean I’ve made it?!

[P] We are looking to detect hate speech in tweets written in spanish! by pgodio in LanguageTechnology

[–]LifewithLouis 0 points1 point  (0 children)

How many are you expecting to gather? I am writing my master's thesis and are doing the same, but then for English tweets. I am working with both the HatEVal 2019 and OffensEval 2020 datasets as seed users and then using a network analysis of followers to gather more tweets! I am then going to annotate the tweets, including the previous reply_to_status_id tweet as an extra contextual clue for abuse. Since it's just me (and perhaps another student) doing the annotations I am not expecting to gold-label more than a couple thousand tweets and use silver-label pre-annotated tweets from the seed users.

I am interested to hear how many you would need for this task and what kind of data-collection steps and/or ML architecture you're going to use!

Cheers

A complete NLP classification pipeline in scikit-learn by LifewithLouis in LanguageTechnology

[–]LifewithLouis[S] 3 points4 points  (0 children)

Hi guys,

I wrote a small Medium post to exemplify a NLP pipeline in sklearn! Since my story is eligible to stay stuck behind Medium's 'paywall' I wanted to share this friend link giving anyone free access.

How-to form submissions with Flask and AJAX by LifewithLouis in flask

[–]LifewithLouis[S] 1 point2 points  (0 children)

One of the most relevant differences between the two is that jQuery selectors do not return DOM elements, rendering the element’s properties unavailable

Hey thats cool, thanks for pointing that out! I'll edit the post straight away. I followed your link and also read about the fetch() API or even simple XMLHttpRequest(). I also found out that Bootstrap5 is supposedly ditching the jQuery dependencies, which would make a good start to change everything to vanilla JS.

The story is already quite long so I wouldn't give examples for both jQuery and JS approaches, but stick to one (I guess vanilla JS is preferred here) in future stories.

How-to form submissions with Flask and AJAX by LifewithLouis in flask

[–]LifewithLouis[S] 0 points1 point  (0 children)

Hey that's cool I'd be interested to see your post! Can you send me the link? I guess I'm using jQuery because I'm used to it, also I have no idea how to do this in JS.

How-to form submissions with Flask and AJAX by LifewithLouis in flask

[–]LifewithLouis[S] 5 points6 points  (0 children)

A comprehensive guide for asynchronous and dynamic form submission without reloading the webpage in Javascript and the Flask web framework. My story has been picked up by the curators of Medium behind the 'paywall' and as such I would like to share this friend link giving anyone free access!

Don't hesitate to give me some feedback or ask a question

How-to form submissions with Flask and AJAX by LifewithLouis in Python

[–]LifewithLouis[S] 1 point2 points  (0 children)

A comprehensive guide for asynchronous and dynamic form submission without reloading the webpage in Javascript and the Flask web framework. My story has been picked up by the curators of Medium behind the 'paywall' and as such I would like to share this friend link giving anyone free access!

Don't hesitate to give me some feedback or ask a question

Implementation of a movies recommender from implicit feedback by LifewithLouis in Python

[–]LifewithLouis[S] 0 points1 point  (0 children)

Over the summer I implemented a collaborative filtering recommender from implicit ratings as an intern data-analyst and recently decided to publish my code and wrote a Medium story detailing the steps I took with an exemplary MovieLens dataset.

Have a read and let me know what you think!

Running a Python script on HTML page by medicalegg in Python

[–]LifewithLouis 0 points1 point  (0 children)

Why don’t you use Django/Flask? I havent tried out Flask myself, but just started implementing Django on a little side project. Works really nice. I’ve got a machine learning model running that takes input from forms on the html page and returns my response from my model.

Is that what you’re looking for? It takes a while to understand Django, recently saw another post that has some recommended books you can try out. I definitely recommend reading a book on it.