Code Monkey home page Code Monkey logo

Comments (1)

fangq avatar fangq commented on June 2, 2024

I tried your data with the latest jsonlab, it worked fine. can you update your jsonlab and try again?

>> load testubj
>> gp

gp = 

  struct with fields:

       fitness: [1×1 struct]
         genes: [1×1 struct]
          info: [1×1 struct]
         nodes: [1×1 struct]
     operators: [1×1 struct]
    runcontrol: [1×1 struct]
     selection: [1×1 struct]
       treedef: [1×1 struct]
      userdata: [1×1 struct]

>> savebj('',gp)

ans =

    '{U�fitness{U�ArchiveTypeU�U�Complexity_WeightU�U	NL_weightU�U�aboutSU�Fitness-objective functionU
     complexityMaxuô�U�complexityMeasureU�U�labelSU�FitnessUminimisationTU�nonlinearityMaxU U�nonlinearityMeasureU�U
     paretoMeasureU�U	terminateFU�terminate_valueD      ðÿypredMaxD      ð�ypredMinD      ðÿ}U�genes{U�aboutSU	MultigeneU	max_genesU�U	multigeneTU	operators{U
     p_cross_hiD������É?U
     hi_cross_rateD      à?}}U�info{U�duplicatesRemovedTfilteredFU
     lastFilterZU�mergedFU�mergedPopSizesZU�versionSU�testUversion_dateSU�28-Mar-2022}U�nodes{U�aboutSU�Node configurationU�const{U�aboutSU�Ephemeral random constantsU�num_dec_placesU�U�p_ERCD������¹?U�p_intU U�range[$i#U�ö
     }U	functions{U�aboutSU�Function nodesU�activeZU�arityZU�name[SU�timesSU�minusSU�plusSU�rdivideSU�squareSU�shiftSU�scaleSU�negSU�invertSU�power]UuseProtectedU U�userealU�U�userealname[SU�shiftSU�scaleSU�power]}U�inputs{U�num_inpZU�namesZ}U�output{U�nameCy}}U	operators{U�aboutSU�Genetic operatorsU�branchSizeLimitU U	crossover{U�p_crossDffffffæ?}U�directrepro{p_directD{�®Gáz�?}mutation{gaussian{U�std_devD������¹?}U
     mutate_par[$D#U�ffffffæ?������É?������©?������©?                        p_mutateDìQ¸��ëÑ?}}U
     runcontrol{U�aboutSU�Run controlU�num_casU�U�num_genU2parallel{U�autoTU�enableTU�okFU
     numWorkersU autosizeT}pop_sizeUdU�quietTU�runsU�savefreqU U�showBestInputsFU�showValBestInputsFU�suppressConfigTU�timeoutD      ð�usecacheTU�verboseU
     U
     usearchiveU�U�optiarchiveU�U�archiveSizeLimitU U�PlotRunT}U	selection{U�aboutSU	SelectionU�elite_fractionD333333Ã?U
     tournament{U�sizeU�U�sizearchiveU�Ulex_pressureTp_paretoU }}U�treedef{U�aboutSU
     Tree buildingUbuild_methodU�U	max_depthUU�max_mutate_depthU�U	max_nodesD      ð�}userdata{U
     bootSampleFU�nameSMymodelsU
     showgraphsU�U�statsTuser_fcnZ}}'

>> a=loadbj(savebj('',gp))

a = 

  struct with fields:

       fitness: [1×1 struct]
         genes: [1×1 struct]
          info: [1×1 struct]
         nodes: [1×1 struct]
     operators: [1×1 struct]
    runcontrol: [1×1 struct]
     selection: [1×1 struct]
       treedef: [1×1 struct]
      userdata: [1×1 struct]

from jsonlab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.