Search Results
737 results found with an empty search
- COMMUNITY APP
INTRODUCTION : - With a community app, you give your followers the chance to interact – both with your brand and with each other. You give them a safe and private place to share what they love (and what they hate), to ask questions, to get answers, to get exclusive content, offers and opportunities. The Problem There’s been community outrage over the state of Portland’s public spaces. After a series of unfortunate events has resulted in media attention towards deteriorating and hazardous areas of the city. The Solution Project — an app designed to empower residents to contribute their diverse perspectives, and ideas for improving Portland’s public spaces. Players create urban and natural environments using augmented reality. Building fantasy worlds to share with friends, or competing in challenges to level up and unlock content. The challenges take an educational approach. With points awarded for sustainable solutions, and creations that have a positive social impact. Running for six weeks during the summer months. The app coincides with community events designed to boost civic pride, and to engage all residents. The feedback collected through the app and at community events will help plan the future of spaces. Information Architecture The tab bar organises the app into three sections — Home, Map, and Profile. The Home tab displays upcoming community events, announcements and personalised content such as recently visited places, challenges, and leaderboards. Players start on the Map tab upon opening the app. So they can easily identify nearby challenges and rewards. The Profile tab is split into four sections — Badges, Library, Creations, and Stats. named after neighborhoods and local areas in the city. Places and Challenges use residents pre existing knowledge to make navigation more intuitive. The app draws special attention to the neighborhoods users visit most. Creating a clear path to content that’s relevant to them. Gamification The AR Challenges need to be a key driver of product adoption, retention and growth. Though early on I discovered problems relating to the general gameplay. Too many interconnecting elements made the challenges too complicated. I began to doubt if I would even find enjoyment as a player. I took a step back and began further research. This is when I discovered Regina Nelson and her work on Gamification Dynamics, Mechanics and Design Elements. Based on her research I ran a gamification workshop where I separated the core functionality into three parts. Gamification Dynamics are the ideological constructs that together form the gameplay. Two key dynamics used are Narrative and Relationships. The Project Narrative refers to the storyline of sustainability and positive social impact that threads its way through the game. Players are aware that they’re contributing to the community and shaping the future of Portland’s public spaces. Relationships are the social interactions that occur in both the digital and physical spaces. For example, friends can be hanging out together in real life and also in the augmented reality world. By teaming up to create public spaces, and competing in multiplayer challenges together. Gamification Mechanics are the challenges, goals, rewards, rules, competition, and randomness that engage players and motivate forward movement. Created from the dynamics and mechanics are the Gamification Elements, these are the concepts players interact with. Players receive Points during challenges. At certain point scores players are given a Star. Up to 3 stars are awarded per challenge. Players use Coins to buy objects during challenges. Social Points are awarded for creations that have a positive social impact, and Eco Points are awarded for sustainable solutions. Players accumulate Social and Eco Points to level up their Player Status. These are the ranks that players move up. Badges are awarded for achievements. Before the workshop I had vague ideas of gamification dynamics and mechanics. Defining these concepts during the workshop allowed me to create stronger and more meaningful connections between the gamification elements. The major breakthrough was simplifying the scoring system. Challenge Points, Stars, Coins, Social Points, and Eco Points became distinguishable from one another. These elements now have a unique purpose and support different player interactions. Community Feedback To achieve success, Project needs to be an inclusive platform. To foster community spirit and empower participation from a diverse range of people. This is why it has been a conscious decision to exclude open forums and public comments from the app. The reality is that not everyone will use a product as expected. With feelings of angst towards public spaces already at a high. There is a strong chance comments filled with emotion will make their way onto the platform. Intentional or not, some of these comments will cause harm to other members of the community. Considering the campaign runs over a short period, the impact this could have on Project success is massive. Removing public comments also has cost benefits. Which include not having to hire content moderators or build reporting functionality. The money saved can fund more community meetups, or make greater improvements to public spaces. The app is an important channel of communication between residents and The City. And with the exclusion of public comments, the app needed a new way to capture feedback from the community. This is why Question Cards are a key feature. Question Cards ask multiple choice or open ended questions. To collect both quantitative and qualitative feedback. Question Cards are on the Home tab, Place pages and Challenge popups. They update often so the city can experiment with the types of questions asked. Allowing them to pursue different topics of interest on the fly. The barrier of entry to provide feedback through the app is low compared to attending community meetups. For this reason, it’s expected that most of the public feedback will come through this channel. Social Features Project’s social features build community spirit in both the physical and digital environment. This community spirit brings together a diverse group of residents to share a common goal. When seeing what others in the communities have created. Players become inspired to create their own public spaces. In the animation above, a user is reacting to another player’s creation. Reactions are another way The City will collect feedback from the community. Other social features include: Inviting friends through the app. · Sharing creations. · Competing together in multiplayer challenges. · Gifting rewards to friends. · Viewing leaderboards. · Viewing other player profiles, including their badges and stats. Inclusive Design In her wonderful book Mismatch: How Inclusion Shapes Design, Kat Holmes states “Design shapes our ability to access, participate in, and contribute to the world.” It’s crucial the Project campaign implements principles of inclusive design. So all residents have equal opportunity to contribute their ideas and solutions. Failing to include all community groups’ results in public spaces that aren’t designed to accommodate the community’s diverse needs. Augmented Reality for everyone The reality is that not everyone has a device that supports AR. This is where community events play a role in inclusive design. Paid organizers are attending these events with devices residents can use for their own AR creations. Organizers will be initiating and recording conversations with residents. This is another way The City will collect feedback from the community. Removing potential harm Open forums are daunting for some people. Being put on a public stage means they could be subject to negative comments or criticism. Removing this functionality creates a welcoming social platform for all community members. Colour accessibility Two ways the app achieves colour accessibility is by… Not relying on colour to relay crucial information. Adding enough contrast between foreground and background UI elements. These solutions are not enough to combat the unpredictability of Augmented Reality. To overcome this problem each player has ‘AR Colour Adjust’ settings. This allows players to alter the colours of their creations, and the physical world that appears on their screen. Configuring these settings next to a live preview guarantees all players can have an enjoyable AR experience. CONCLUSION : - Every community is defined by its members. In order for your community to become successful, you need to identify your niche and create the right content. It's also important to create a safe environment outside of social media, where your community members can feel at home. Disciple provides a number of moderation and analytical tools to keep your community safe secure and engaged. T H A N K Y O U ! !
- Java GUI for software application “Mt Buller Resort”
Introduction In this assignment you will develop GUI for software application “Mt Buller Resort” . Which is given as per blow task: The application must include the following functions: Display all accommodations Display available accommodations Add customer List customers Create a package Add a lift pass to package Add lesson fees to package List packages Save packages to file Read packages from file Quit Specifications: You can create classes Accommodation, Customer, and TravelPackage. You must design and write a new class “MtBullerResortGUI” which extends JFrame and implements ActionListener interface. In a constructor of this class you you will initialise sub-containers and add all components to them. It is recommended to use JTabbedPane to create two or three tabs, such as AccomodationsTab, CustomersTab, and TravelPackageTab. Each tab panel will have components (JButton, JLabel, JTextField, JTextArea, etc) to perform tasks listed above. You can also use selectable components such as JList and JComboBox where appropriate. You can show images of accommodations on click in an accommodations list if you want. You can find images in the same link http://www.mtbuller.com.au/Winter/ Your GUI “MtBullerResortGUI” class, in the same way as the MtBullerResort class in the Assignment, will have ArrayList of customers, ArrayList of accommodations, and ArrayList of travel packages. It can also have a main method to run your GUI. You can create own methods in a MtBullerResort class and use it. Some methods will need modifications to read from text fields and display data on components Important requirements Create an initial list of accommodations (at least 10 accommodations of different types and price). Create an initial list of customers (at least 3 customers). Start your application with populating lists of accommodations and customers. When a user input is required, guide a user what input is expected. Avoid exceptions by including inputs in try-catch block. It’s required for debugging and marking. 5 marks will be taken for empty initial lists and no guidance what to enter when prompting to enter a value. Get complete solution of this requirement By our Java expert at an affordable prices then you can contact us at : contact@codersarts.com
- Java FX/Event-Driven Programming
Objective: GUI Development with JavaFX In this lab, you have to use JavaFX to develop a couple of GUI screens that can switch from one to the other, similar to what the system discussed in class did. The problem domain here is that of an old-style “Mom and Pop’s Clothing Store”, where people come in to buy one of four items: Shirts, Pants, Ties and/or Shoes. The main purpose of developing a system for this store owner is that it should enable them to generate an invoice for a customer purchase. Into the invoice, the amount the customer spent on buying any of the above four items should be entered (e.g., if the customer bought two shirts, and the shirts cost $ 12 each, then the clerk at the register should enter the value $ 24 into the appropriate place in the invoice (see the mockup of the invoice screen below)). So, the clerk will enter these costs for each of the items purchased into the appropriate spots in the invoice – she will enter $ 0.00 if the customer did not purchase any units of the item. For example, a customer could buy shirts and pants and no ties or shoes, so for the latter two spots, the clerk will enter “0.00”. Based on the values entered, when the clerk finally clicks the “Calculate” button at the bottom of the screen, then the Total value of the invoice will be computed and placed in the text field next to the “Total Bill” label. The cost of the invoice is based on the total cost of all items purchased, plus the sales tax added to it. The sales tax values are to be selected from the drop-down (“ComboBox”) shown in the mockup below. These sales tax values range from 3.00 to 9.50, in increments of 0.25, and each of the values in this range must be selectable from the drop-down. The way you need to write your program is as follows: You need to start by creating an “Invoice” class, on the lines of the “Loan” class discussed in class. This “Invoice” class will be the main Model object. The first View that the “Invoice” class puts up on being created is a “LoginView” screen, that looks and operates on the same lines as the Login view discussed in class. It should have the title “Mom and Pop’s Clothing Store” though. Once the user enters a user name and password on the login screen, an appropriate method in the “Invoice” class will be called. This method will look through a list of authorized users that the “Invoice” class maintains, and successfully log the current user (i.e., an authorized store clerk) in or not. The code for this functionality is already present in the code discussed in class. Main Invoice Screen Mockup Once the clerk is logged in, the Main Invoice Screen (as shown in the mockup above) should be displayed, and the behavior on this screen should be as described above. When the user clicks the “Back” button on the Main Invoice Screen, the original Login Screen should be displayed again. First, demonstrate that this code works to your instructor or lab assistant. Select a time during lab or another time to demo this. Make sure that your demo runs on one of the lab computers, so the instructor/lab assistant can maintain social distancing and see your code work. Then, submit the code for all your classes. Capture (using Print Screen features) the Login and Main Invoice Screens your program creates. Be sure to capture the screens with the appropriate data filled in that shows the evaluator that your program is working. Submit these screen captures together with your code via email to the instructor. All the code AND the screen captures must be present in an MS Word file. If you need any help related to JavaFx then you can contact us at below contact details to get professional GUI at and affordable prices: contact@codersarts.com
- MUSIC WEBSITE
The Brief Our client came to us with the idea of a mobile app that allows non-musicians to make music with their QWERTY keyboard. The concept was great and he had a few pages of the app done, but the UX and UI weren’t fleshed out and users were struggling to understand what the purpose of the app was and how to play. The app only had the music-playing page and lacked on boarding pages to explain the app, tutorials to instruct users how to play, or things to keep them engaged, so our job was to: Create on boarding, tutorials, gamify the app, create search functionality, and revise the musical interface for making music to make it more intuitive. Usability Tests & Interviews of Current App We began by conducting usability tests of the current app to see what was working and what wasn’t. This would help us identify pain points with the app and, later on, create features that could solve them. The usability test revealed 3 key problems with the app: Users weren’t sure of the purpose of the app — they weren’t aware it was an app meant to make music. Users couldn’t figure out the music-playing interface and therefore couldn’t play music. With no progress-tracking or gamification, users weren’t compelled to come back to the app. Surveys With surveys, we wanted to understand the following: Since we wanted to add a skill-building and gamification component to the app to give it more purpose and stickiness, we needed to know what users think of skill-building apps and gaming apps; what encourages them to download these apps; and what keeps them going in the app. Since this would be an app allowing users to actually make music with a keyboard, we also wanted to gauge whether respondents play — or want to play — musical instruments, and if not, what their barriers are to playing them. The results regarding playing a musical instrument were positive: respondents want to be able to make music, but they don’t want to buy an expensive instrument and can’t read sheet music. This app could potentially fill this gap by providing an experience in which users can make music with a device they already own: their phone. In terms of understanding what users like about skill-building and gaming apps, surveys showed that users like the satisfaction of achievement and progress, as well as rewards. What they dislike about these apps is the sometimes childish feel, having to pay for functions, and notifications. Competitive Analysis Analyzing competitors revealed that there really isn’t an app like the client’s out there. We mostly found a dichotomy between, on the one hand, apps that teach users to read traditional music, and on the other hand, apps like Smule or Guitar Band where users use finger dexterity to touch notes on their phone and therefore create sounds. The planning stage consisted of collating all our research into insights that could guide us as we started actually building the app. We started with generating personas. Personas We identified a few personas based on interviews and competitor research, and discussed the idea of one day developing this app for children to use in schools to facilitate learning the basics of music. However, to build the MVP and main functionalities, we decided to focus on a primary user: The Music Wannabe. Customer Journey We then mapped the customer journey, outlining users’ needs, pain points, and touch points with the app, as well as opportunities for the app to both satisfy needs and alleviate pain points. The journey began with customers searching for an app that allows them make music, not finding apps that suit them, seeing a Facebook ad for this app, going through on boarding to learn how to use it, and finally becoming a habitual app user through gamification. Affinity Diagram In order to tease out our main features, we wrote down all our insights from testing and research onto Post-It notes and grouped them into an affinity diagram. Feature Prioritization Based on the affinity diagram, we were able to boil down features and group them using an axis of “Value to Users” and “Difficulty to Implement.” Site Map We also created a site map and identified the key areas that needed to appear on the tab bar, which would allow users to quickly switch between various sections of the app. They were: Play, Browse, Train, Favorites’, and Profile — everything users needed would be accessible in these areas and a quick toggle away. User Flow The user flow we decided to focus on was based around the main components of the MVP: On boarding and the initial tutorial for a new user before sign up Sign in Home & browsing for a song Adding a song to Favourites Playing a song (and the tutorial that would explain the interface to the new user) Seeing progress on the profile page Mid-Fi Wireframes As we moved to mid-fidelity, we began to flesh out concepts further and incorporate copy in on-boarding and tutorials to ensure that users truly understood what the app purpose was and how to use the interface. Usability Testing Image for post Image for postWe then prototyped using Invision and began testing mid-fi designs on users to assess what needed tweaking. While watching a target user, Martin — a late-20s lover of skill-building and gaming apps — interact with the app, we realized that the entire app needed more clear gamification, so we chose a star-based points system, in which every song is worth 3 stars — and users get either 1, 2, or 3 stars after playing a song, based on how well they performed. This would encourage them to re-play songs to master them and is more fun than the previous percentage-based system of feedback we had previously, which we moved to the “training” section, which I’ll explain below. The star-based rewards system was also designed to allow users to redeem rewards to unlock new features of the app, like new songs or instruments, which would give them tangible rewards. We also incorporated “missions” that would allow users to rack up more stars and stay engaged in the game. Testing also revealed a need to separate the “training” section from the “play” section for users who don’t want to train and simply want to enjoy the game. To reflect this, we broke up the data on the Profile and created a 3-segment tab system, showing users their 1) overall achievements, 2) missions, and 3) training progress to help them better visualizes their progress throughout the app. To sprinkle gamification thoroughly throughout the app, we added a “Song of the Day” to the home page, which allows users to rack up more points, and added a brief snapshot of the user’s progress to help them immediately visualize where they’re at in the game and be compelled to earn more stars. We also added the ability for users to invite friends from Facebook to the app to start a “jam sash” with someone they know. CONCLUSION The key part of this brief was finding a way to make the music-playing interface much clearer to users, which we believe we solved with a tracker, as well as lit up and grayed out notes. Beyond that, it was important to show users what the app is immediately and how to use it with on boarding and tutorials, as well as gamify the experience to keep users coming back. We believe that our solutions have helped to achieve this. T H A N K Y O U !!
- Musica -Android App | CodersArts
#Idea This is an App I have created for 6th semester collage End Term Submission. This idea come to me when School of Computer Science of Engineering ask every one to design an android app for 5th semester Project, After getting project I was looking for an unique name the Musica (name) come at that time, Musica is an Spanish name which means music (Song). #Design In this app First I have created splash activity after opening splash activity we Have move to home page I Navigation Layout to open songs, songs information and list of songs are their. In this app I also wanted to get music (Songs) from are External storage and display them into the cardview, I wanted this to show alert dialog during deleting some song ask as to you wanted to delete or not option. at that I have find some problems during Design on this App but I ask some of my faculties to resolve the issue they help me resolve me that issue. The first version of the app would include the following user flows . User can login via Email and Google When the user opens app for the first time, song are added into the list view and he can play these song The user can Search songs which he likes the songs. The user can play song and listen at another page and stop the song When User Wanted To Quit the songs he alert dialog for quit the song. #Outcome I looked some similar app like that jio sawan and Ganna I fount some problem in these Apps we can not get downloaded songs in our list of songs So I have created this app to help user to listen there downloaded songs in there list of song so that they do not found problem to listen songs which they actually like. #Philosophy Of Building Apps I Have created more then 5+ apps I think If you work on multiple apps then you get more information developing apps, and how to resolve issues of apps. Writing good code comes out of practice, experience and lots of code reading. I realized that well-written code always comes back to help you. A good UI/UX design is also the key to your app’s success. Design should be geared towards making the app easy to use for any random user. It should also be practical enough for developers to implement quickly. I always look at the design components available in Material Design before creating a new one. #Engineering I have done B.Tech in Computer Science and Engineering from Lovely Professional University . I started my career as a Android Developer Intern where I working on Android , java, Firebase, Restful apis, UX/UI design ,Json. Another side I learnt flutter and dart from Udemy #Want to build a Mobile app? Reach out to me. If you have an idea and want to convert it into Android app, do get in touch with us. apart from Android development we are working ios apps also link : https://github.com/rishabh1422/musica Hire an android developer to get quick help for all your android app development needs. with the hands-on android assignment help and android project help by Codersarts android expert. You can contact the android programming help expert any time; we will help you overcome all the issues and find the right solution. Want to get help right now? Or Want to know price quote Please send your requirement files at contact@codersarts.com. and you'll get instant reply as soon as requirement receives
- Machine Learning | Sample Assignment | Assignment Help
1. Consider a perceptron learning algorithm (PLA) used for a binary classification problem (adaptive decision boundary). Question: What will be the algorithm’s output if the training data are not linearly separable? Answer: The perceptron learning algorithm does not terminate if the learning set is not linearly separable. To avoid infinite looping, specify finite number of iterations. Question: Would you call the PLA supervised or unsupervised learning? Answer: Supervised learning 2. Obtain the linear regression of Y on X1, X2 (by hand-calculation or writing code, but do not use an off-the-shelf linear regression function): X1 X2 Y 0 0 2 0 1 2 1 0 10 1 1 10 Question1: Write the regression equation. Question2: If we use the result of this regression as a classifier, what will be the equation of the classifier? 3. Exercises 3.6 and 3.7 from the textbook (page 92). 4. In least squares linear regression, we obtain the solution (the weights) analytically. In logistics regression, why don’t we analytically solve for the weights by setting the partial derivatives of the (log-)likelihood expression (or the negative of that expression) to zeros? 5. Explain the concepts of “training data,” “test data,” “training error,” and “test error.” Is it good to have as low a training error as possible? 6.Justify or refute: Gradient descent/ascent guarantees convergence to the global optimal solution. 7. Advice: Please read the textbook carefully. If you can devote further time, read the references. Get instant help or need compete solutions of any machine learning project or research paper then you can contact us at: contact@codersarts.com
- Machine Learning Algorithms | Sample Assignment.
Instruction: 1. Use Scikit‐Learn to complete the assignment. Question 1: Class imbalance, ensembles, and feature selection For this question, we are again using the Portuguese Bank Marketing dataset from the UCI Machine Learning Repository. (The direct link is located at https://archive.ics.uci.edu/ml/datasets/Bank+Marketing. You should again use the bank-additional-full.csv file with all examples (41188) and 20 inputs for this assignment.) The aim of this binary learning task is to predict whether a client will purchase a product from the bank, i.e. the output variable (desired target) is feature 21, with classes 'yes' and 'no'. Recall that this data set is imbalanced. In this assignment, our aim is to improve the performance of the algorithms used in homework 1, apply ensemble-based methods and assess the significance of the results. Complete the following tasks. 1. Rebalance the data set using three different approaches. Oversampling of the minority class. Under-sampling of the majority class. Balanced sampling, i.e. combining oversampling and under-sampling. 2. Apply the four algorithms (a support vector machine (SVM), a decision tree, a Naïve Bayesian learner, and the k‐nearest neighbor (k-NN)), as used in homework 1 to the three resampled data sets. Report your results when using tenfold cross validation. 3. In addition, construct models using the random forests (RFs) and extreme learning trees algorithms, again using tenfold cross validation. 4. Choose the sampling method that produces the best results and motivate your answer. 5. Create a table showing the accuracies of the six algorithms against each one of the ten folds when trained using the sampling technique you selected in question A.4, similar to Example 12.4 in the textbook. Hint: Also refer to Section 12.3, and notably Example 12.6, in the textbook as well as the slides. 6. Determine whether there is a statistically significant difference in the accuracies obtained by the six algorithms against this dataset. 7. Next, apply two different feature selection techniques to the data you chose in question A.4. 8. Retrain the “best two” algorithms, as selected during question A.6, to determine whether feature selection led to improvements in accuracies. Motivate your answer by showing the average accuracies obtained during tenfold cross validation, before and after feature selection. Part B: Comparison of algorithms - multiple datasets Consider the following three benchmarking datasets, together with the Portuguese Bank Marketing dataset. https://archive.ics.uci.edu/ml/datasets/Labor+Relations https://archive.ics.uci.edu/ml/datasets/Congressional+Voting+Records https://archive.ics.uci.edu/ml/datasets/Iris 1. Apply only the SVM, k-NN and RFs algorithms to the three new data sets, again using tenfold cross validation, to obtain the average accuracies over the ten folds. 2. Create a table showing the average accuracies of the three algorithms against all four data sets. (For the Portuguese Bank Marketing dataset, report the most accurate results you obtained in Part A.) Use Friedman’s test to determine whether there is a statistically significant difference in the accuracies obtained in question B.1, calculate the critical difference (CD) and draw the Nemenyi diagram. Hint: Refer to Section 12.3, and notably Example 12.8 and Figure 12.1 (top), of the textbook. Also, see the slides that contain the Friedman test values(Did not receive this yet) TextBook Link: http://2.180.2.83:801/opac/temp/11802.pdf Peter Flach :Machine Learning The art and science of algorithms that make sense of data. Contact us to get instant help with an affordable price or need solution of this project then send your request at here: contact@codersarts.com
- Sentiment Analysis By Retrieving Data From Web Page
In this we have retrieving data form web pages and perform the following task: Steps needs to perform: Retrieving Text from Static Website Beautiful Soup Using Newspaper3K to handle text cleanup Several Web Examples Processing Local Text File Basic WordCloud with WordCloud Readability with Textatistic Sentiment Analysis with TextBlob Be able to: Download text from (some) web pages and prep for text analysis. Clean up the text with Beautiful Soup, if possible. Learn to use a library like Article to extract articles from most news sites and blogs including key meta-data. Practice manipulating speech transcript data from Rev.com. Perform sentiment analysis and plot sentence level subjectivity and polarity data with matplotlib and plotly express Wrangling Text from Web-pages is Hard! Each web-site stores data different so you need to be a sleuth. Most modern sites no longer store the text as part of the page. Static web pages are hard to find. You could spend a semester just on retrieving data from web-pages or other APIs. Many web-pages have restrictions on what you can retrieve. (See robots.txt before making heavy use of a web-page.) Most book examples will use a static, locally stored text file as input. Some newer tools (e.g. Article) can make it "easier" to retrieve properly formatted pages. Install from Command or Terminal Prompt (not Jupyter Notebook) TextBlob Module conda install -c conda-forge textblob ipython -m textblob.download_corpora Note: Windows users may need to run as administrator wordcloud Module *conda install -c conda-forge wordcloud Install from Command or Terminal Prompt (continued) Newspaper3k https://github.com/codelucas/newspaper Reliable text scraping pip3 install newspaper3k TextTastic Module Not required for our assignments but good for practice and examples pip install textatistic Note: Windows users may need to run as administrator* Some students have reported needing to install VS Code to get Textatistic to work (ymmv)* https://www.rev.com/blog/transcripts/donald-trump-white-house-rally-speech-transcript-october-10-first-event-since-covid-diagnosis Importing All Related Libraries import requests # import from web from bs4 import BeautifulSoup # clean up text from wordcloud import WordCloud # create word clouds from textblob import TextBlob # basic NLP, install first from textatistic import Textatistic # readability, install first from pathlib import Path # for quick import of text file for NLP import pandas as pd import seaborn as sns import matplotlib.pyplot as plt from plotly import express as px # Magics %config InlineBackend.figure_format = 'retina' %matplotlib inline Example 1: Extraction Block or Not Allowed ## 403 Forbidden Error, extract blocked / not allowed url = 'https://www.americanrhetoric.com/speeches/mlkihaveadream.htm' response = requests.get(url) # retrieve the webpage response.content # show content from the retrieved page Example 2: Static, Predominately Text-based Web-Page ## Static web page - JFK speech re: moon url = 'https://er.jsc.nasa.gov/seh/ricetalk.htm' response = requests.get(url) response.content # Notice moderate amount of HTML code soup = BeautifulSoup(response.content, 'html5lib') text = soup.get_text(strip=True) # text without tags text #BeautifulSoup has done a decent job on this page removing HTML Example 3: Sometimes it is easier to copy and paste to a file ## Somewhat hidden text url = 'https://www.whitehouse.gov/briefings-statements/remarks-president-trump-2020-united-states-military-academy-west-point-graduation-ceremony/' response = requests.get(url) response.content # UGLY! significant amount of code -- Where's the text?? ## Soup doesn't help much in this case soup = BeautifulSoup(response.content, 'html5lib') text = soup.get_text(strip=True) text Let's try Article Steps: Install newspaper3k via pip (only do this once per machine) Import Article from newspaper (once per notebook) Create an article object and set it to the URL of the web-page (required once per web-page) Download (required after creating article object) Parse the downloaded object (required once per download, separate data into text, authors, title, date, etc.) Now you are ready for other tasks (view text, check authors and publication date; perform NLP tasks). https://newspaper.readthedocs.io/en/latest/ Try it! Try the newspaper article code on your own link to a site that is likely to have all of the atributes # Change the url to your own, comment out all urls but one, note may not show all of article if behind pay wall url = 'https://hbr.org/2020/04/bringing-an-analytics-mindset-to-the-pandemic' # url = 'https://www.wsj.com/articles/ceos-increasingly-see-sustainability-as-path-to-profitability-11602535250' # url = 'https://www.cnn.com/2020/10/13/health/us-coronavirus-tuesday/index.html' article = Article(url) article.download() article.parse() print("Title: ", article.title) print("Authors: ", article.authors) print("Publication Date: ", article.publish_date) print("First Image:", article.top_image) print("Video Links:", article.movies) print("Title: ", article.title) print() print(article.text) article.nlp() print("KeyWords: ", article.keywords) # creates a list of authors; no authors on this page print() print("Summary: ", article.summary) # no publish date on this web-page Processing a Transcript with Newspaper3k We can leverage article to retrieve text of transcribed speeches though we may need to process the data a bit to prepare it for analysis. Most transcripts include speaker names, time stamps and other information. Speech Transcript These examples are specifically for the transcript site https://www.rev.com/blog/transcripts Modifications likely for other speech sources # Set the url # From rev.com url = 'https://www.rev.com/blog/transcripts/donald-trump-mosinee-wi-rally-speech-transcript-september-17' event = '-mosinee-2020' # this will be part of the file name for a text file we create #url = 'https://www.rev.com/blog/transcripts/ruth-bader-ginsburg-stanford-rathbun-lecture-transcript-2017' #event = '-standfordlecture-2017' # Minimum code needed to get to the text of the speech article = Article(url) article.download() article.parse() print(article.text) # write the text to a file with open('speech.txt', 'w') as f: f.writelines(text) with open('speech.txt', 'r') as f: for cnt, line in enumerate(f): print(f'Line {cnt}: {line}') # Custom processing for rev site # line 0 = speaker and time # line 2 = what speaker said # lines 1 and 3 = blanks # create four lists of the components of speech with open('speech.txt', 'r') as f: speech = f.readlines() tmp = [] speaker = [] time = [] words = [] for cnt, line in enumerate(speech): if cnt % 2 == 0: tmp.append(line.rstrip()) # temp list of just the text lines 0,2 for i in range(0,len(tmp),2): speaker.append(tmp[i].split(': ')[0]) #split speaker line into 2 parts time.append(tmp[i].split(': ')[1]) words.append(tmp[i+1]) # words from speaker # find unique speaker names for later filter set(speaker) spkr = 'Donald Trump' file = spkr.split()[len(spkr.split())-1] + event + '.txt' file # use write instead of writelines since we don't want entire list # remember to add new line with open(file,'w') as f: for i in range(0,len(speaker)): if speaker[i] == spkr: f.write(words[i]+'\n') # Confirm good file text = Path(file).read_text() text Web scrapping using beautiful soup is used in machine learning or data science to extract useful data and preform machine learning algorithms or task on it, like: sentiment analysis in NLP etc. If need any help related to this then contact us at: contact@codersarts.com
- GYM LOCATOR APP
INTRODUCTION :- Problem Statement is most of the users have to use multiple apps to track their fitness activity, do workout, exercises & meal planning. People lose interest after a while as they find it very cumbersome to use different apps and keep track of it. Solution to the above is and mobile applications that will help users develop the habit of practicing daily to track their progress (activity, meal, nutrition intake, workout. etc.) and stay motivated especially when they are slacking. Competitive Analysis I started of first with Competitive Analysis. I did analysis on 3 apps Strava, Runkeeper & CarrotfitBased on the target user defined earlier; I recruited 6 personas and conducted interview session with them to understand their lifestyle, difficulties they go through to keep themselves fit, what are their aspirations and what motivates them to be consistent. My questions were based on need, task and value. Persona Board I shortlisted 3 users to create by persona board. This exercise helped me understand clearly what are their motivation, frustration, goals & expectations also about their lifestyle. Below is an example from one of the user’s persona boards. Empathy Map Empathy map helped to understand what users say, here, think/feels and do, which give me their pain and gains. Customer Journey Mapping This journey helped me understand where users are facing problem and how they can be solved with digital touch points, which gives a list of features that I can have in the app to improve the user’s experience. After completing customer journey map for all the users, I got a list of features. I used few features marked in blue and the other will be worked on, in the next phase. Task Flow I worked on the task flow for this app, it was important that the flow is very simple and easy for user to navigate around using the app. Information Architecture (IA) I performed card sorting to understand which feature fits best under which section. Contents were organized based on location and Time. Low Fidelity wireframe I started with basic level wireframe with help of balsamic tool. The journey I choose to work on was tracking your activity with GPS. Mid Fidelity Wireframe or Digital Wireframe In this journey I tried to be as detailed as possible, from navigation, icons, and touch points. Interactive Prototype I used Invisionapp to create interactive prototype. It is very simple to use application. Usability Testing I conducted usability testing by sharing the prototype link with users and asked them to perform few task. The list of tasks was: Check your today’s task to be completed. Add an activity to your schedule. You are going for morning walk. Start tracking your activity. Can you point out what are the activities completed. After usability test I worked on the issues faced by the users and tried to fix them. Finally I have a product that user is happy to use it on daily basis. Our goals As there were no specifications at the beginning of the project, our goals were to: Create a technical specification Develop an MVP to a tight deadline Expand the MVP later into a full-fledged product Integrate the application into an existing management system. We created the technical specification and defined these features for the application: Personal profiles Activities (booked classes, membership cards, statuses) QR code scanner Listing of all classes with descriptions Information about trainers Dynamic scheduling Class bookings and cancellations Wait lists for group classes Maps and routes Payment system for classes Memberships of different levels and durations Internal currency The challenges 1. No specification Our client had never created a mobile app before, and they had no specification at the start of the project. However, as they already had a website with most of the features we needed to implement, creating the technical specification wasn’t that hard. 2. Tight deadline This was our first challenge, as we had only two months to develop a mobile app that would work for all of our client’s fitness centers3. Complex functionality Our client wanted to provide an experience in a mobile app similar to that of the website, but some elements of the interface appeared to be too complex. For example, the suggested personal profile feature was far too complex. It featured: Memberships Links to other pages in the app Internal currency balance Invite code for sharing with friends Activities, including all purchases, points, and order statuses Personal information Addresses of gym locations Maps with routes, pins, and other features4. Integration with gyms and fitness clubs To really be useful for gym-goers, we needed to add mobile-specific features that wouldn’t merely copy the website but would make users’ lives easier and provide them with additional value. Our solutions 1. We created a technical specification To be able to plan the development process and provide our client with a detailed estimate, we needed to create a technical specification. As a full-cycle development company, we provided a business analyst who: Extracted knowledge and business expectations from the client during an interview Created wireframes to show how the user experience would look Developed a technical specification with a description of the main features, technologies, and the people responsible for delivery, testing, and acceptance we created an MVP As we created the technical specification with the client, we determined the features for the app. To meet the deadline, we created a plan for an MVP and added the remaining features to our backlog. The MVP consisted of: Personal profiles Class bookings and cancellations Membership card management and purchases Activities Determining the main features allowed us to focus and plan our time so we could meet the deadline. Also, these features were enough to meet the business goals. CONCLUSION: - We managed to create a gym locator app in just few months. Then we spent another few months, implementing the remaining functionality and changing the application according to the feedback from the user. We continue to work on this product, integrating new features and supporting the application. Hire Figma Experts for any kind of projects – urgent bug fixes, minor enhancement, full time and part time projects, If you need any type project hep, Our expert will help you start designing immediately. T H A N K Y O U
- Android Studio Stable 4.1 Released 12 October 2020 | CodersArts
What's new Android Studio 4.1 includes these new enhancements & features: Design Material Design Components updates Android Studio templates in the create New Project dialog now use Material Design Components (MDC) and conform to updated guidance for themes and styles by default. These changes will make it easier to use recommended material styling patterns and support modern UI features like dark themes. Develop Database Inspector Run Android Emulator directly in Android Studio Dagger navigation support Use TensorFlow Lite models Build & Test Android Emulator - Foldable Hinge Support Apply Changes updates Export C/C++ dependencies from AARs Symbolification for native crash reports Optimize System Trace UI Improvements Standalone profilers Native Memory Profiler Reference : https://android-developers.googleblog.com/2020/10/android-studio-41.html?m=1 Hire an android developer to get quick help for all your android app development needs. with the hands-on android assignment help and android project help by Codersarts android expert. You can contact the android programming help expert any time; we will help you overcome all the issues and find the right solution. Want to get help right now? Or Want to know price quote Please send your requirement files at contact@codersarts.com. and you'll get instant reply as soon as requirement receives
- Database Designing And Analysis
Aim This coursework examines the student’s ability to design a relational database, manipulate and analyse large datasets, and to interpret analysis results. Part 1: Designing a Relational Database Little Panda is a takeaway who wants to open up its business to accept online orders. To do this, it needs a database to store its food menu, customer data and orders. Your task is to design a relational database that runs on MySQL. Here are some requirements: Customers must register before they can make orders. They must provide enough details for home delivery. Menu item prices may change. Customers are charged prices at the time of order. Little Panda needs to know the status of an order so that they can follow up. e.g. either it is “waiting to be cooked”, “cooked and to be delivered”, or delivered, etc. You can assume all orders are paid before they enter the system. Order details must be stored for accounting purpose, even after they are completed. Other than these it is a usual takeaway scenario. You can apply your common sense to make reasonable assumptions. Part 2: Analysing the “UN City Population” Dataset You are given the “UN city population” dataset. Perform the following analysis using Pig: Question 1: Find the number of countries in the dataset. Question 2: List the countries together with the number of cities in each country1 . Question 3: List countries in ascending order of female-to-male ratio, throughout the years2 . Question 4: List the top 10 most populated cities according to the most recent data in the dataset3 . Question 5: List the top 10 cities which have the highest population change per year in percentage since the start of the survey4 . Notes: You must use Pig. Annotate your program code properly so that the marker can understand how it works. The annotation also contributes to the grade. State any assumption that you made. If you cannot complete a task, an incomplete solution may also bring you partial credit. Part 3: Analysing Datasets of Your Choice In this part of the coursework you need to: 1. Find a dataset, or multiple datasets. Dataset(s) must be public domain and of a considerable size. ▪ A dataset cannot be too small. e.g. Just a few lines. ▪ There is no need to go for a GB or TB-sized dataset unless the dataset is very interesting. ◦ DO NOT choose a dataset similar to the one in part 2. 2. Propose 3 analysis tasks that you will perform on the dataset(s). ◦ Your proposed analyses should be insightful. e.g. give useful information for decision making. ◦ You may combine multiple datasets for some interesting analyses. ◦ DO NOT propose tasks similar to those in part 2. 3. Implement the 3 proposed analyses using Pig. 4. For each analysis, interpret the result. Dataset Source Here are some starting places to look for datasets: https://github.com/datasets http://www.datasciencecentral.com/profiles/blogs/big-data-sets-available-for-free http://hadoopilluminated.com/hadoop_illuminated/Public_Bigdata_Sets.html Deliverables Part 1: Show an ER diagram of your conceptual model. State all assumptions you have made. State all limitations (if any) of your design. Show the process of normalisation up to the 3rd Normal Form. • DO NOT just claim your schema is in 3NF. You must show evidence. e.g functional dependencies among attributes and keys. • Show how the database schema changes as normalisation progresses. Show your final database schema. i.e. All tables and their structures Part 2 & 3: Your submission should include the followings: ▪ All Pig scripts for the tasks. • DO NOT combine all Pig scripts into one file. • These scripts should be provided as separate text files which are ready to be executed. ▪ A report, preferably in PDF format. • For part 2: ◦ State the result of each analysis task. ◦ For short results, you can copy-and-paste them into the report. For long results, include them as external text files. • For part 3: ◦ Describe your chosen dataset. e.g. What is it about? ▪ State clearly the source of the dataset. e.g. What is its URL? ▪ Describe the format of the dataset. e.g. What does each field mean? ▪ Explain your motivation in selecting this dataset. For example: • What makes you interested in this dataset? • What useful information can you get from this dataset? ◦ For the 3 proposed analyses. ▪ Explain the motivation of each analysis. ▪ State the result of each analysis. If you need any help related to design a relational database, manipulate and analyse large datasets then you can contact us at: contact@codersarts.com
- PostgreSQL Shema and Queries For Ordering System
-- Connect to your Postgres server and set the active database to CAP ("\connect CAP" in psql). Then ... Droping Tables if already exist with same name DROP TABLE IF EXISTS Orders; DROP TABLE IF EXISTS Products; DROP TABLE IF EXISTS Customers; DROP TABLE IF EXISTS Agents; DROP TABLE IF EXISTS People; Creating Tables -- People -- CREATE TABLE People ( pid int not null, prefix text, firstName text, lastName text, suffix text, homeCity text, DOB date, primary key(pid) ); -- Customers -- CREATE TABLE Customers ( pid int not null references People(pid), paymentTerms text, discountPct decimal(5,2), primary key(pid) ); -- Agents -- CREATE TABLE Agents ( pid int not null references People(pid), paymentTerms text, commissionPct decimal(5,2), primary key(pid) ); -- Products -- CREATE TABLE Products ( prodId char(3) not null, name text, city text, qtyOnHand int, priceUSD numeric(10,2), primary key(prodId) ); -- Orders -- CREATE TABLE Orders ( orderNum int not null, dateOrdered date not null, custId int not null references Customers(pid), agentId int not null references Agents(pid), prodId char(3) not null references Products(prodId), quantityOrdered integer, totalUSD numeric(12,2), primary key(orderNum) ); Inserting Records Into tables -- People -- INSERT INTO People (pid, prefix, firstName, lastName, suffix, homeCity, DOB) VALUES (001, 'Dr.', 'Neil', 'Peart', 'Ph.D.', 'Toronto', '1952-09-12'), (002, 'Ms.', 'Regina', 'Schock', NULL, 'Toronto', '1957-08-31'), (003, 'Mr.', 'Bruce', 'Crump', 'Jr.', 'Jacksonville', '1957-07-17'), (004, 'Mr.', 'Todd', 'Sucherman', NULL, 'Chicago', '1969-05-02'), (005, 'Mr.', 'Bernard', 'Purdie', NULL, 'Teaneck', '1939-06-11'), (006, 'Ms.', 'Demetra', 'Plakas', 'Esq.', 'Santa Monica', '1960-11-09'), (007, 'Ms.', 'Terri Lyne', 'Carrington', NULL, 'Boston', '1965-08-04'), (008, 'Dr.', 'Bill', 'Bruford', 'Ph.D.', 'Kent', '1949-05-17'), (009, 'Mr.', 'Alan', 'White', 'III', 'Pelton', '1949-06-14') ; -- Customers -- INSERT INTO Customers (pid, paymentTerms, discountPct) VALUES (001, 'Net 30' , 21.12), (004, 'Net 15' , 4.04), (005, 'In Advance', 5.50), (007, 'On Receipt', 2.00), (008, 'Net 30' , 10.00) ; -- Agents -- INSERT INTO Agents (pid, paymentTerms, commissionPct) VALUES (002, 'Quarterly', 5.00), (003, 'Annually', 10.00), (005, 'Monthly', 2.00), (006, 'Weekly', 1.00) ; -- Products -- INSERT INTO Products( prodId, name, city, qtyOnHand, priceUSD ) VALUES ('p01', 'Heisenberg Compensator', 'Dallas', 47, 67.50), ('p02', 'Universal Translator', 'Newark', 2399, 5.50 ), ('p03', 'Commodore PET', 'Duluth', 1979, 65.02 ), ('p04', 'LCARS module', 'Duluth', 3, 47.00 ), ('p05', 'Remo drumhead', 'Dallas', 8675309, 16.61 ), ('p06', 'Trapper Keeper', 'Dallas', 1982, 2.00 ), ('p07', 'Flux Capacitor', 'Newark', 1007, 1.00 ), ('p08', 'HAL 9000 memory core', 'Newark', 200, 1.25 ), ('p09', 'Red Barchetta', 'Toronto', 1, 379000.47 ) ; -- Orders -- INSERT INTO Orders(orderNum, dateOrdered, custId, agentId, prodId, quantityOrdered, totalUSD) VALUES (1011, '2020-01-23', 001, 002, 'p01', 1100, 58568.40), (1012, '2020-01-23', 004, 003, 'p03', 1200, 74871.83), (1015, '2020-01-23', 005, 003, 'p05', 1000, 15696.45), (1016, '2020-01-23', 008, 003, 'p01', 1000, 60750.00), (1017, '2020-02-14', 001, 003, 'p03', 500, 25643.88), (1018, '2020-02-14', 001, 003, 'p04', 600, 22244.16), (1019, '2020-02-14', 001, 002, 'p02', 400, 1735.36), (1020, '2020-02-14', 004, 005, 'p07', 600, 575.76), (1021, '2020-02-14', 004, 005, 'p01', 1000, 64773.00), (1022, '2020-03-15', 001, 003, 'p06', 450, 709.92), (1023, '2020-03-15', 001, 002, 'p05', 500, 6550.984), (1024, '2020-03-15', 005, 002, 'p01', 880, 56133.00), (1025, '2020-04-01', 008, 003, 'p07', 888, 799.20), (1026, '2020-05-01', 008, 005, 'p03', 808, 47282.54) ; Queries Related to Given Schema Query 1: Display the cities that makes the most different kinds of products. Query 2: Display the names of products whose priceUSD is at or above the average priceUSD, in reverse-alphabetical order. Query 3: Display the customer last name, product id ordered, and the totalUSD for all orders made in March, sorted by totalUSD from high to low. Query 4: Display the last name of all customers (in reverse alphabetical order) and their total ordered, and nothing more. (Hint: Use coalesce to avoid showing NULLs.) Query 5: Display the names of all customers who bought products from agents based in Teaneck along with the names of the products they ordered, and the names of the agents who sold it to them. Query 6: Write a query to check the accuracy of the totalUSD column in the Orders table. This means calculating Orders.totalUSD from data in other tables and comparing those values to the values in Orders.totalUSD. Display all rows in Orders where Orders.totalUSD is incorrect, if any. If there are any incorrect values, explain why they are wrong. Query 7: Display the first and last name of all customers who are also agents. Query 8:Create a VIEW of all Customer and People data called PeopleCustomers. Then another VIEW of all Agent and People data called PeopleAgents. Then "select *" from each of them in turn to test. Query 9:Display the first and last name of all customers who are also agents, this time using the views you created. Query 10:Compare your SQL in #7 (no views) and #9 (using views). The output is the same. How does that work? What is the database server doing internally when it processes the #9 query? Get complete solution of above queries with an affordable price by sending request at: contact@codersarts.com or need other database assignment help also contact us and get help.











