Skip to content

Releases: hrntsm/Tunny

Tunny v0.12.0

22 Jun 02:47
1a9dc00
Compare
Choose a tag to compare

Release note

English
日本語

Added

  • Help & Install Python menu strip items
  • The initial value of FishEgg be the mean value X0 assumed for the first normal distribution of CMA-ES.
  • FishAttr now allows you to specify the optimization direction for each objective function.
    • A value of 1 indicates maximization, while -1 indicates minimization.
  • BruteForceSampler
    • It is a sampler of the total number of hits.
  • Output result for TT-Design Explorer
  • Optimization state output to fishing component
  • Use component OBSOLETE feature
    • Old components are now marked "OLD" to indicate that they are older version.
  • TPE gamma setting.
    • The smaller of the number input and 10% of the completed trials is the number of trials included in L(x).
    • The higher this number, the higher the exploitation of the completed trials.

Changed

  • When outputting results from TunnyUI, even if the number of objective functions in Grasshopper does not match the number of objective functions in the result file, the results can still be output.
  • After optimization is finished, a window allows the user to choose whether to reinstate the results or not.
  • The words "reflect" and "restore" are changed to "reinstate" to match the Galapagos expression.
  • ModelNumber in the output section is changed to TrialNumber.

Fixed

  • Python install error when there is optuna dashboard process
    • Add check and kill the process method
  • Rhino7 and Rhino8 compatibility
    • There was a difference in specifications between Rhino 7 (net48) and Rhino 8 (net7) when serializing its Version to JSON for saving settings.
  • Optuna-Dashboard doesn't work when artifact-dir contains space.
  • Fixed an error when there is no file in the path specified in FishPrintByPath.
  • Rhino crashes when reinstating a value to a slider if the categorical value is a number.
  • MessageBox is now not below the back of Grasshopper window.

Security

  • Bump scikit-learn 1.3.1 => 1.5.0

Related PR

  • Feature/improve python installer by @hrntsm in #292
  • Fix Optuna-Dashboard issue with artifact directory containing spaces by @hrntsm in #294
  • Feature/cmaes x0 by @hrntsm in #296
  • Feature/direction settings by @hrntsm in #297
  • Fix FishPrintByPath.cs to handle empty and non-existent file paths by @hrntsm in #298
  • Add bruteforce sampler by @hrntsm in #299
  • Feature/support tt designexplorer by @hrntsm in #300
  • Feature/add design explorer submodule by @hrntsm in #301
  • Fix hitl exception with _stop_study by @hrntsm in #302
  • Fix design explorer image does note showing with study id over 1 by @hrntsm in #303
  • Feature/output opt information by @hrntsm in #305
  • Featura/add reinstate button by @hrntsm in #308
  • Featura/add tpe gamma settings by @hrntsm in #309
  • Feature/update scikit learn by @hrntsm in #310
  • Release v0.12.0 by @hrntsm in #311

Full Changelog: v0.11.1...v0.12.0

Tunny v0.11.1

10 May 05:16
da8c4d1
Compare
Choose a tag to compare

Added

  • Ignore duplicate sampling setting

Changed

  • Bump optuna library
    • optuna 3.6.0 => 3.6.1
    • optuna-dashboard 0.15.0 => 0.15.1

Fixed

  • ConstructFishAttr input name off by one error

What's Changed

Full Changelog: v0.11.0...v0.11.1

Tunny v0.11.0

20 Mar 10:34
585ca02
Compare
Choose a tag to compare

Release note

リリースノート
Release Note

Added

  • Bone Fish component
    • It is Tunny UI less mode component.
  • Categorical optimization.
    • Sample gh file also added
  • Log output.
    • Improved ease of support.
  • Log level selector.
    • It is located in the Misc tab of the Settings tab.
    • There are three levels: "Verbose," "Debug," and "Information.
  • New GP sampler support
    • This is related optuna 3.6
  • Sample python code to create a gif animation.
  • Tunny.Core csproj for improve develop environment.
  • CI build with python.

Changed

  • DeconstructFish component output
    • To support categorical optimization, the variable output was split from "Variables" into "NumberVariables" and "TextVariables".
  • Move FishPrint component to Print subcategory
  • Move Construct & Deconstruct component ot Operation subcategory
  • Use optuna.csproj sqlite handler instead of tunny.storage
  • Improve result fish output to use new storage handler
    • The handler is independent from python process.
  • Human in the loop mode support log storage format.
  • Allows clustering with any combination of variables and objective function.
  • Speedup optimization.
    • Do not recalculate irrelevant components.
    • Previously, all components were recalculated for each trial, but this has been changed so that components not involved in optimization are not recalculated
  • Bump Python library
    • optuna-dashboard 0.14 to 0.15
      • csv can be downloaded from the trial table.
      • The Pareto Front and History plots can jump to the corresponding trial page when click dot plot.
      • Settings have been added to change the appearance of the plots.
      • When uploading surfaces with no thickness to Artifacts, both sides are rendered.
      • Human-in-the-loop works with journal storage
      • Fix overflow when preferential optimization
      • see more detail
    • optuna 3.5 to 3.6
      • New GP sampler support
      • Fixed bug in parallelization in log files
      • see more detail

Fixed

  • When launching a window, if all the objectives are null, the window will not launch.
  • Empty 3dm is always saved even if you want to save only images in artifact.
  • FishEgg feature does not work.
  • Fish Print by capture timing
    • Viewport capture at the end of all Grasshopper processing.

Related PR

Full Changelog: v0.10.0...v0.11.0

v0.11.0-beta.3

28 Feb 03:56
Compare
Choose a tag to compare
v0.11.0-beta.3 Pre-release
Pre-release
  • Fix Human in the loop does not work

Full Changelog: v0.11.0-beta.2...v0.11.0-beta.3

Tunny v0.11.0-beta.2

28 Feb 00:27
2965b6b
Compare
Choose a tag to compare
Tunny v0.11.0-beta.2 Pre-release
Pre-release

Fix

  • Clustering plot

What's Changed

Full Changelog: v0.11.0-beta.1...v0.11.0-beta.2

Tunny v0.11.0-beta.1

18 Feb 11:10
40e3a57
Compare
Choose a tag to compare
Tunny v0.11.0-beta.1 Pre-release
Pre-release

Experimental feature; Optimization without UI "Bone Fish Component"

  • Implemented a BoneFish component that can be optimized without UI.
    • This is a beta release as it is a experimental feature.
  • If the Start input is set to True, optimization is performed.
  • Optimization stops when the Stop input becomes False, or after a defined number of optimizations, or after a certain amount of time has elapsed.
    • Optimization settings reflect those set in the UI of the component that performs normal optimization.
    • The UI settings are saved when the Tunny window is closed.
    • You can also right-click on the BoneFish component and open the configuration file in a text editor, but this is for experts.
image image
  • Sample files are included in the sample folder. Please refer to them.
    • "optimize_without_ui.gh"
  • This is a very experimental feature. I welcome your feedback to make it a better feature.

What's Changed

  • Feature logger by @hrntsm in #232
  • Support categorical optimization by @hrntsm in #233
  • Feature/add all method to debug log by @hrntsm in #237
  • Fix to run python install when new tunny version by @hrntsm in #238
  • Fix SaveAllArtifacts method to conditionally save artifacts by @hrntsm in #239
  • Feature/add git animation python sample by @hrntsm in #240
  • Feature/add tunny.core proj by @hrntsm in #241
  • Add Bone Fish component which Tunny UI less component by @hrntsm in #242
  • Feature/codecov by @hrntsm in #243
  • Feature/add sqlite handler in optuna csproj by @hrntsm in #244
  • Update BoneFish to speedup result output by @hrntsm in #245
  • Fix Tunny optimization environment check by @hrntsm in #246

Full Changelog: v0.10.0...v0.11.0-beta.1

Tunny v0.10.0

27 Jan 07:46
2cfe2b7
Compare
Choose a tag to compare

Changed

  • Use new JournalStorage handler to improve stability.
    • old format journal storage result new can open in tunny.

Fixed

  • Does not work when human-in-the-loop continues.
  • Error when reading older versions of JournalStorage.
  • without constraint notification timing when output result.
  • in-memory optimization result saving error.

Related PR

New Contributors

Full Changelog: v0.9.1...v0.10.0

Tunny v0.9.1

30 Dec 07:53
06bd974
Compare
Choose a tag to compare

Summary

Preferential optimization

image

support artifact input

image

Added

  • The seed value can be specified in BayesianOptimization(GP).
  • Support optuna artifact feature.
    • GeometryBase & FishPrint & file path are supported.
  • Allows Trial to FAIL.
    • In contrast to the constraint, if the value of the objective function cannot be obtained properly due to divergence of the solution or other reasons, it can be reflected in the trial.
    • It works by inputting a bool value in the Attributes with the key "IsFAIL".
  • Preferential optimization support.
    • Human-in-the-loop optimization with PreferentialOptimization for single-objective images, and human-in-the-loop optimization with sliders for multi-objective images.

Changed

  • Tunny Python runtime environment location to [UserProfile]/.tunny_env
  • Moved settings file location to [UserProfile]/.tunny_env
  • Storage's default path to the desktop.
    • Previously, it was in the same folder as the Tunny component .gha file.
  • Default StudyName set to empty.
    • If you don't input a name in Tunny UI, study Name using GUID will be automatically inserted.

Fixed

  • The seed value of the sampler was not used.
  • Failure to launch Optuna-Dashboard from tab.

Related PR

New Contributors

Full Changelog: v0.8.2...v0.9.0

Tunny v0.9.0

30 Dec 06:34
0f02144
Compare
Choose a tag to compare

THIS RELEASE HAS FATAL ERROR. DO NOT USE.

Related PR

New Contributors

Full Changelog: v0.8.2...v0.9.0

Tunny v0.8.2

04 Sep 13:17
d101e78
Compare
Choose a tag to compare

Changed

  • Stopped putting built files together in gha.
    • Because some people did not work in some environments
  • If the objective function contains null for 10 consecutive times, optimization is stopped.
  • Update python lib
    • bump up optuna v3.3 & optuna-dashboard v0.12.0 & some library

Fixed

  • NSGA-III supports constraints, but was getting a message that constraints are not taken into account

Related PR

Full Changelog: v0.8.1...v0.8.2