René's URL Explorer Experiment


Title: Multi Objective Optimization · Issue #40 · AnotherSamWilson/ParBayesianOptimization · GitHub

Open Graph Title: Multi Objective Optimization · Issue #40 · AnotherSamWilson/ParBayesianOptimization

X Title: Multi Objective Optimization · Issue #40 · AnotherSamWilson/ParBayesianOptimization

Description: Hello! Using the "ParBayesianOptimization" package, it possible to use this package for "multi objective optimization" (e.g. optimize several cost functions together)? For example, below I have included an example of multi-objective opti...

Open Graph Description: Hello! Using the "ParBayesianOptimization" package, it possible to use this package for "multi objective optimization" (e.g. optimize several cost functions together)? For example, below I have inc...

X Description: Hello! Using the "ParBayesianOptimization" package, it possible to use this package for "multi objective optimization" (e.g. optimize several cost functions together)? For examp...

Opengraph URL: https://github.com/AnotherSamWilson/ParBayesianOptimization/issues/40

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Multi Objective Optimization","articleBody":"Hello!\r\n\r\nUsing the \"ParBayesianOptimization\" package, it possible to use this package for \"multi objective optimization\" (e.g. optimize several cost functions together)?\r\n\r\nFor example, below I have included an example of multi-objective optimization using an algorithm called \"particle swarm optimization\":\r\n\r\n```\r\n#Load library:\r\nlibrary(mopsocd)\r\n\r\n#load libraries\r\nlibrary(dplyr)\r\n\r\n\r\n# create some data for this example\r\na1 = rnorm(1000,100,10)\r\nb1 = rnorm(1000,100,10)\r\nc1 = sample.int(1000, 1000, replace = TRUE)\r\ntrain_data = data.frame(a1,b1,c1)\r\n\r\n#define function:\r\n\r\nfunct_set \u003c- function (x) {\r\n    \r\n    \r\n    \r\n    #bin data according to random criteria\r\n    train_data \u003c- train_data %\u003e%\r\n        mutate(cat = ifelse(a1 \u003c= x[1] \u0026 b1 \u003c= x[3], \"a\",\r\n                            ifelse(a1 \u003c= x[2] \u0026 b1 \u003c= x[4], \"b\", \"c\")))\r\n    \r\n    train_data$cat = as.factor(train_data$cat)\r\n    \r\n    #new splits\r\n    a_table = train_data %\u003e%\r\n        filter(cat == \"a\") %\u003e%\r\n        select(a1, b1, c1, cat)\r\n    \r\n    b_table = train_data %\u003e%\r\n        filter(cat == \"b\") %\u003e%\r\n        select(a1, b1, c1, cat)\r\n    \r\n    c_table = train_data %\u003e%\r\n        filter(cat == \"c\") %\u003e%\r\n        select(a1, b1, c1, cat)\r\n    \r\n    \r\n    \r\n    #calculate  quantile (\"quant\") for each bin\r\n    \r\n    table_a = data.frame(a_table%\u003e% group_by(cat) %\u003e%\r\n                             mutate(quant = ifelse(c1 \u003e x[5],1,0 )))\r\n    \r\n    table_b = data.frame(b_table%\u003e% group_by(cat) %\u003e%\r\n                             mutate(quant = ifelse(c1 \u003e x[6],1,0 )))\r\n    \r\n    table_c = data.frame(c_table%\u003e% group_by(cat) %\u003e%\r\n                             mutate(quant = ifelse(c1 \u003e x[7],1,0 )))\r\n    \r\n    f1 = mean(table_a$quant)\r\n    f2 = mean(table_b$quant)\r\n    f3 = mean(table_c$quant)\r\n    \r\n    \r\n    #group all tables\r\n    \r\n    final_table = rbind(table_a, table_b, table_c)\r\n    # calculate the total mean : this is what needs to be optimized\r\n    \r\n    f4 = mean(final_table$quant)\r\n    \r\n    #multiple functions are being optimized \r\n    return (c(f1, f2, f3, f4));\r\n}\r\n\r\n#constraints (I know this is not currently possible in ParBayesianOptimization)\r\n  gn \u003c- function(x) {\r\n    g1 \u003c- x[2] - x[1] \u003e 0.0\r\n    g2 \u003c- x[4] - x[3] \u003e 0.0\r\n    g3 \u003c- x[7] - x[6] \u003e0\r\n    g4\u003c- x[6] - x[5] \u003e0\r\n    return(c(g1,g2,g3, g4))\r\n}\r\n\r\n## Set Arguments/Bounds \r\n\r\nvarcount \u003c- 7\r\nfncount \u003c- 4\r\nlbound \u003c- c(80,90,80,90,100, 200, 300)\r\nubound \u003c- c(90,110,90,110,200, 300, 500)\r\noptmin \u003c- 0\r\n\r\n\r\n\r\n#optimization of multiple cost functions\r\nex1 \u003c- mopsocd(funct_set,gn, varcnt=varcount,fncnt=fncount,\r\n               lowerbound=lbound,upperbound=ubound,opt=optmin)\r\n```\r\n\r\nWould it be possible to solve a similar style problem (i.e. optimization of multiple objective functions) using the ParBayesianOptimization library?\r\n\r\nThanks so much!","author":{"url":"https://github.com/swaheera","@type":"Person","name":"swaheera"},"datePublished":"2021-07-13T16:51:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/40/ParBayesianOptimization/issues/40"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:029cf227-0dc2-0c40-7c06-7af609f8a2ec
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id932E:1BA2DE:DA8885:11E639A:6992933C
html-safe-noncee4491faae9bd0a0783743155d0aeb28761b7f160469bc7f8cbce0aa7cc890ab9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzJFOjFCQTJERTpEQTg4ODU6MTFFNjM5QTo2OTkyOTMzQyIsInZpc2l0b3JfaWQiOiI1MjA3MDQzOTc1NzY5Mzk2MDI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd22280c0e1e869039d83584a08ff7e509a47e34d7da8beb2e65365d86f791f8e
hovercard-subject-tagissue:943631693
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/AnotherSamWilson/ParBayesianOptimization/40/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cdd6485b4f8107a90e6e945e1027a36f7599e647967ef33f8b8aa0acc1d82599/AnotherSamWilson/ParBayesianOptimization/issues/40
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cdd6485b4f8107a90e6e945e1027a36f7599e647967ef33f8b8aa0acc1d82599/AnotherSamWilson/ParBayesianOptimization/issues/40
og:image:altHello! Using the "ParBayesianOptimization" package, it possible to use this package for "multi objective optimization" (e.g. optimize several cost functions together)? For example, below I have inc...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameswaheera
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/AnotherSamWilson/ParBayesianOptimization git https://github.com/AnotherSamWilson/ParBayesianOptimization.git
octolytics-dimension-user_id44655289
octolytics-dimension-user_loginAnotherSamWilson
octolytics-dimension-repository_id155993502
octolytics-dimension-repository_nwoAnotherSamWilson/ParBayesianOptimization
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id155993502
octolytics-dimension-repository_network_root_nwoAnotherSamWilson/ParBayesianOptimization
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization/issues/40#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FAnotherSamWilson%2FParBayesianOptimization%2Fissues%2F40
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FAnotherSamWilson%2FParBayesianOptimization%2Fissues%2F40
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=AnotherSamWilson%2FParBayesianOptimization
Reloadhttps://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization/issues/40
Reloadhttps://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization/issues/40
Reloadhttps://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization/issues/40
AnotherSamWilson https://patch-diff.githubusercontent.com/AnotherSamWilson
ParBayesianOptimizationhttps://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FAnotherSamWilson%2FParBayesianOptimization
Fork 23 https://patch-diff.githubusercontent.com/login?return_to=%2FAnotherSamWilson%2FParBayesianOptimization
Star 116 https://patch-diff.githubusercontent.com/login?return_to=%2FAnotherSamWilson%2FParBayesianOptimization
Code https://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization
Issues 17 https://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization/issues
Pull requests 2 https://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization/pulls
Actions https://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization/actions
Projects 0 https://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization/projects
Security 0 https://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization/security
Insights https://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization/pulse
Code https://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization
Issues https://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization/issues
Pull requests https://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization/pulls
Actions https://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization/actions
Projects https://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization/projects
Security https://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization/security
Insights https://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/AnotherSamWilson/ParBayesianOptimization/issues/40
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/AnotherSamWilson/ParBayesianOptimization/issues/40
Multi Objective Optimizationhttps://patch-diff.githubusercontent.com/AnotherSamWilson/ParBayesianOptimization/issues/40#top
https://github.com/swaheera
https://github.com/swaheera
swaheerahttps://github.com/swaheera
on Jul 13, 2021https://github.com/AnotherSamWilson/ParBayesianOptimization/issues/40#issue-943631693
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.