Google Sheets - best combination from list based on criteria - google-sheets

I have a list of items with data connected to them and I need the best combination of 3 while multiple criteria based on that data are met.
Here is an example sheet - https://docs.google.com/spreadsheets/d/1-5R0OfJWsjnCUJ9mGKvYuphDRaXeoJZoTsiEdoXi9ag/edit?usp=sharing

I do not know if a spreadsheet is the best tool to solve your optimization problem.
You may want to take a look at linear programming and see if another tool would serve you better.
If you absolutely want to do this using Google Sheets, see if one of the existing solver add-ons would work for you. Choose Add-ons > Get add-ons and search for solver to get started.

Related

Umbraco (Examine) Search - Synonyms

I am trying to implement synonym searching in the Examine search engine that comes with Umbraco 8 out of the box.
Does anyone have any experience with implementing synonym searching in Examine/Umbraco 8. The options that I have been considering after looking around are -
A package that can be installed in Umbraco 8 that offers this extended functionality (if one exists).
Implementing a custom index (currently just using the out of the box 'ExternalIndex') that somehow implements synonym searching in the analysis (via custom analyzer implementation etc - If that is even possible).
Manually formatting multiple search terms by checking for synonyms in the string beforehand, running all searches and consolidating the results after (really a nasty, last resort option - you don't have to tell me how bad this is, I already know).
I have been trawling around the forums for a definitive answer on this and cannot really find one. Essentially I want to stick with the Examine engine for simplicity, however I am starting to think that the best way to achieve what I am after would be to move to a new engine completely (elastic search for example).
Many thanks in advance.
Use algolia? It's free and will do what you need easily? https://www.algolia.com/
The Examine is based on something called the Lucene search index. Lucene is known to not really do synonyms I'm afraid (read why here and potential solution).
Your thinking is probably correct. Examine is good at what it does, if you want to use more advanced searching then you will be better off using a more advanced search provider. There are loads of options, Algolia is Saas and comes with a free plan depending on your usage. It's easy to install and you target data from the front-end.
YOu could also look into Azure Cognitive Search or Solr. These are probably harder to implement but will also do the job

Google Sheets, How does one automatically sort Rows based on a columns data validation

The idea is there would be several ranks (think military)
And it would go;
General
Vice General
Commmander
Vice Commander
CPL
LCPL
etc...
This would all be able to be inputted via data validation and then the sheet would sort the entire row based on the rank column.
I'd very much appreciate any and all answers as I am completely unfamiliar with how google sheets work.
(I'm pretty sure it requires a script but hopefully not)

How to know if a project has issues in JIRA

I am working in a big company and we are having a lot of JIRA projects, I would like to have a dashboard or a way to know if the projects that exist in JIRA are used, e.g if there are any issues in them (I don't need to see the issues just to have a number).
Can I do it without accessing to the database, do I need a plugin, is there a functional way to get the info? :)
thanks a lot
best regards
Adrien k
You can easily do this with the built-in Two Dimensional Filter Statistics gadget:
first, search for all issues in your JIRA instance. There may be an easier way to do this, but you can certainly use JQL like project=ABC or project != ABC.
save the search as a filter
go to a dashboard, add a new Two Dimensional Filter Statistics gadget. Select your newly-saved filter, select "Project" for one axis, and something small in number (like Issue Type) to the other axis. You'll also need to adjust "Number of Results" to exceed the number of issue types in your system.
save the gadget
Note that the Projects gadget also provides somewhat-similar information with fewer configuration requirements, but as far as I know, it doesn't show the numeric issue totals unless you hover the mouse pointer over the bars.
The company I work for makes a plugin that can do that - Structure
That's an example structure containing all issues in available projects, they are then grouped by project, and there's a column showing the number of sub-items (issues) in each group (project).
You can also add a structure to a dashboard/Confluence page.
On a large JIRA instance it be a bit on the expensive side to use it just for that alone though...

Methods for Cost Analysis in Google Sheets

I have the following spreadsheet:
Cost Analysis Google Sheet
I am trying to think of the best way to analyze the cost impact on a Variant based on the different components of the product. I am having a very tough time trying to be creative and think of ways to identify cost trade-off analysis using Google Sheets.
Basically, I am trying to find methods within Sheets to help me visualize the added value of certain components for a Variant.
I know that this is difficult to do without any domain knowledge of the application, but I am hoping that someone has some more general ideas for how to do some reporting and visualization of data like this!
Thanks so much!
You have already added conditional formating, which I consider great for visual identification of tables, given that I don't think this model would be improved by a graph. First I would recommend changing the conditional formatting to gradual and having the green extreme be the maximum negative value of the Diff.-columns. Second, if you want the simplest visualization possible, you can do a rank-list.
This would work like a dashboard, presenting the variants with the information you want. Here is an example, which takes the PN-column of the row with the lowest Diff-value in the Variant 3-rows: =index(G3:I16,match(vlookup(SMALL(I3:I16,1),I3:I16,1,false),I3:I16),1)
You can then alter the rank and the offset, to get a list for the # best variants with the columns you want.
Hope that helps, for the visualization. For advice on organization, I believe Google Sheets-forum is less appropriate :)

Recommender System: Is it content-based filtering?

Can someone please help me clarify.
I am currently using collaborative filtering (ALS) which returns a recommendation list with scores corresponding to the recommended items. In addition to this, I am boosting the scores (+0.1) if the items contain a tag that corresponds with what the user has specified they prefer such as "romantic movies". To me, this is considered a hybrid collaborative approach since it's boosting the Collaborative filtering results with content-based filtering (Please correct me if I am wrong).
Now, what if I did the same approach without doing Collaborative filtering? would it be considered Content-based Filtering? since I will be still recommending dishes based on the content and attributes of each dish corresponding to what the user has specified they like (such as "romantic movies").
The reason why I'm confused is because I've seen content-based filtering where they apply an algorithm such as Naive Bayes etc, and this approach would be similar to a simple search of the items (on the contents).
Not sure you can do what you suggest because you have no score to boost without CF.
You are indeed using a hybrid, much the same as the Universal Recommender. To do purely content-based recommendations you have to implement two methods
Personalized recommendations: here you have to look at the content of items the user preferred and find items that have similar content. This can be done by using something like the Mahout spark-rowsimilarity job to create a model of item: list-of-similar-items then indexing the results with a search engine and using the user's preferred item ids as the query. This is being added to the Universal Recommender.
"People who liked this also liked these": these are items similar to one being viewed, for example, and are the same for all users. They are not personalized and so are useful even for anonymous users with no history. This can be done with the same indexed ids as above but using the items similar to the one being viewed as the query. One might think to use only the similar items themselves but by using them as a query you can put the categorical boost in the search engine query and have boosted items returned. This already works in the Universal Recommender but the similar items are not in the model yet.
That said mixing content with collaborative-filtering will almost surely give better results since CF works better when the data is available. The only time to rely on content-based recommendations is when your catalog is of one-off items, which never get enough CF interactions or you have rich content, which has a short lifetime like breaking news.
BTW anyone who wants to help add the pure content-based part to the Universal Recommender can contact the new maintainers of it at ActionML.com

Resources