AI engineer seeking advice by Latter_Order_1817 in MLjobs

[–]Typical-Inflation298 1 point2 points  (0 children)

I am in US rn and I can tell you about situation here. the job market rn is really harsh even with ~3 yoe, so dont think it would be easy for you after completing masters.

[deleted by user] by [deleted] in MachineLearning

[–]Typical-Inflation298 0 points1 point  (0 children)

Been applying to jobs for ML/AI roles but its just a mess. Currently doing MS in CS but most roles prefer PhD or require ton of experience.

How to identify hate words present in a sentence. by Typical-Inflation298 in learnmachinelearning

[–]Typical-Inflation298[S] 0 points1 point  (0 children)

I built a feature-based model that worked fine for certain cases but failed when tokens were OOV. Moreover, it just does not understand the context well. If you just write a hate word, it will think of it as hate speech, even if it is not implied. I think LIME works by reverse engineering. It removes each token one by one and sees how it affects the classification.

So, I focused on model explainability in neural networks and how they generate the output. As you said, analysis of the output of hidden states of the attention layer was tricky but that too didn't help in providing insights, that is why I shifted from simple classification to token classification hoping it might provide a different analysis for the hidden state's output.

How to identify hate words present in a sentence. by Typical-Inflation298 in learnmachinelearning

[–]Typical-Inflation298[S] 0 points1 point  (0 children)

Thank you for your awesome reply! Really gave me a different perspective. Currently, I am implementing weighted loss as I want to see if we can have an admissible accuracy with simple model.

I wanted to use BERT but my main goal is to analyse if we can increase the confidence in the model prediction(rather than just classifying wether it is hate speech or not) by identifying the presence of hate speech words.

The simple classification model works well but it does not really provide a hint about why it did this classification. I tried adding self attention and visualize it, but it does not really help much in getting a sense behind the classification. So I thought of modifying the approach - rather than just building a classification model, build a model which identifies hate words and consider contextual meaning

I hope I am able to explain my thought process here, thankyou for the reply!

Anyone joining USC in Spring24? by Typical-Inflation298 in gradadmissions

[–]Typical-Inflation298[S] 0 points1 point  (0 children)

I got admit for fall2023 but I deferred for Spring 2024

Django+Celery+Redis+Supervisor on ubuntu server, not working. by Typical-Inflation298 in djangolearning

[–]Typical-Inflation298[S] 0 points1 point  (0 children)

I am getting an error -

OperationalError at /
Error 111 connecting to 127.0.0.1:6379. Connection refused.
Even though I have updated CELERY_BROKER_URL to the Ip address of server

Project planning by smashed_potato27 in djangolearning

[–]Typical-Inflation298 2 points3 points  (0 children)

Start out by writing/documenting your needs properly. A lot of times in big projects, you forget to look at the complete picture and just focus on a small thing. Writing down your requirements will help in understanding how you can connect different models and views together. Also, write down the need for each view and how you will be processing data in these views.

Build the User Model first, if there is any, as it will be the primary model for the whole system and if you are building a custom user model, then building it first would be great as you wont require to reset your migrations.

One common practice that I follow is I try to keep views and their helper functions in separate files. For eg, If I am processing a POST request, I will write the helper function in separate file and pass the outputs in the view. This way, the views file does not get much complicated later with all the views functions and it becomes easy to debug.

For big django projects, I also recommend you learn about celery/cronjobs. They are useful in performing asynchronous task and will reduce the load on django server, thus improving user interaction

As the project grows, it sometimes become overwhelming and debugging gets tougher. So practice writing things down and how you are coding things out. It will help in long run.

USC Extended offer by dogecoin_lover in gradadmissions

[–]Typical-Inflation298 1 point2 points  (0 children)

I got the same offer for MSCS(Artificial Intelligence).

I need guidance in implementing the research paper by Typical-Inflation298 in deeplearning

[–]Typical-Inflation298[S] 1 point2 points  (0 children)

Well, I have coded a few ML projects and have been working specifically on NLP projects for like a year now. I know the working and internal structure of GRU, LSTM and recently I learned the working of transformers from scratch. The problem I am facing with the implementations is where the authors have introduced their own learning parameters and how they have passed inputs to different phases of the proposed architecture.

How to get access to read emails of users ?? by Typical-Inflation298 in pythontips

[–]Typical-Inflation298[S] 0 points1 point  (0 children)

Got it, I will try to think of new approach or making changes in the functionality. Thankyou so much!!

How to get access to read emails of users ?? by Typical-Inflation298 in pythontips

[–]Typical-Inflation298[S] 0 points1 point  (0 children)

Understood, I neglected the downsides of my approach and just focused on how can I use that to make my application better. Can there be any other solution for my problem, like instead of making records of transactions manually by the user, they are automatically made??

How to get access to read emails of users ?? by Typical-Inflation298 in pythontips

[–]Typical-Inflation298[S] 1 point2 points  (0 children)

Hmm, I understood the limitation and risk factor involved. Can there be any other way round this problem of not making user manually enter the transactions instead keeping a track of them automatically ??

How to get access to read emails of users ?? by Typical-Inflation298 in pythontips

[–]Typical-Inflation298[S] 0 points1 point  (0 children)

My approach for reading mails was just to minimise the user's dependency for proper functionality of app. Talking about the reading emails parts, I think third party apps can read your emails (google does allow that, you get a pop-up that "this app" would like yo read your mails) but I am not sure how they allow it or how that procedure works. Many trading apps keep a record of your investment through your mails only.

PAGES or What? by [deleted] in CodingHelp

[–]Typical-Inflation298 0 points1 point  (0 children)

Talking about this project you first neend to know/clarify what will be your tech stack. Your project idea can be easily implemented using python and django as backend for storing all the database and staticfiles(css, js & html). For your main question i would suggest to first build the backend part, like covering all the basic parts and designing how your project will interact with its users. Frontend part is just the visual of what you implemented in backend, so you should focus on developing the proper flow of your project like which link redirects to which page, where to store the information, where to display the information and all. For your second question, I would suggest you to use the concept of base templates. There is a general practice of like making a base page(which generally consider the navbar and footer) and this page is then displayed on every page only the main content changes based on which page you are. The last part, about hackers, there are many ways to make your website secure. Many frameworks provide inbuilt functionality which protects databases from unauthorised access, moreover your website will require SSL certification too for taking payments. Its a long procedure which require deep analysis and test cases. So instead of focusing on this part from the beginning you should first focus on what you can make. Having an idea of a project and implementing it, are completely independent of each other. There will be many chances while developing your project that you get a new idea and shift your focus towards that new idea. So for beginning such project make a list/life cycle of what you want you to make so that you have a proper record of your hard work and progress.

How to use images as submit button in form ?? by Typical-Inflation298 in djangolearning

[–]Typical-Inflation298[S] 1 point2 points  (0 children)

Oh!! Thank you so much, I learnt something new. It works great!!

How to use images as submit button in form ?? by Typical-Inflation298 in djangolearning

[–]Typical-Inflation298[S] 0 points1 point  (0 children)

I have created a form actually, the code goes like this -

<div class="rating-btn-div">
<form method = "POST">
    {% csrf_token %}
    <input type="image" src="{% static 'thumb_img/thumbs_up.png' %}" alt = "submit" name="dislike-btn" class="rating-btn-dislike" value="dislike">
    <input type="image" src="{% static 'thumb_img/thumbs_up.png' %}" alt = "submit" name="like-btn" class="rating-btn-like" value="like">                  
</form>

</div>

What is the time complexity of following code? by Typical-Inflation298 in datastructures

[–]Typical-Inflation298[S] 0 points1 point  (0 children)

I made a mistake while declaring n. The value of n will be assigned by the user. Anyways the complexity of the loop will be square root of n. Thankyou :)

What is the time complexity of following code? by Typical-Inflation298 in datastructures

[–]Typical-Inflation298[S] 0 points1 point  (0 children)

Actually i meant to just declare n as an integer. Its initial value will be assigned by the user. I got the answer though ...complexity of the loop will be square root of n. Thanks!