Skip to content

Commit

Permalink
add nullnormalization for disabling normalizations
Browse files Browse the repository at this point in the history
  • Loading branch information
jbytecode committed Mar 12, 2024
1 parent bec4b44 commit 37b70c5
Show file tree
Hide file tree
Showing 5 changed files with 194 additions and 155 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
### 0.7.14 (Upcoming release)
### 0.7.15 (Upcoming Release)


### 0.7.14

- Implement nullnormalization for disabling normalization

### 0.7.13

Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "JMcDM"
uuid = "358108f5-d052-4d0a-8344-d5384e00c0e5"
authors = ["Mehmet Hakan Satman (jbytecode) <[email protected]>", "Bahadir Fatih Yildirim <[email protected]>", "Ersagun Kuruca"]
version = "0.7.13"
version = "0.7.14"

[deps]
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
Expand Down
10 changes: 10 additions & 0 deletions src/normalizations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ module Normalizations

import ..Utilities: normalize, colmins, colmaxs

"""
nullnormalization(data::Matrix, fns)::Matrix
Default normalization method for disabling normalization
"""
function nullnormalization(data::Matrix, fns)::Matrix
return data
end


"""
vectornormnormalization(data::Matrix, fns)::Matrix
Expand Down
14 changes: 7 additions & 7 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import JMcDM.Game: game
import JMcDM.DataEnvelop: dataenvelop
import JMcDM.SECA: seca

const testGreyNumbers = true
const testUtilityFunctions = true
const testMCDMFunctions = true
const testSCDMFunctions = true
const testLPBasedFunctions = true
const testGreyMCDMFunctions = true
const testSummary = true
const testGreyNumbers = true
const testUtilityFunctions = true
const testMCDMFunctions = true
const testSCDMFunctions = true
const testLPBasedFunctions = true
const testGreyMCDMFunctions = true
const testSummary = true

if testGreyNumbers
@info "Grey Numbers tests ..."
Expand Down
Loading

2 comments on commit 37b70c5

@jbytecode
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/102718

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.7.14 -m "<description of version>" 37b70c5093d4db466597d6a91635d7e1ef0bae37
git push origin v0.7.14

Please sign in to comment.