I have a problem of classification! I build 2 models, one with logistic Regression and one with random forest . I tried to print the "classification_report" and i got the two pictures below? Which does well in classification ? please ? The loss function of the model of Random forest is 0.17 The loss function of the model of logistic reg is 0.16
Linked Questions
- No module named 'sleep'
- Speech Recognition UnknownValueError
- PermissionError: [WinError 32]
- Rename Columns of several dataframes
- What is "--snip--' in python?
- Name 'Actor' is not defined
- Python, beyond the basics
- Python Telnet script to Cisco switch
- how to fix error of my compiled python code
- Pulling info from Json data
- Interesting 'takes exactly 1 argument (2 given)' Python error
- How to use wiktextract
- how to ignore specific error in pyre-check python package for the whole project
- Farey sequence length
- Query Hadoop from Python
Popular Questions
- Partially applied generic function "cannot be cast to Nothing"
- Agar.io style ripple effect for canvas arcs
- What is the difference between [ValidateModel] and a check of valid state in ASP.NET?
- Passing shared_ptr to std::function (member function)
- UWP location tracking even when the app was suspended
- Dynamic partition in hive
- Woocommerce Different Products Different Currency
- High and low bytes in VBA
- Rails render js file but can't execute it
- My rotated TextView is cut off. What i have to do?
1 Answers
Related Questions
- Game of two stacks (hackers rank problem) algorithm
- how do i convert odd length hexadecimal string to byte format in python 3.5 and above?
- How to fix list index out of range
- Use of str() in print()
- Best online resource to learn Python?
- How to generate forest
- Ponzi Scheme Calculator
- Mac OS cvxpy TypeError came up
- ModuleNotFoundError: No module named 'gamelib'
- Error in my first python microservices with connexion+Flask+Swagger
- How can i read folder and subfolders *.wav ; and feature extraction for input of training model?
- Is there any difference between "foo is None" and "foo == None"?
- How do I treat an integer as an array of bytes in Python?
- Selecting column from a csv DataFrame by Tkinter, and assign to X and y for Machine learning
- Creating a die (x2) with classes
Precision, Recall and F1 Scores are class specific. Since you have a binary classifier, imagine a confusion matrix as follows

Then your precision is True Positive / True Positive + False Positive and your Recall is True Positive / True Positive + False Negative. You can read more about it at Wikipedia
Based on your values, For model 1 is doing better than model 2 except that model 2 corrected some False Negatives at the expense of True Positive.