{"id":20356563,"url":"https://github.com/madhurimarawat/final-internship-project","last_synced_at":"2026-01-31T16:02:12.148Z","repository":{"id":195996688,"uuid":"692760116","full_name":"madhurimarawat/Final-Internship-Project","owner":"madhurimarawat","description":"This repository contains my internship project that I made using Streamlit and Python programming language.","archived":false,"fork":false,"pushed_at":"2026-01-15T08:15:49.000Z","size":301,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-15T14:54:52.721Z","etag":null,"topics":["credit-card-fraud","data-preprocessing","data-visualization","decision-tree","deployment","hyperparameter-tuning","input-parameters","internship-project","knn","logistic-regression","machine-learning-algorithms","naive-bayes-classifier","project","python","random-forest","random-forest-classifier","streamlit","streamlit-deployment","suprevsed-learning","svm"],"latest_commit_sha":null,"homepage":"https://final-internship-project-nvdx7l2pqe42g2p9ambd8s.streamlit.app/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/madhurimarawat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-09-17T13:59:25.000Z","updated_at":"2026-01-15T08:15:52.000Z","dependencies_parsed_at":"2024-11-24T11:20:27.955Z","dependency_job_id":"a9eb3f2a-9338-484e-9af1-1fbbd57e2dcb","html_url":"https://github.com/madhurimarawat/Final-Internship-Project","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"cee87dd60070ab874167adb01c28a795e8f7da87"},"previous_names":["madhurimarawat/final-internship-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/madhurimarawat/Final-Internship-Project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madhurimarawat%2FFinal-Internship-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madhurimarawat%2FFinal-Internship-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madhurimarawat%2FFinal-Internship-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madhurimarawat%2FFinal-Internship-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madhurimarawat","download_url":"https://codeload.github.com/madhurimarawat/Final-Internship-Project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madhurimarawat%2FFinal-Internship-Project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28947567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T14:26:55.697Z","status":"ssl_error","status_checked_at":"2026-01-31T14:26:52.545Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["credit-card-fraud","data-preprocessing","data-visualization","decision-tree","deployment","hyperparameter-tuning","input-parameters","internship-project","knn","logistic-regression","machine-learning-algorithms","naive-bayes-classifier","project","python","random-forest","random-forest-classifier","streamlit","streamlit-deployment","suprevsed-learning","svm"],"created_at":"2024-11-14T23:17:02.855Z","updated_at":"2026-01-31T16:02:12.140Z","avatar_url":"https://github.com/madhurimarawat.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Final-Internship-Project\nThis repository contains my internship project that I made using Streamlit and Python programming language.\n\n\u003ca href = \"https://final-internship-project-nvdx7l2pqe42g2p9ambd8s.streamlit.app/\"\u003e\u003cimg width=\"960\" title = \"Website Image\" alt=\"Website Image\" src=\"https://github.com/user-attachments/assets/66edbad0-20df-436c-a596-1a614fec6818\"\u003e\u003c/a\u003e \u003cbr\u003e\u003cbr\u003e\n\u003ca href = \"https://final-internship-project-nvdx7l2pqe42g2p9ambd8s.streamlit.app/\"\u003e\u003cimg width=\"960\" title = \"Website Image\" alt=\"Website Image\" src=\"https://github.com/user-attachments/assets/2dcb4ee9-0b4c-4c93-92f2-2b5edec4da0f\"\u003e\u003c/a\u003e\n\n---\n# Mode of Execution Used \u003cimg src=\"https://th.bing.com/th/id/R.c936445e15a65dfdba20a63e14e7df39?rik=fqWqO9kKIVlK7g\u0026riu=http%3a%2f%2fassets.stickpng.com%2fimages%2f58481537cef1014c0b5e4968.png\u0026ehk=dtrTKn1QsJ3%2b2TFlSfLR%2fxHdNYHdrqqCUUs8voipcI8%3d\u0026risl=\u0026pid=ImgRaw\u0026r=0\" title=\"PyCharm\" alt=\"PyCharm\" width=\"40\" height=\"40\"\u003e\u0026nbsp;\u003cimg src=\"https://seeklogo.com/images/S/streamlit-logo-1A3B208AE4-seeklogo.com.png\" title=\"Streamlit\" alt=\"Streamlit\" width=\"40\" height=\"40\"\u003e\n\n\n\u003ch2\u003ePycharm\u003c/h2\u003e\n\n--\u003e Visit the official website of pycharm: \u003ca href=\"https://www.jetbrains.com/pycharm/\"\u003e\u003cimg src=\"https://th.bing.com/th/id/R.c936445e15a65dfdba20a63e14e7df39?rik=fqWqO9kKIVlK7g\u0026riu=http%3a%2f%2fassets.stickpng.com%2fimages%2f58481537cef1014c0b5e4968.png\u0026ehk=dtrTKn1QsJ3%2b2TFlSfLR%2fxHdNYHdrqqCUUs8voipcI8%3d\u0026risl=\u0026pid=ImgRaw\u0026r=0\" title=\"PyCharm\" alt=\"PyCharm\" width=\"40\" height=\"40\"\u003e\u003c/a\u003e\u003cbr\u003e\u003cbr\u003e\n--\u003e Download according to the platform that will be used like Linux, Macos or Windows.\u003cbr\u003e\u003cbr\u003e\n--\u003e Two versions of Pycharm are avilable-\n1. Community version \u003cbr\u003e\u003cbr\u003e\n--\u003e Community version is open source and we can use it for free without any paid plan.\u003cbr\u003e\u003cbr\u003e\n--\u003e We can download this at the end of pycharm website.\u003cbr\u003e\u003cbr\u003e\n--\u003e After downloading community version we can directly follow the setup wizard and it will be setup.\u003cbr\u003e\u003cbr\u003e\n2.  Professional Version.\u003cbr\u003e\u003cbr\u003e\n--\u003e This is available at the top of website, we can directly download from there.\u003cbr\u003e\u003cbr\u003e\n--\u003e After downloading professional version, follow the below steps.\u003cbr\u003e\u003cbr\u003e\n--\u003e Follow the setup wizard and sign up for the free version (trial version) or else continue with the premium or paid version.\u003cbr\u003e\n\n### Using Pycharm\n--\u003e First, in pycharm we have the concept of virtual environment. In virtual environment we can install all the required libraries or frameworks.\u003cbr\u003e\u003cbr\u003e\n--\u003e Each project has its own virtual environment, so thath we can install requirements like Libraries or Framworks for that project only.\u003cbr\u003e\u003cbr\u003e\n--\u003e After this we can create a new file, various file types are available in pycharm like script files, text files and also Jupyter Notebooks.\u003cbr\u003e\u003cbr\u003e\n--\u003e After selecting the required file type, we can continue the execution of that file by saving it and using this shortcut shift+F10 (In Windows).\u003cbr\u003e\u003cbr\u003e\n--\u003e Output is given in Console while installation happens in terminal in Pycharm.\n\n## Streamlit Server\n\n--\u003e Streamlit is a python framework through which we can deploy any machine learning model and any python project with ease and without worrying about the frontend.\u003cbr\u003e\u003cbr\u003e\n--\u003e Streamlit is very user-friendly.\u003cbr\u003e\u003cbr\u003e\n--\u003e Streamlit has pre defined functions for all frontend components and we can directly use them.\u003cbr\u003e\u003cbr\u003e\n--\u003e To install streamlit in your system, just run this command-\n\n```\npip install streamlit\n```\n\n## Running Project in Streamlit Server\n\u003cp\u003eMake Sure all dependencies are already satisfied before running the app.\u003c/p\u003e\n\n1. We can Directly run streamlit app  with the following command-\u003cbr\u003e\n```\nstreamlit run app.py\n```\nwhere app.py is the name of file containing streamlit code.\u003cbr\u003e\n\nBy default, streamlit will run on port 8501.\u003cbr\u003e\n\nAlso we can execute multiple files simultaneously and it will be executed in next ports like 8502 and so on.\u003cbr\u003e\n\n2. Navigate to URL http://localhost:8501\n\nYou should be able to view the homepage of your app.\n\n🌟 Project and Models will change but this process will remain the same for all Streamlit projects.\u003cbr\u003e\n\n## Deploying using Streamlit\n\n1. Visit the official website of streamlit : \u003ca href=\"https://streamlit.io/\"\u003e\u003cimg src=\"https://seeklogo.com/images/S/streamlit-logo-1A3B208AE4-seeklogo.com.png\" title=\"Streamlit\" alt=\"Streamlit\" width=\"40\" height=\"40\"\u003e\u003c/a\u003e \u003cbr\u003e\u003cbr\u003e\n2. Now make an account with GitHub.\u003cbr\u003e\u003cbr\u003e\n3. Now add all the code in Github repository.\u003cbr\u003e\u003cbr\u003e\n4. Go to streamlit and there is an option for new deployment.\u003cbr\u003e\u003cbr\u003e\n5. Type your Github repository name and specify the file name. If you name your file as streamlit_app it will directly access it else you have to specify the path.\u003cbr\u003e\u003cbr\u003e\n6. Now also make sure you upload all your libraries and requirement name in a requirement.txt file.\u003cbr\u003e\u003cbr\u003e\n7. Version can also be mentioned like this python==3.9.\u003cbr\u003e\u003cbr\u003e\n8. When we mention version in the requirement file streamlit install all dependencies from there.\u003cbr\u003e\u003cbr\u003e\n9. If everything went well our app will be deployed on web and you can share the link and access the app from all browsers.\n\n---\n\n## About Project :\n\n\u003cp\u003eComplete Description about the project and resources used.\u003c/p\u003e\n\n--\u003e In this project I made a streamlit website in which you can apply multiple supervised learning algorithm on Credit Card Fruad dataset.\u003cbr\u003e\u003cbr\u003e\n--\u003e I also did Data Visualization to show the working of this algorithms on the dataset.\u003cbr\u003e\u003cbr\u003e\n--\u003e I have deployed this website using streamlit.\u003cbr\u003e\u003cbr\u003e\n--\u003e Visit Website from : \u003ca href=\"https://final-internship-project-nvdx7l2pqe42g2p9ambd8s.streamlit.app/\"\u003eML Algorithms on Credit Card Dataset\u003c/a\u003e\n\n---\n\n## Algorithm Used :\n\n\u003ch2\u003eSupervised Learning\u003c/h2\u003e\n--\u003e Basically supervised learning is when we teach or train the machine using data that is well-labelled. \u003cbr\u003e\u003cbr\u003e\n--\u003e Which means some data is already tagged with the correct answer.\u003cbr\u003e\u003cbr\u003e\n--\u003e After that, the machine is provided with a new set of examples(data) so that the supervised learning algorithm analyses the training data(set of training examples) and produces a correct outcome from labeled data.\u003cbr\u003e\u003cbr\u003e\n\n\u003ch3\u003ei) K-Nearest Neighbors (KNN) \u003c/h3\u003e\n\u003cbr\u003e\n--\u003e K-Nearest Neighbours is one of the most basic yet essential classification algorithms in Machine Learning.\u003cbr\u003e\u003cbr\u003e\n--\u003e It belongs to the supervised learning domain and finds intense application in pattern recognition, data mining, and intrusion detection..\u003cbr\u003e\u003cbr\u003e\n--\u003e In this algorithm,we identify category based on neighbors.\u003cbr\u003e\u003cbr\u003e\n\n\u003ch3\u003eii) Support Vector Machines (SVM) \u003c/h3\u003e\n\u003cbr\u003e\n--\u003e The main idea behind SVMs is to find a hyperplane that maximally separates the different classes in the training data. \u003cbr\u003e\u003cbr\u003e\n--\u003e This is done by finding the hyperplane that has the largest margin, which is defined as the distance between the hyperplane and the closest data points from each class. \u003cbr\u003e\u003cbr\u003e\n--\u003e Once the hyperplane is determined, new data can be classified by determining on which side of the hyperplane it falls. \u003cbr\u003e\u003cbr\u003e\n--\u003e SVMs are particularly useful when the data has many features, and/or when there is a clear margin of separation in the data.\u003cbr\u003e\u003cbr\u003e\n\n\u003ch3\u003eiii) Naive Bayes Classifiers\u003c/h3\u003e\n\u003cbr\u003e\n--\u003e Naive Bayes classifiers are a collection of classification algorithms based on Bayes’ Theorem. \u003cbr\u003e\u003cbr\u003e\n--\u003e It is not a single algorithm but a family of algorithms where all of them share a common principle, i.e. every pair of features being classified is independent of each other.\u003cbr\u003e\u003cbr\u003e\n--\u003e The fundamental Naive Bayes assumption is that each feature makes an independent and equal contribution to the outcome.\u003cbr\u003e\u003cbr\u003e\n\n\u003ch3\u003eiv) Decision Tree\u003c/h3\u003e\n\u003cbr\u003e\n--\u003e It builds a flowchart-like tree structure where each internal node denotes a test on an attribute, each branch represents an outcome of the test, and each leaf node (terminal node) holds a class label.\u003cbr\u003e\u003cbr\u003e\n--\u003e It is constructed by recursively splitting the training data into subsets based on the values of the attributes until a stopping criterion is met, such as the maximum depth of the tree or the minimum number of samples required to split a node.\u003cbr\u003e\u003cbr\u003e\n--\u003e The goal is to find the attribute that maximizes the information gain or the reduction in impurity after the split.\u003cbr\u003e\u003cbr\u003e\n\n\u003ch3\u003ev) Random Forest\u003c/h3\u003e\n\u003cbr\u003e\n--\u003e It is based on the concept of ensemble learning, which is a process of combining multiple classifiers to solve a complex problem and to improve the performance of the model.\u003cbr\u003e\u003cbr\u003e\n--\u003e Instead of relying on one decision tree, the random forest takes the prediction from each tree and based on the majority votes of predictions, and it predicts the final output.\u003cbr\u003e\u003cbr\u003e\n--\u003e The greater number of trees in the forest leads to higher accuracy and prevents the problem of overfitting.\u003cbr\u003e\u003cbr\u003e\n\n\n\u003ch3\u003evi) Logistic Regression\u003c/h3\u003e\n\u003cbr\u003e\n--\u003e Logistic regression is a supervised machine learning algorithm mainly used for classification tasks where the goal is to predict the probability that an instance of belonging to a given class or not. \u003cbr\u003e\u003cbr\u003e\n--\u003e It is a kind of statistical algorithm, which analyze the relationship between a set of independent variables and the dependent binary variables. \u003cbr\u003e\u003cbr\u003e\n--\u003e It is a powerful tool for decision-making.\u003cbr\u003e\u003cbr\u003e\n--\u003e For example email spam or not. \u003cbr\u003e\n\n---\n## Dataset Used :\n\n\u003ch2\u003eCredit Card Fraud Dataset\u003c/h2\u003e\n--\u003e Dataset is taken from: \u003ca href=\"https://www.kaggle.com/code/janiobachmann/credit-fraud-dealing-with-imbalanced-datasets/input\n\"\u003e\u003cimg src=\"https://cdn4.iconfinder.com/data/icons/logos-and-brands/512/189_Kaggle_logo_logos-1024.png\" height =40 width=40 title=\"Salary Dataset\" alt=\"Salary Dataset\"\u003e \u003c/a\u003e\u003cbr\u003e\u003cbr\u003e\n--\u003e Contains Fraud data for Classification.\u003cbr\u003e\u003cbr\u003e\n--\u003e The dataset has 31 columns.\u003cbr\u003e\u003cbr\u003e\n--\u003e Dataset is already cleaned,no preprocessing required.\n\n---\n# Libraries Used 📚 💻\n\u003cp\u003eShort Description about all libraries used.\u003c/p\u003e\nTo install python library this command is used- \u003cbr\u003e\u003cbr\u003e\n\n```\npip install library_name\n```\n\n\u003cul\u003e\n\u003cli\u003eNumPy (Numerical Python) – Enables with collection of mathematical functions\nto operate on array and matrices. \u003c/li\u003e\n  \u003cli\u003ePandas (Panel Data/ Python Data Analysis) - This library is mostly used for analyzing,\ncleaning, exploring, and manipulating data.\u003c/li\u003e\n  \u003cli\u003eMatplotlib - It is a data visualization and graphical plotting library.\u003c/li\u003e\n\u003cli\u003eScikit-learn - It is a machine learning library that enables tools for used for many other\nmachine learning algorithms such as classification, prediction, etc.\u003c/li\u003e\n  \u003cli\u003eSeaborn - It is an extension of Matplotlib library used to create more attractive and\ninformative statistical graphics.\u003c/li\u003e\n\u003c/ul\u003e\n\n---\n### Additional Resources 🧮📚📓🌐\nTo  explore a broader range of my machine learning models, crafted during my internship, please visit my dedicated repository: https://github.com/madhurimarawat/Machine-Learning-Using-Python\n\n---\n\n## Thanks for Visiting 😄\n\nDrop a 🌟 if you find this repository useful.\u003cbr\u003e\u003cbr\u003e\nIf you have any doubts or suggestions, feel free to reach me.\u003cbr\u003e\u003cbr\u003e\n📫 How to reach me:  \u0026nbsp; [![Linkedin Badge](https://img.shields.io/badge/-madhurima-blue?style=flat\u0026logo=Linkedin\u0026logoColor=white)](https://www.linkedin.com/in/madhurima-rawat/) \u0026nbsp; \u0026nbsp;\n\u003ca href =\"mailto:rawatmadhurima4@gmail.com\"\u003e\u003cimg src=\"https://github.com/madhurimarawat/Machine-Learning-Using-Python/assets/105432776/b6a0873a-e961-42c0-8fbf-ab65828c961a\" height=35 width=30 title=\"Mail Illustration\" alt=\"Mail Illustration📫\" \u003e \u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadhurimarawat%2Ffinal-internship-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadhurimarawat%2Ffinal-internship-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadhurimarawat%2Ffinal-internship-project/lists"}